... | ... | @@ -33,13 +33,13 @@ A printer profile has the following components: |
|
|
* **Profiles** (optional) : Subsets of printing settings for specific situations (e.g., *high quality printing*, *fast printing*)
|
|
|
* **Materials** (optional) : Subsets of printing settings for specific materials (e.g., *PLA*, *ABS*)
|
|
|
|
|
|
Files ```features.lua``` and ```printer.lua``` **must** start with the following directive<sub>3</sub3>:
|
|
|
Files ```features.lua``` and ```printer.lua``` **must** start with the following directive <sup>3</sup>:
|
|
|
|
|
|
```lua
|
|
|
version = 2
|
|
|
```
|
|
|
|
|
|
<sub>3. This requirement will be recalled in the future</sub>
|
|
|
<sup>3. This requirement will be recalled in the future</sup>
|
|
|
|
|
|
## ```features.lua``` <a name="features_lua"></a>
|
|
|
|
... | ... | @@ -101,7 +101,7 @@ The setting's value can then be queried in file ```printer.lua``` of the printer |
|
|
|
|
|
## ```printer.lua``` <a name="printer_lua"></a>
|
|
|
|
|
|
This file specifies how to translate the sliced geometry to printing instructions (e.g., G-Code). These instructions are specific to the machine/printer the profile is made for. Moreover, the translation is done through lua functions that are called by IceSL whenever the print process demands it<sub>4</sub>. The list of functions to implement are the following:
|
|
|
This file specifies how to translate the sliced geometry to printing instructions (e.g., G-Code). These instructions are specific to the machine/printer the profile is made for. Moreover, the translation is done through lua functions that are called by IceSL whenever the print process demands it <sup>4</sup>. The list of functions to implement are the following:
|
|
|
|
|
|
| Function | Description |
|
|
|
| ------ | ------ |
|
... | ... | @@ -126,7 +126,7 @@ 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 |
|
|
|
|
|
|
<sub>4. 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>4. 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>
|
|
|
|
|
|
### Helper functions <a name="helpers"></a>
|
|
|
|
... | ... | |