... | ... | @@ -17,11 +17,49 @@ Each printer profile is made out of the following components: |
|
|
* ```features.lua``` : Printing settings (e.g., *bed size*, *nozzle diameter*)
|
|
|
* ```printer.lua``` : G-code production functions (e.g., *prime*, *extrude*, *header*)
|
|
|
* Profiles (optional) : Printing settings subsets for specific situations (e.g., *high quality printing*, *fast printing*)
|
|
|
* Materials (optional) : Printing settings subsetsfor specific materials (e.g., *PLA*, *ABS*)
|
|
|
* Materials (optional) : Printing settings subsets for specific materials (e.g., *PLA*, *ABS*)
|
|
|
|
|
|
## ```Features.lua```
|
|
|
|
|
|
This file specifies values for printing settings that are considered (by the profile maker) important to the printer hardware. In practice, any setting where its value is a *boolean*, an *integer*, or a *float* can be set in here.
|
|
|
|
|
|
Example:
|
|
|
```lua
|
|
|
bed_size_x_mm = 235
|
|
|
bed_size_y_mm = 225
|
|
|
bed_size_z_mm = 205
|
|
|
|
|
|
nozzle_diameter_mm = 0.4
|
|
|
```
|
|
|
|
|
|
Some settings are tied to a extruder or a [brush](https://gitlab.inria.fr/mfx/icesl-documentation/wikis/Scripting-language#drawing-and-scale-) (e.g., ```filament_diameter_mm_0``` is the diameter of the filament loaded on extruder 0, ```infill_extruder_1``` specifies the extruder to use when printing geometry emitted on brush 1).
|
|
|
|
|
|
IceSL supports a maximum number of extruders (i.e., ```max_number_extruders```) and a maximum number of brushes (i.e., ```max_number_brushes```).
|
|
|
|
|
|
Example:
|
|
|
|
|
|
```lua
|
|
|
for i=0,max_number_extruders,1 do
|
|
|
_G['filament_diameter_mm_'..i] = 2.85
|
|
|
_G['filament_priming_mm_'..i] = 6.50
|
|
|
end
|
|
|
```
|
|
|
|
|
|
Settings can be *internal* or not. Non internal settings can also be set through the UI (use the search bar for a quicker set). Some settings might be hidden in the UI depending on certain conditions (e.g., ```brim_distance_to_print_mm``` will be hidden if ```add_brim``` is false).
|
|
|
|
|
|
A complete list of non internal printing settings is the following link:
|
|
|
|
|
|
[Printing settings](https://icesl.loria.fr/parameters/)
|
|
|
|
|
|
As mentioned before, there exist internal settings and these can also be set in ```features.lua``` but not through the UI. We list them here:
|
|
|
|
|
|
* ```extruder_count``` : Number of extruders (integer)
|
|
|
* ```priming_mm_per_sec``` : "Speed for prime/retract (mm/sec) (float)
|
|
|
* ```extruder_swap_at_location``` : Go to a specific location to swap extruders (true/false)
|
|
|
* ```extruder_swap_location_x_mm``` : Location to swap extruders, X coordinate (float)
|
|
|
* ```extruder_swap_location_y_mm``` : Location to swap extruders, Y coordinate (float)
|
|
|
* ```extruder_swap_retract_speed_mm_per_sec``` : Retractation speed after a swap (mm/sec) (float)
|
|
|
* ```extruder_mix_count_e``` : Number of mixed filaments on extruder ```e``` (integer)
|
|
|
|
|
|
## ```Printer.lua```
|
|
|
|
... | ... | |