json deserializer for the jscad project
This deserializer converts raw json data to jscad code (that can be evaluated to CSG/CAG).
npm install @jscad/json-deserializer
const jsonDeSerializer = require('@jscad/json-deserializer')
const rawData = fs.readFileSync('PATH/TO/file.json')
const csgData = jsonDeSerializer.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.
The MIT License (MIT) (unless specified otherwise)