Optional
backgroundBackground color of the preview
Optional
boundingColor for the bounding box. If undefined, the bounding box is not rendered.
Optional
buildBuild volume dimensions
Optional
canvasCanvas element to render into
Optional
devEnable developer mode with additional controls
Optional
disableDisable color gradient between layers
Optional
droppableEnable drag and drop file handling
Optional
endLast layer to render (1-based index)
Optional
extrusionColor(s) for extruded paths
Optional
extrusionWidth of extruded material
Optional
initialInitial camera position [x, y, z]
Optional
lastColor for the last segment of each path
Optional
lineHeight of extruded lines
Optional
lineWidth of rendered lines
Optional
minMinimum layer height threshold
Optional
nonList of G-code commands considered non-travel moves
Optional
renderWhether to render extrusion paths
Optional
renderWhether to render travel moves
Optional
renderRender paths as 3D tubes instead of lines
Optional
startFirst layer to render (1-based index)
Optional
toolColors for different tools
Optional
topColor for the top layer
Optional
travelColor for travel moves
Options for configuring the G-code preview