diff options
author | Michael Schwarz <michi.schwarz@gmail.com> | 2014-12-10 22:13:34 +0100 |
---|---|---|
committer | Michael Schwarz <michi.schwarz@gmail.com> | 2014-12-10 22:13:34 +0100 |
commit | 8e5a1520cd5e901f514c382ad17e77d64727896a (patch) | |
tree | 184de9647c4776669f54fabf72e6f1f4bf2253a3 | |
parent | 785aec3aa6e2deda9acfefa8a9114ea3e7d39f44 (diff) | |
download | pogojig-8e5a1520cd5e901f514c382ad17e77d64727896a.tar.gz pogojig-8e5a1520cd5e901f514c382ad17e77d64727896a.tar.bz2 pogojig-8e5a1520cd5e901f514c382ad17e77d64727896a.zip |
Moved DXF export scripts to separate directory.
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | support/dxf_export/__init__.py | 0 | ||||
-rw-r--r-- | support/dxf_export/__main__.py (renamed from dxf_export/__main__.py) | 0 | ||||
-rwxr-xr-x | support/dxf_export/better_dxf_outlines.py (renamed from dxf_export/better_dxf_outlines.py) | 0 | ||||
-rwxr-xr-x | support/dxf_export/bezmisc.py (renamed from dxf_export/bezmisc.py) | 0 | ||||
-rwxr-xr-x | support/dxf_export/cspsubdiv.py (renamed from dxf_export/cspsubdiv.py) | 0 | ||||
-rwxr-xr-x | support/dxf_export/cubicsuperpath.py (renamed from dxf_export/cubicsuperpath.py) | 0 | ||||
-rwxr-xr-x | support/dxf_export/dxf_templates.py (renamed from dxf_export/dxf_templates.py) | 0 | ||||
-rwxr-xr-x | support/dxf_export/ffgeom.py (renamed from dxf_export/ffgeom.py) | 0 | ||||
-rwxr-xr-x | support/dxf_export/inkex.py (renamed from dxf_export/inkex.py) | 0 | ||||
-rwxr-xr-x | support/dxf_export/simplepath.py (renamed from dxf_export/simplepath.py) | 0 | ||||
-rwxr-xr-x | support/dxf_export/simplestyle.py (renamed from dxf_export/simplestyle.py) | 0 | ||||
-rwxr-xr-x | support/dxf_export/simpletransform.py (renamed from dxf_export/simpletransform.py) | 0 |
13 files changed, 2 insertions, 1 deletions
@@ -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 diff --git a/support/dxf_export/__init__.py b/support/dxf_export/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/support/dxf_export/__init__.py diff --git a/dxf_export/__main__.py b/support/dxf_export/__main__.py index ea6c7ad..ea6c7ad 100644 --- a/dxf_export/__main__.py +++ b/support/dxf_export/__main__.py diff --git a/dxf_export/better_dxf_outlines.py b/support/dxf_export/better_dxf_outlines.py index 19ec6c8..19ec6c8 100755 --- a/dxf_export/better_dxf_outlines.py +++ b/support/dxf_export/better_dxf_outlines.py diff --git a/dxf_export/bezmisc.py b/support/dxf_export/bezmisc.py index e663fa6..e663fa6 100755 --- a/dxf_export/bezmisc.py +++ b/support/dxf_export/bezmisc.py diff --git a/dxf_export/cspsubdiv.py b/support/dxf_export/cspsubdiv.py index c34236a..c34236a 100755 --- a/dxf_export/cspsubdiv.py +++ b/support/dxf_export/cspsubdiv.py diff --git a/dxf_export/cubicsuperpath.py b/support/dxf_export/cubicsuperpath.py index af61acb..af61acb 100755 --- a/dxf_export/cubicsuperpath.py +++ b/support/dxf_export/cubicsuperpath.py diff --git a/dxf_export/dxf_templates.py b/support/dxf_export/dxf_templates.py index fb26632..fb26632 100755 --- a/dxf_export/dxf_templates.py +++ b/support/dxf_export/dxf_templates.py diff --git a/dxf_export/ffgeom.py b/support/dxf_export/ffgeom.py index 1983586..1983586 100755 --- a/dxf_export/ffgeom.py +++ b/support/dxf_export/ffgeom.py diff --git a/dxf_export/inkex.py b/support/dxf_export/inkex.py index e487822..e487822 100755 --- a/dxf_export/inkex.py +++ b/support/dxf_export/inkex.py diff --git a/dxf_export/simplepath.py b/support/dxf_export/simplepath.py index f62b1b4..f62b1b4 100755 --- a/dxf_export/simplepath.py +++ b/support/dxf_export/simplepath.py diff --git a/dxf_export/simplestyle.py b/support/dxf_export/simplestyle.py index 3ec971e..3ec971e 100755 --- a/dxf_export/simplestyle.py +++ b/support/dxf_export/simplestyle.py diff --git a/dxf_export/simpletransform.py b/support/dxf_export/simpletransform.py index 47cc61e..47cc61e 100755 --- a/dxf_export/simpletransform.py +++ b/support/dxf_export/simpletransform.py |