... | ... | @@ -41,7 +41,7 @@ Files ```features.lua``` and ```printer.lua``` **must** start with the following |
|
|
version = 2
|
|
|
```
|
|
|
|
|
|
<sup>3. This requirement was recalled in the current beta version of IceSL</sup>
|
|
|
<sup>3. This requirement was recalled in the beta version of IceSL</sup>
|
|
|
|
|
|
## ```features.lua``` <a name="features_lua"></a>
|
|
|
|
... | ... | @@ -146,8 +146,12 @@ This file specifies how to translate the sliced geometry to printing instruction |
|
|
| ```set_and_wait_extruder_temperature(ext,temp)``` | called when setting the extruder ```ext``` temperature to ```temp``` while waiting |
|
|
|
| ```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.
|
|
|
|
|
|
<sup>5. Though all printer profiles packaged in IceSL produce G-Code, this approach is sufficiently general to allow production of other machine languages, and by extension, to other manufacturing machines.</sup>
|
|
|
|
|
|
<sup>6. This restriction will be recalled in the future. Keeping track of the E-axis will be handled by the profile</sup>
|
|
|
|
|
|
### Helper functions <a name="helpers"></a>
|
|
|
|
|
|
IceSL provides a number of lua helper functions to facilitate the writing to gcode. These function can be used in ```printer.lua```. The following is a list detailing these functions:
|
... | ... | |