... | @@ -134,12 +134,12 @@ This file specifies how to translate the sliced geometry to printing instruction |
... | @@ -134,12 +134,12 @@ This file specifies how to translate the sliced geometry to printing instruction |
|
| ```comment(c)``` | called when outputting a comment ```c``` |
|
|
| ```comment(c)``` | called when outputting a comment ```c``` |
|
|
| ```layer_start(z)``` | called at the start of a layer at height ```z``` |
|
|
| ```layer_start(z)``` | called at the start of a layer at height ```z``` |
|
|
| ```layer_stop()``` | called at the end of a layer |
|
|
| ```layer_stop()``` | called at the end of a layer |
|
|
| ```extruder_start()``` | called before extruding |
|
|
| ```extruder_start()``` | called before extruding |
|
|
| ```extruder_stop()``` | called after extruding |
|
|
| ```extruder_stop()``` | called after extruding |
|
|
| ```select_extruder(ext)``` | called when selecting the extruder ```ext``` |
|
|
| ```select_extruder(ext)``` | called when setting-up the extruder ```ext```. This function is called for each available extruder at the beginning of the G-Code and once for the first used extruder in the print. After this, IceSL calls ```swap_extruder``` |
|
|
| ```swap_extruder(ext1,ext2,x,y,z)``` | called when swapping extruder ```ext1``` to ```ext2``` at position ```x,y,z``` |
|
|
| ```swap_extruder(ext1,ext2,x,y,z)``` | called when swapping extruder ```ext1``` to ```ext2``` at position ```x,y,z``` |
|
|
| ```prime(ext,e)``` | called when priming from value ```e``` with extruder ```ext```. This function must return the value of the E-axis after priming |
|
|
| ```prime(ext,e)``` | called when priming from value ```e``` with extruder ```ext```. This function must return the absolute value of the E-axis after priming |
|
|
| ```retract(ext,e)``` | called when retracting from value ```e``` with extruder ```ext```. This function must return the value of the-E axis after retracting |
|
|
| ```retract(ext,e)``` | called when retracting from value ```e``` with extruder ```ext```. This function must return the absolute value of the-E axis after retracting |
|
|
| ```move_e(e)``` | called when moving the E-axis to value ```e``` with the current extruder |
|
|
| ```move_e(e)``` | called when moving the E-axis to value ```e``` with the current extruder |
|
|
| ```move_xyz(x,y,z)``` | called when traveling to ```x,y,z``` |
|
|
| ```move_xyz(x,y,z)``` | called when traveling to ```x,y,z``` |
|
|
| ```move_xyze(x,y,z,e)``` | called when traveling to ```x,y,z``` while extruding to value ```e``` |
|
|
| ```move_xyze(x,y,z,e)``` | called when traveling to ```x,y,z``` while extruding to value ```e``` |
|
... | @@ -148,8 +148,8 @@ This file specifies how to translate the sliced geometry to printing instruction |
... | @@ -148,8 +148,8 @@ This file specifies how to translate the sliced geometry to printing instruction |
|
| ```set_fan_speed(speed)``` | called when setting the part cooling fan velocity to ```speed``` |
|
|
| ```set_fan_speed(speed)``` | called when setting the part cooling fan velocity to ```speed``` |
|
|
| ```set_extruder_temperature(ext,temp)``` | called when setting the extruder ```ext``` temperature to ```temp``` |
|
|
| ```set_extruder_temperature(ext,temp)``` | called when setting the extruder ```ext``` temperature to ```temp``` |
|
|
| ```wait(sec,x,y,z)``` | called when the parameter ```enable_min_layer_time``` is set to true and the printing time for the layer is less than ```min_layer_time_sec```. ```sec``` is the remaining time to achieve ```min_layer_time_sec``` and ```x,y,z``` is where IceSL expects the head to be after the wait |
|
|
| ```wait(sec,x,y,z)``` | called when the parameter ```enable_min_layer_time``` is set to true and the printing time for the layer is less than ```min_layer_time_sec```. ```sec``` is the remaining time to achieve ```min_layer_time_sec``` and ```x,y,z``` is where IceSL expects the head to be after the wait |
|
|
| ```set_and_wait_extruder_temperature(ext,temp)``` | called when setting the extruder ```ext``` temperature to ```temp``` while waiting. Called when using multiple extruders |
|
|
| ```set_and_wait_extruder_temperature(ext,temp)``` | called when setting the extruder ```ext``` temperature to ```temp``` while waiting. Used when printing with multiple extruders |
|
|
| ```set_mixing_ratios(ratios)``` | called when setting the mixing ratios of each filament feeding onto the mixing extruder; ```ratios``` is a table containing the ratio for each filament. This function is only called when using color mixing |
|
|
| ```set_mixing_ratios(ratios)``` | called when setting the mixing ratios of each filament fed onto the mixing extruder; ```ratios``` is a table containing the ratio for each filament (the add up to 1). This function is only called when using color mixing |
|
|
|
|
|
|
Functions returning a value (i.e., ```prime``` and ```retract```) are expected to be **called by IceSL only** <sup>5</sup>. This is due to the fact that IceSL uses the returned value to internally keep track of the E-axis. Calling them explicitly may render the E values fed to the profile functions inconsistent.
|
|
Functions returning a value (i.e., ```prime``` and ```retract```) are expected to be **called by IceSL only** <sup>5</sup>. This is due to the fact that IceSL uses the returned value to internally keep track of the E-axis. Calling them explicitly may render the E values fed to the profile functions inconsistent.
|
|
|
|
|
... | @@ -181,7 +181,7 @@ Additionally, IceSL provides other useful variables that are also accessible. We |
... | @@ -181,7 +181,7 @@ Additionally, IceSL provides other useful variables that are also accessible. We |
|
| Variable | Type | Description |
|
|
| Variable | Type | Description |
|
|
| ------ | ------ | ------ |
|
|
| ------ | ------ | ------ |
|
|
| ```number_of_extruders``` | integer | number of extruders used in the print |
|
|
| ```number_of_extruders``` | integer | number of extruders used in the print |
|
|
| ```extruders``` | table of integers | extruder ids used in the print |
|
|
| ```extruders``` | table of integers | extruder id's used in the print |
|
|
| ```filament_diameter_mm``` | table of floats | filament diameter for each extruder |
|
|
| ```filament_diameter_mm``` | table of floats | filament diameter for each extruder |
|
|
| ```filament_priming_mm``` | table of floats | filament priming for each extruder |
|
|
| ```filament_priming_mm``` | table of floats | filament priming for each extruder |
|
|
| ```number_of_layers``` | integer | total layers of print |
|
|
| ```number_of_layers``` | integer | total layers of print |
|
... | @@ -222,6 +222,7 @@ IceSL can also discriminate the type of path being processed and its properties. |
... | @@ -222,6 +222,7 @@ IceSL can also discriminate the type of path being processed and its properties. |
|
| ```path_is_bridge``` | Boolean | current path is a bridge |
|
|
| ```path_is_bridge``` | Boolean | current path is a bridge |
|
|
| ```path_is_travel``` | Boolean | current path is traveling |
|
|
| ```path_is_travel``` | Boolean | current path is traveling |
|
|
| ```path_is_cover``` | Boolean | current path is a cover |
|
|
| ```path_is_cover``` | Boolean | current path is a cover |
|
|
|
|
| ```path_is_gapfill``` | Boolean | current path is a gapfill |
|
|
| ```path_length``` | float | current path length |
|
|
| ```path_length``` | float | current path length |
|
|
| ```path_flow_multiplier``` | float | current path flow multiplier |
|
|
| ```path_flow_multiplier``` | float | current path flow multiplier |
|
|
| ```path_speed_multiplier``` | float | current path speed multiplier |
|
|
| ```path_speed_multiplier``` | float | current path speed multiplier |
|
... | @@ -252,7 +253,7 @@ The following path and/or vertex attributes are currently used by IceSL: |
... | @@ -252,7 +253,7 @@ The following path and/or vertex attributes are currently used by IceSL: |
|
| ```zoffset``` | Per-vertex | Position offset on the Z axis |
|
|
| ```zoffset``` | Per-vertex | Position offset on the Z axis |
|
|
| ```speed_multiplier``` | Per-path | Speed multiplier |
|
|
| ```speed_multiplier``` | Per-path | Speed multiplier |
|
|
|
|
|
|
<sup>6. Currently available only in the beta version of IceSL.</sup>
|
|
<sup>6. Attributes set by plugins are also available here.</sup>
|
|
|
|
|
|
Example of using a per-path attribute:
|
|
Example of using a per-path attribute:
|
|
|
|
|
... | | ... | |