.. | ||
CHANGELOG.md | ||
constants.js | ||
helpers.js | ||
index.js | ||
package.json | ||
README.md | ||
shapesMapCsg.js | ||
shapesMapJscad.js | ||
svgElementHelpers.js | ||
test.js |
@jscad/svg-deserializer
svg deserializer for the jscad project
Overview
This deserializer converts raw svg data to jscad code (that can be evaluated to CSG/CAG).
Table of Contents
Installation
npm install @jscad/svg-deserializer
Usage
const svgDeSerializer = require('@jscad/svg-deserializer').deserialize
const rawData = fs.readFileSync('PATH/TO/file.svg')
const csgData = svgDeSerializer(rawData)
Contribute
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.
Acknowledgements
OpenJSCAD and its sub components are built upon great open source work, contribution & modules.
Sponsors
- The upgrades (direct CSG output from this deserializer) and refactoring have been very kindly sponsored by Copenhagen Fabrication / Stykka
License
The MIT License (MIT) (unless specified otherwise)