This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz/papercraft/openjscad/node_modules/@jscad/svg-deserializer
2020-09-10 14:36:01 +02:00
..
CHANGELOG.md Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00
constants.js Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00
helpers.js Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00
index.js Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00
package.json Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00
README.md Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00
shapesMapCsg.js Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00
shapesMapJscad.js Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00
svgElementHelpers.js Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00
test.js Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00

@jscad/svg-deserializer

svg deserializer for the jscad project

npm version Build Status

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

License

The MIT License (MIT) (unless specified otherwise)