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/gcode-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
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
test.js Added option for labels/no labels (Papercraft Unfold) 2020-09-10 14:36:01 +02:00

@jscad/gcode-deserializer

gcode deserializer for the jscad project

npm version Build Status

Overview

This deserializer converts raw gcode data to jscad code (that can be evaluated to CSG/CAG).

Table of Contents

Installation

npm install @jscad/gcode-deserializer

Usage

const gcodeDeSerializer = require('@jscad/gcode-deserializer')

const rawData = fs.readFileSync('PATH/TO/file.gcode')
const csgData = gcodeDeSerializer(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.

License

The MIT License (MIT) (unless specified otherwise)