Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@jscad/stl-serializer

1.0.0-pre-V2.0 • Public • Published

@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.serialize(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)

install

npm i @jscad/stl-serializer

Downloadsweekly downloads

272

version

1.0.0-pre-V2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability