makefile ready!

This commit is contained in:
Ryan Voots 2012-06-24 13:04:48 -04:00
parent 8208b0d168
commit 2aedbe25f0
6 changed files with 22363 additions and 8 deletions

View file

@ -1,8 +1,12 @@
#inkscape -E intermediate.eps Gosper_Island_fill.svg
#pstoedit -dt -f dxf:-polyaslines intermediate.eps island.dxf
SVGS = logo.svg insignia.svg
OPENSCAD = /home/ryan/reprap/openscad/openscad-2011.06.linux-x86/bin/openscad
SVGS = $(wildcard *.svg)
DXFS = ${SVGS:.svg=.dxf}
SCADS = $(wildcard *.scad)
STL = ${SCADS:.scad=.stl}
%.eps: %.svg
inkscape -E $@ $<
@ -10,4 +14,7 @@ DXFS = ${SVGS:.svg=.dxf}
%.dxf: %.eps
pstoedit -dt -f dxf:-polyaslines $< $@
ALL: $(DXFS)
%.stl: %.scad $(DXFS)
$(OPENSCAD) -s $@ $<
ALL: $(STL)

4062
sox/insignia.dxf Normal file

File diff suppressed because it is too large Load diff

4872
sox/logo.dxf Normal file

File diff suppressed because it is too large Load diff

6
sox/logo.scad Normal file
View file

@ -0,0 +1,6 @@
//use <MCAD/shapes.scad>
union() {
color([0.9,0.9,0.9]) linear_extrude(height = 0.05, convexity = 10, center = false) import_dxf(file="insignia.dxf");
color([0,0,0]) translate([0.03,0.03,.025]) linear_extrude(height = 0.1, convexity = 10, center = false) import_dxf(file="logo.dxf");
}

13414
sox/logo.stl Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,6 +0,0 @@
//use <MCAD/shapes.scad>
union() {
linear_extrude(height = 0.05, convexity = 10, center = true) import_dxf(file="insignia.dxf");
translate([0,0,.07]) linear_extrude(height = 0.1, convexity = 10, center = true) import_dxf(file="logo.dxf");
}