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/README.md

1.1 KiB

@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)