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]
This function handles changing the material of a specified lane. It retrieves the lane specified by the 'LANE' parameter and sets its material to the value provided by the 'MATERIAL' parameter.
Values
MATERIAL - Material type to set to lane. eg. PLA, ASA, ABS, PETG etc.
Optional Values
DENSITY - Density value to assign to lane. If this is not provided then a default value will be selected based of material. Current default values: PLA: 1.24, PETG:1.23, ABS:1.04, ASA:1.07 DIAMETER - Diameter of filament, defaults to 1.75 EMPTY_SPOOL_WEIGHT - Weight of spool once its empty. Defaults to 190.
Usage
SET_MATERIAL LANE=<lane> MATERIAL=<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]