Moved DXF export scripts to separate directory.
This commit is contained in:
parent
785aec3aa6
commit
8e5a1520cd
13 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -1,5 +1,6 @@
|
|||
INKSCAPE ?= inkscape
|
||||
OPENSCAD ?= openscad
|
||||
PYTHON ?= python2
|
||||
|
||||
# Used by dxf_export/main.sh
|
||||
export INKSCAPE
|
||||
|
|
@ -36,7 +37,7 @@ $(foreach i,$(COMPILED_SCAD_FILES),$(eval $(i): $(filter $(dir $(i))%,$(LIBRARY_
|
|||
|
||||
# Rule to convert an SVG file to a DXF file.
|
||||
%.dxf: %.svg
|
||||
python2 dxf_export $< $@
|
||||
PYTHONPATH="support:$$PYTHONPATH" $(PYTHON) -m dxf_export $< $@
|
||||
|
||||
# Rule to compile an OpenSCAD file to an STL file.
|
||||
%.stl: %.scad
|
||||
|
|
|
|||
0
support/dxf_export/__init__.py
Normal file
0
support/dxf_export/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue