nodescad

1.1.0 • Public • Published

NodeSCAD

Node.js wrapper for OpenSCAD

Installation

$ npm install nodescad

Usage

var nodescad = require('nodescad'),
    options = {
        binaryPath: '~/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD'
        inputFile: 'path/to/file'
        // For more options check out the configSchema.yaml file
    }
 
 
nodeScad.render(options, function (error, result) {
    if (error)
        throw error
 
    console.log(result.buffer.toString())
})

Styleguide

The code in this repository is formatted as seen in github.com/style-guides/JavaScript/tree/v0.1.1

In order to check whether the code complies to the styleguide, just execute npm run prepublish.

/nodescad/

    Package Sidebar

    Install

    npm i nodescad

    Weekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • adius