Michael Schwarz
987fa08ce6
New workaround for temp dir on different device.
...
Currently, on setups where the project dir is on a different file system as the system temporary directory, a temporary directory is instead created on the project dir. This is not very nice.
With this change, we still create temporary files in the system temporary directory but copy instead of move files from and to the temporary directory, if necessary, which solves the problems.
2015-09-16 01:40:00 +02:00
Michael Schwarz
63632560b6
Revert "support: Workaround for tempdir on different mount."
...
This reverts commit 3d21efd489 .
2015-09-15 18:59:35 +02:00
Michael Schwarz
853c56a38b
Fixed automatism which clobbered file name extensions.
2015-08-27 15:30:31 +02:00
Michael Schwarz
478c3df1f1
Fixed make warning.
...
This fixes a bug producing warnings like the following:
Makefile:91: target 'src/cube.pdf' given more than once in the same rule
2015-08-27 15:30:31 +02:00
Michael Schwarz
75af06b93e
Makefile: Fixed a potential bug which would include too many files.
2015-08-27 15:30:31 +02:00
Michael Schwarz
55e6362bb6
Updated readme for new features.
2015-08-14 16:07:35 +02:00
Michael Schwarz
7dc8da588e
Asymptote export: Call variable with all paths all.
2015-08-10 21:38:10 +02:00
Michael Schwarz
a2ce9df576
Makefile: Fixed missing dependencies.
...
Asymptote and OpenSCAD targets would not include intermediate files in their dependencies.
2015-08-08 21:56:03 +02:00
Michael Schwarz
2034cdd369
Inkscape export: Removed stray semicolon in exported Asymptote files.
2015-08-07 02:03:50 +02:00
Michael Schwarz
51d896929e
Inkscape export: Fix elliptical arcs not being closed.
2015-08-07 02:03:47 +02:00
Michael Schwarz
3971ddf256
Reworked make file.
...
This time to remove duplicate functionality in generating list of different products.
2015-08-07 02:03:38 +02:00
Michael Schwarz
6c1fefff1b
Makefile: Fix duplicate dependency warning.
2015-08-07 02:03:36 +02:00
Michael Schwarz
5a1604ce20
Use Python script to run Asymptote.
2015-08-07 02:03:33 +02:00
Michael Schwarz
6bce36b6ed
Inkscape export: Fix wrong units in Asymptote export.
...
The generate asymptote file would use the Inkscape document coordinates but Asymptote always uses PostScript points.
2015-08-07 02:03:28 +02:00
Michael Schwarz
0b1113d503
Inkscape export: Use original file name for temp file.
...
Because we can.
2015-08-07 02:03:20 +02:00
Michael Schwarz
4a103f6dba
Integrated Asymptote compilation into makefile.
2015-08-06 16:32:59 +02:00
Michael Schwarz
e2d477640f
Inkscape export: Support to export to Asymptote.
2015-08-06 16:32:59 +02:00
Michael Schwarz
b34b948f0a
Reworked Inkscape command line generation.
...
The old version was brittle and made conditional operations hard.
2015-08-06 16:32:59 +02:00
Michael Schwarz
14f078c821
Inkscape export: Renamed module to inkscape.
...
This module will later be used for other export types than just DXF.
2015-08-06 16:32:59 +02:00
Michael Schwarz
c451c40dd2
DXF export: Not tied to exporting to DXF anymore.
2015-08-06 16:32:58 +02:00
Michael Schwarz
ac795218d3
Inkscape export: Optionally don't transform strokes to shapes.
2015-08-06 16:32:58 +02:00
Michael Schwarz
7a1f69c474
Simplified makefile.
2015-08-06 16:32:58 +02:00
Michael Schwarz
3d21efd489
support: Workaround for tempdir on different mount.
...
This adds a workaround for setups where the user has checked out the project on a different mount point than where the temporary directory is located.
2015-07-12 18:57:21 +02:00
Michael Schwarz
8d697f0784
dxf export: Use different colors for layers.
...
With this change, different colors are assigned to shapes. Shapes on the same layer get the same color. This allows them to be grouped by color by software that doesn’t support layers (e.g. Lasercut 5.3).
2015-03-21 12:45:45 +01:00
Michael Schwarz
fb72dca77a
Fix make jobserver warning.
...
When running the make file with a number of jobs, the following warning was generated by the make process used to parse the dependency makefile generated by OpenSCAD:
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
With this change, the variables MAKELEVEL and MAKEFLAGS are removed from the environment before starting the child make process.
2015-03-15 16:34:59 +01:00
Michael Schwarz
e232c40ef7
Compile OpenSCAD files to DXF.
...
This adds support to selectively compile some OpenSCAD files to DXF instead of STL.
2015-03-15 12:12:01 +01:00
Michael Schwarz
b81d257127
Fixed text on path export.
...
This fixes exporting SVG files which contain text on a path where the path is on a different layer than the text (which is necessary unless the path should also be combined with the text in a single layer).
2015-03-15 12:12:01 +01:00
Michael Schwarz
e03689f0ff
Moved .gitignore rules to top level.
...
This moves all ignore rules to the .gitignore files in the root directory. This is so that users can edit the .gitignore file in src without the risk of merge conflicts if we ever need to edit the default rules.
src/.gitignore is now empty but is left in the repository so that the src directory is automatically created on checkout.
2015-03-14 16:26:44 +01:00
Michael Schwarz
7e904b6055
Grammar and convoluted language in readme.
...
This fixes #1 .
2015-03-09 22:51:58 +01:00
Michael Schwarz
8aed3f708b
Converted readme to Markdown.
...
This fixes #5 .
2015-03-09 22:15:44 +01:00
Michael Schwarz
dc6284662b
Added makefile targets to build the project to a certain step.
2015-03-09 18:29:49 +01:00
Michael Schwarz
ff502f1d22
Fixed failure when settings.mk or config.mk doesn't exist.
2015-03-08 14:06:50 +01:00
Michael Schwarz
36c4355735
Re-compile on makefile change.
2015-03-07 12:24:57 +01:00
Michael Schwarz
09b8f8c126
Support for setting the DXF export quality.
2015-03-07 12:24:55 +01:00
Michael Schwarz
b424b1bf75
makefile: Call find only once.
2015-03-07 12:23:59 +01:00
Michael Schwarz
c6ebf8db53
Added a warning for when the src directory contains files with spaces in their names.
2015-03-07 12:23:59 +01:00
Michael Schwarz
8831bc8ae8
Fixed a link.
2015-02-26 12:14:46 +01:00
Michael Schwarz
839e312dff
Changed title.
2015-02-26 12:11:54 +01:00
Michael Schwarz
c4cd6f8c3d
Added explanation for required Inkscape version.
2015-02-26 11:33:48 +01:00
Michael Schwarz
fb1243f569
Added a section describing the repository structure to the readme.
2014-12-25 16:02:39 +01:00
Michael Schwarz
d08e4be25f
Merge branch 'master' into no-examples
...
Conflicts:
.gitignore
2014-12-25 15:16:42 +01:00
Michael Schwarz
bdf3ae0ae3
Updated the readme to describe all the new features.
2014-12-25 15:13:51 +01:00
Michael Schwarz
72eca42f2d
Workaround for OpenSCAD sometimes writing an empty STL file when it crashes.
2014-12-21 19:33:33 +01:00
Michael Schwarz
edaab74f68
Added a .gitignore file to the src directory so it will be created when cloning the repository.
2014-12-21 14:16:02 +01:00
Michael Schwarz
dde79ab4b2
Removed some unused imports in the scripts copied from the Inkscape distribution.
2014-12-21 02:15:45 +01:00
Michael Schwarz
c74efa59dc
Rewritten unit conversion methods of inkex.py to properly handle viewport settings.
2014-12-21 02:15:45 +01:00
Michael Schwarz
e309a206be
Removed some unused imports in the scripts copied from the Inkscape distribution.
2014-12-21 02:14:39 +01:00
Michael Schwarz
eb74f4e6d9
Fixed DXF plugin to work with new inkex library.
2014-12-20 21:12:55 +01:00
Michael Schwarz
30487e03f4
Upgraded Python files copied from the Inkscape distribution to those from version 0.91.99.13724.
2014-12-20 21:12:50 +01:00
Michael Schwarz
2433482b87
Revert "Added more example files to showcase dependency tracking."
...
This reverts commit b690038009 .
2014-12-12 18:08:41 +01:00