mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-09-25 06:31:31 +02:00
Add generating SVG file for CNC usage
Generate SVG files, like DXF files for CNC usage
This commit is contained in:
@@ -37,3 +37,9 @@ module use_dxf(name) { //! Import a DXF to make a build panel
|
||||
path = is_undef($target) ? "../dxfs/" : str($cwd, "/", $target, "/dxfs/");
|
||||
import(str(path, name, ".dxf"));
|
||||
}
|
||||
|
||||
module use_svg(name) { //! Import an SVG to make a build panel
|
||||
svg(name);
|
||||
path = is_undef($target) ? "../svgs/" : str($cwd, "/", $target, "/svgs/");
|
||||
import(str(path, name, ".svg"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user