1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-23 07:33:06 +02:00

Add generating SVG file for CNC usage

Generate SVG files, like DXF files for CNC usage
This commit is contained in:
Jeroen Roos
2024-02-04 17:32:39 +01:00
parent e3ad32713d
commit f85fdca051
12 changed files with 85 additions and 19 deletions

View File

@@ -35,7 +35,7 @@ def read_deps(dname):
for line in lines:
if line.startswith('\t'):
dep = line[1 : -1].rstrip(' \\').replace('\\ ', ' ')
if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad', 'target.scad']:
if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svg.scad', 'png.scad', 'target.scad']:
deps.append(dep)
return deps