OptionalarcMaximum deviation, in millimeters, between rendered G2/G3 arcs and the true arc (default 0.05). Lower values produce smoother arcs at the cost of more geometry; higher values trade smoothness for performance.
OptionalbackgroundBackground color of the preview
OptionalboundingColor for the bounding box. If undefined, the bounding box is not rendered.
OptionalbuildBuild volume dimensions
OptionalcanvasCanvas element to render into
OptionaldevEnable developer mode with additional controls
OptionaldisableDisable color gradient between layers
OptionaldroppableEnable drag and drop file handling
OptionalendLast layer to render (1-based index)
OptionalextrusionColor(s) for extruded paths
OptionalextrusionWidth of extruded material, for paths whose width the slicer metadata did
not announce (;WIDTH: comments always win per path; built-in default 0.6)
OptionalinitialInitial camera position [x, y, z]
OptionalkeepKeep the parsed G-code source on preview.parser.lines.
OptionallastColor for the last segment of each path
OptionallineHeight of extruded lines, for paths whose height the slicer metadata did
not announce (;HEIGHT: comments always win per path; built-in default 0.2)
OptionallineWidth of rendered lines
OptionalliveHow often, in milliseconds, the paths parsed so far are drawn while a G-code stream is being read.
OptionalminMinimum layer height threshold
OptionalorthographicUse an orthographic (flat, no perspective distortion) camera instead of the default perspective camera
OptionalrenderWhether to render extrusion paths
OptionalrenderWhether to render travel moves
OptionalrenderRender paths as 3D tubes instead of lines
OptionalstartFirst layer to render (1-based index)
OptionaltopColor for the top layer
OptionaltravelColor for travel moves
Options for configuring the G-code preview