OptionalextrusionWidth of extruded material, or undefined when slicer metadata provided none
OptionallayerIndex of the layer this path belongs to, set by the LayersIndexer; undefined for non-planar jobs
OptionallineHeight of extruded line, or undefined when slicer metadata provided none
Tool number used for this path
Type of path movement
Static ReadonlyDEFAULT_Default extrusion width, used when neither the path nor the renderer supplies one
Static ReadonlyDEFAULT_Default line height, used when neither the path nor the renderer supplies one
Gets the path's vertices as a flat array of numbers
Array of vertex coordinates in [x,y,z] order
Adds a new point to the path
X coordinate
Y coordinate
Z coordinate
Checks if a point continues the current line
X coordinate to check
Y coordinate to check
Z coordinate to check
True if the point matches the last point in the path
Creates a 3D geometry from the path
Geometry options
OptionalextrusionWidthFallback?: numberWidth for a path that carries none of its own
OptionallineHeightFallback?: numberHeight for a path that carries none of its own
BufferGeometry representing the path
Creates a line geometry from the path
LineSegmentsGeometry representing the path
Converts the path's vertices to an array of Vector3 points
Array of Vector3 points
Splits the path into its final segment and the body that precedes it.
The last two points as segment, and everything up to and including
the segment's first point as body (null when the path is a single segment).
Both carry this path's travel type, extrusion settings and tool.
Represents a path in 3D space with associated properties
Remarks
Used to store and manipulate G-code path data including vertices, extrusion parameters, and tool information