Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@jscad/svg-deserializer

0.4.3 • Public • Published

@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 cagData = svgDeSerializer.deserialize(rawData, undefined, {output: 'csg'})
 

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)

Install

npm i @jscad/svg-deserializer

DownloadsWeekly Downloads

137

Version

0.4.3

License

MIT

Unpacked Size

143 kB

Total Files

10

Last publish

Collaborators

  • avatar
  • avatar