Skip to content

ad-si/nodeslicer

Repository files navigation

NodeSlicer

Wrapper for the PrusaSlicer CLI plus additional configuration parameters.

Installation

npm install nodeslicer

Usage

import { render } from "nodeslicer"

const options = {
  inputFile: 'path/to/file.stl'
  // For more options check out the configSchema.yaml file
}

const gcode = render(options)
console.log(gcode)