Open manthrax opened 6 years ago
I've thought about this a bit more, and noticed the SVG file looks pretty easy to parse, So maybe I should just write a converter rather than changing the exporter:)
FYI - Inkscape can process SVG and there are multiple GCODE plugins to build upon.
It would be super useful to have a JSON export! This would pave the way for post processing with offline tools.. for instance generating GCODE for laser cutters or CNC machines... Custom plotting/resizing for different output devices.. It would also facilitate making a viewer in other 3d rendering engines..
A list of exterior line segments (cutting lines) and interior line segments (scoring lines).. Something like this perhaps? (I'm not exactly sure how uv coordinates would best fit into this model but I think they could probably be a separate unique sets of UVs per triangle?)