Elena 'valhalla' Grandi: A Makefile for OpenSCAD projects
A Makefile for OpenSCAD projects
When working with OpenSCAD to generate models for 3D printing, I find it convenient to be able to build .stl and .gcode files from the command line, expecially in batch, so I've started writing a Makefile, improving it and making it more generic in subsequent iterations; I've added a page on my website http://www.trueelena.org/computers/howto/makefile_for_openscad_projects.html to hosts my current version.
Most of my projects use the following directory structure.
Running make will generate stl files for all of the models; make gcode adds .gcode files using slic3r; make build/object1.stl and make build/object1.gcode also work, when just one model is needed.
This Makefile is released under the WTFPL:
When working with OpenSCAD to generate models for 3D printing, I find it convenient to be able to build .stl and .gcode files from the command line, expecially in batch, so I've started writing a Makefile, improving it and making it more generic in subsequent iterations; I've added a page on my website http://www.trueelena.org/computers/howto/makefile_for_openscad_projects.html to hosts my current version.
Most of my projects use the following directory structure.
- my_project/conf/basic.ini
slic3r configuration files - my_project/src/object1.scad, my_project/src/object2.scad
models that will be exported - my_projects/src/lib/library1.scad, my_projects/src/lib/library2.scad
OpenSCAD files that don't correnspond to a single object, included / used in the files above. - my_project/Makefile
the http://www.trueelena.org/computers/howto/makefile_for_openscad_projects/Makefile shown below.
Running make will generate stl files for all of the models; make gcode adds .gcode files using slic3r; make build/object1.stl and make build/object1.gcode also work, when just one model is needed.
# Copyright 2015 Elena Grandi
# This work is free. You can redistribute it and/or modify it under the
# terms of the Do What The Fuck You Want To Public License, Version 2,
# as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
BUILDDIR = build
CONFDIR = conf
SRCDIR = src
SLIC3R = slic3r
VPATH = $(SRCDIR):$(BUILDDIR)
STL_TARGETS = $(patsubst $(SRCDIR)/%.scad,$(BUILDDIR)/%.stl,$(wildcard $(SRCDIR)/*.scad))
GCODE_TARGETS = $(patsubst $(SRCDIR)/%.scad,$(BUILDDIR)/%.gcode,$(wildcard $(SRCDIR)/*.scad))
.PHONY: all gcode clean
all: $(STL_TARGETS)
gcode: $(GCODE_TARGETS)
$(BUILDDIR)/%.stl: %.scad $(SRCDIR)/lib/*
mkdir -p $ BUILDDIR
openscad -o $@ $<
$(BUILDDIR)/%.gcode: %.stl $ CONFDIR /basic.ini
$ SLIC3R --load $ CONFDIR /basic.ini $<
clean:
rm -f $ BUILDDIR /*.stl $ BUILDDIR /*.gcodeThis Makefile is released under the WTFPL:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
so that Google can improve their proprietary algorithms for classifying mail. If you just read or reply to a message in the folder without clicking the button, or if you don't do this for every message, including mailing list posts and other trivial notifications that are not actually spam, more important messages from the same senders will also continue to be misclassified.
If you are not willing to volunteer your time to do this, or if you are simply one of those people who has better things to do, Google's Gmail service is going to have a corrosive effect on your relationships.
A few months ago, we visited Australia and I sent emails to many people who I wanted to catch up with, including invitations to a family event. Some people received the emails in their inboxes yet other people didn't see them because the systems at Google (and other companies, notably Hotmail) put them in a spam folder. The rate at which this appeared to happen was definitely higher than the 0.05% quoted in the Google article above. Maybe the Google spam filters noticed that I haven't sent email to some members of the extended family for a long time and this triggered the spam algorithm? Yet it was at that very moment that we were visiting Australia that email needs to work reliably with that type of contact as we don't fly out there every year.
A little bit earlier in the year, I was corresponding with a few students who were applying for
Full wireless microphone kits with microphone, transmitter and receiver are usually $US500 or more.
The
Time for a quick recap of the beginning of the Stretch release cycle
as far as the Debian Installer is concerned:
Some time ago, pabs
The full changelog can be found in
Sony RX100-III
I recently got access to several ProLiant m400 ARM64 servers at work.
Since Debian is currently working on the migration to GCC 5, I thought it
would be nice to rebuild the Debian archive on ARM64 to see if GCC 5 is
ready. Fortunately, I found no obvious compiler errors.
During the process, I noticed several areas where ARM64 support can be
improved. First, a lot of packages failed to build due to missing
dependencies. Some missing dependencies are libraries or tools that have
not been ported to ARM64 yet, but the majority was due to the lack of
popular programming languages on ARM64. This requires upstream porting
work, which I'm sure is going on already in many cases. Second, over 160
packages failed to build due to out-of-date autoconf and libtool scripts.
Most of these bugs have been reported over a year ago by the
ARM64 porters (Matthias Klose from Canonical/Ubuntu and Wookey from
ARM/Linaro) and the PowerPC porters, but unfortunately they haven't been
fixed yet.
Finally, I went through all packages that list specific architectures in
debian/control and filed wishlist bugs on those that looked
relevant to ARM64. This actually prompted some Debian and upstream
developers to implement ARM64 support, which is great!
Back in 2010 when I needed an ADSL2 router in the US I bought a
Update: A Canonical employee responded
after the release is before the release. or: long time no RC bug
report.
after the
Another small update to
Just a litte update on the