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

@jscad/stl-serializer

stl serializer for the jscad project (from CSG)

npm version Build Status

Overview

This serializer outputs a 'blobable' array of data (from a CSG object) ie an array that can either be passed directly to a Blob (new Blob(blobable)) or converted to a Node.js buffer.

Table of Contents

Installation

npm install @jscad/stl-serializer

Usage

const stlSerializer = require('@jscad/stl-serializer')

const rawData = stlSerializer(CSGObject)

//in browser (with browserify etc)
const blob = new Blob(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)