Spool Commands
Spool Related Commands¶
These commands are used to manage the spool and its properties. This allows for tracking filament usage if you are not using a spool tracking system such as Spoolman.
[SET_MAP]
[SET_COLOR]
This function handles changing the color of a specified lane. It retrieves the lane specified by the 'LANE' parameter and sets its color to the value provided by the 'COLOR' parameter. The 'COLOR' parameter should be a hex color code.
Usage
SET_COLOR LANE=<lane> COLOR=<color>
[SET_WEIGHT]
This function handles changing the weight remaining of a spool loaded in a specified lane. It retrieves the lane specified by the 'LANE' parameter and sets its weight to the value provided by the 'WEIGHT' parameter.
Usage
SET_WEIGHT LANE=<lane> WEIGHT=<weight>
[SET_MATERIAL]
[SET_SPOOL_ID]
This function handles setting the spool ID for a specified lane. It retrieves the lane specified by the 'LANE' parameter and updates its spool ID, material, color, and weight based on the information retrieved from the Spoolman API.
Usage
SET_SPOOL_ID LANE=<lane> SPOOL_ID=<spool_id>
[SET_RUNOUT]
This function handles setting the runout lane (infinite spool) for a specified lane. It retrieves the lane specified by the 'LANE' parameter and updates it's the lane to use if filament runs out by un-triggering prep sensor.
Usage
SET_RUNOUT LANE=<lane> RUNOUT=<lane>
[RESET_AFC_MAPPING]