Represents a complete print job containing paths, layers, and state
Manages the collection of paths, organizes them into layers and tools, and tracks the current print state
Creates a new Job instance
Job options
Optional
Minimum layer height threshold (default: LayersIndexer.DEFAULT_TOLERANCE)
Initial state (default: State.initial)
Current in-progress path
All paths in the job
Current print state
Gets all extrusion paths in the job
Array of extrusion paths
Gets all layers in the job
Array of Layer objects
Gets paths organized by tool
2D array of paths, where each sub-array contains paths for a specific tool
Gets all travel paths in the job
Array of travel paths
Adds a path to the job and indexes it
Path to add
Finalizes the current in-progress path
If the in-progress path has vertices, it will be added to the job and the in-progress path reference will be cleared
Checks if the job contains planar layers
True if the job contains at least one layer, false otherwise
Resumes the last path from the job as the current in-progress path
Removes the path from all indexes and sets it as the current in-progress path
Represents a complete print job containing paths, layers, and state
Remarks
Manages the collection of paths, organizes them into layers and tools, and tracks the current print state