2D only: preceding "ghost" layers (DD-031 E1). Construction-time; reflected accessor over the attribute.
#268/#275/M6: restore a saved pose (property-only — objects can't be attributes). Pair with the
camerachange event for two-way.
#306/#6: frame the printed 'object' (excl. skirt/prime) or 'all' extrusion.
DD-031 G3: feature roles to hide, as a comma-separated numeric list (hidden-feature-roles="6,7"
for Skirt+Brim). Declarative form of controls.setFeatureRoleVisible; gate on
capabilities.featureRoles. Import FeatureRole from @chestnutlabs/toolpath-core for the values.
#306/2 (DD-020): 'auto' reduces detail while the camera moves.
DD-014 D5 renderer selection (DD-031 E1): reflected property accessor over the renderer
attribute. Construction-time like every adapter — read once at connect; changing it after the
element is connected has no effect (mode switching post-mount is out of scope), it just keeps the
attribute and property in sync so the value is readable/consistent.
Time-based scrub cut in ms of print time (#181).
Default false; only show-retractions="true" shows markers.
Default true; only show-travel="false" hides travel.
#306/#6: build-volume cage, independent of the plate. Default true; show-volume-cage="false" hides it.
DD-016 (#182): default true; only show-wipe="false" hides slicer wipe moves.
#268/#275/M6: preset orientation attribute (top/front/iso/…).
StaticobservedCapture the current view as an image Blob (DD-030 D1). Delegates to controls.capture.
Optionalopts: CaptureOptionsOptionalopts: WireParseOptions
@chestnutlabs/gcode-preview-element — the framework-free
<gcode-preview>Web Component adapter (DD-009 D5), a thin shell over @chestnutlabs/gcode-preview-core. Registration is a function (defineGcodePreview) so the.entry stays side-effect-free; import@chestnutlabs/gcode-preview-element/defineto auto-register.