... | ... | @@ -143,7 +143,8 @@ This file specifies how to translate the sliced geometry to printing instruction |
|
|
| ```set_feedrate(rate)``` | called when setting the feed-rate of the printer to ```rate``` |
|
|
|
| ```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_and_wait_extruder_temperature(ext,temp)``` | called when setting the extruder ```ext``` temperature to ```temp``` while waiting |
|
|
|
| ```wait(sec,x,y,z)``` | called when the parameter ```enable_min_layer_time``` is set to true. ```sec``` is the value of the parameter ```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_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 |
|
|
|
|
|
|
Functions returning a value (i.e., ```prime``` and ```retract```) are expected to be **called by IceSL only** <sup>6</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.
|
... | ... | @@ -179,7 +180,10 @@ Additionally, IceSL provides other useful variables that are also accessible. We |
|
|
| ```number_of_layers``` | integer | total layers of print |
|
|
|
| ```layer_id``` | integer | current layer |
|
|
|
| ```filament_tot_length_mm``` | float | current filament consumed |
|
|
|
| ```time_sec``` | integer | current (estimated) printing time |
|
|
|
| ```time_sec``` | integer | current (estimated) printing time in seconds |
|
|
|
| ```layer_start_time``` | float| elapsed (estimated) time in seconds since start of print. Available in `layer_start' function |
|
|
|
| ```layer_stop_time``` | float| elapsed (estimated) time in seconds since start of print. Available in 'layer_stop' function |
|
|
|
| ```layer_time``` | float| elapsed (estimated) time in seconds since start of layer. Available in 'layer_stop' function |
|
|
|
|
|
|
Variables that specify the printing geometry also exist:
|
|
|
|
... | ... | @@ -194,7 +198,7 @@ Variables that specify the printing geometry also exist: |
|
|
| ```gcode_to_model_y``` | float | distance transformation from G-code view to geometry view (Y coordinate) |
|
|
|
| ```gcode_to_model_z``` | float | distance transformation from G-code view to geometry view (Z coordinate) |
|
|
|
|
|
|
IceSL can also discriminate the type of path being processed and its properties. For this use the following variables:
|
|
|
IceSL can also discriminate the type of path being processed and its properties. For this purpose, use the following variables:
|
|
|
|
|
|
| Variable | Type | Description |
|
|
|
| ------ | ------ | ------ |
|
... | ... | |