svg deserializer for the jscad project
This deserializer converts raw svg data to jscad code (that can be evaluated to CSG/CAG).
npm install @jscad/svg-deserializer
const svgDeSerializer = require('@jscad/svg-deserializer').deserialize
const rawData = fs.readFileSync('PATH/TO/file.svg')
const cagData = svgDeSerializer.deserialize(rawData, undefined, {output: 'csg'})
For questions about the API, please contact the User Group
PRs accepted.
Small Note: If editing this README, please conform to the standard-readme specification.
OpenJSCAD and its sub components are built upon great open source work, contribution & modules.
- The upgrades (direct CSG output from this deserializer) and refactoring have been very kindly sponsored by Copenhagen Fabrication / Stykka
The MIT License (MIT) (unless specified otherwise)