makefile ready!
This commit is contained in:
parent
8208b0d168
commit
2aedbe25f0
6 changed files with 22363 additions and 8 deletions
11
sox/Makefile
11
sox/Makefile
|
@ -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
4062
sox/insignia.dxf
Normal file
File diff suppressed because it is too large
Load diff
4872
sox/logo.dxf
Normal file
4872
sox/logo.dxf
Normal file
File diff suppressed because it is too large
Load diff
6
sox/logo.scad
Normal file
6
sox/logo.scad
Normal 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
13414
sox/logo.stl
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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");
|
||||
}
|
Loading…
Add table
Reference in a new issue