... | ... | @@ -45,13 +45,11 @@ for i=0,max_number_extruders,1 do |
|
|
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:
|
|
|
Settings can be *internal* or not. Non internal settings can also be set through the UI (use the search bar for a quicker set). 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:
|
|
|
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). 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)
|
... | ... | @@ -61,6 +59,58 @@ As mentioned before, there exist internal settings and these can also be set in |
|
|
* ```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)
|
|
|
|
|
|
### Custom settings
|
|
|
|
|
|
It is possible for user-defined printing settings to be shown and modified through the UI. Currently there is support for two types of settings; booleans and numbers. The following two definitions can be used in file ```features.lua``` of a printer profile:
|
|
|
|
|
|
```add_checkbox_setting(internal_name, description, tooltip, default)```
|
|
|
|
|
|
```add_setting(internal_name, description, minVal, maxVal, tooltip, default)```
|
|
|
|
|
|
Adds setting ```internal_name``` with ```description```, minimum value ```minValue``` and maximum value ```maxValue```. Default value is ```false``` for ```add_checkbox_setting``` and ```minValue``` for ```add_setting```:
|
|
|
* ```internal_name``` : internal name for setting
|
|
|
* ```description``` : description of setting (shown in UI)
|
|
|
* ```minValue``` : minimal value in case of a number setting (i.e., ```add_setting```)
|
|
|
* ```maxValue``` : maximum value in case of a number setting (i.e., ```add_setting```)
|
|
|
* ```tooltip``` : tooltip help to show in IceSL's UI. This parameter is _optional_.
|
|
|
* ```default``` : default value. This parameter is _optional_.
|
|
|
|
|
|
The setting's value can then be queried in file ```printer.lua``` of the printer profile by using the setting's ```internal_name```.
|
|
|
|
|
|
## ```Printer.lua```
|
|
|
|
|
|
## Material and Profiles |
|
|
\ No newline at end of file |
|
|
## Material and Profiles
|
|
|
|
|
|
These are specialized printing settings for specific situations or materials. They are located in either ```profiles``` or ```materials``` subdirectories inside the printer profile folder.
|
|
|
|
|
|
They do not possess a naming convention but they do have to keep a ```.lua``` extension.
|
|
|
|
|
|
Material example (```materials/abs.lua```)
|
|
|
```lua
|
|
|
name_en = "ABS"
|
|
|
|
|
|
extruder_temp_degree_c_0 = 230
|
|
|
filament_diameter_mm_0 = 2.85
|
|
|
filament_priming_mm_0 = 1.0
|
|
|
|
|
|
bed_temp_degree_c = 110
|
|
|
```
|
|
|
|
|
|
The variable ```name_en``` is mandatory for UI purposes. ```name_es```, ```name_fr``` and ```name_ch``` are optional.
|
|
|
|
|
|
Profile example (```profiles/low.lua```)
|
|
|
```lua
|
|
|
name_en = "Fast print"
|
|
|
|
|
|
z_layer_height_mm = 0.3
|
|
|
|
|
|
print_speed_mm_per_sec=40
|
|
|
first_layer_print_speed_mm_per_sec=10
|
|
|
perimeter_print_speed_mm_per_sec=40
|
|
|
travel_speed_mm_per_sec=80
|
|
|
priming_mm_per_sec=30
|
|
|
|
|
|
add_raft=false
|
|
|
gen_supports=false
|
|
|
add_brim=true
|
|
|
``` |
|
|
\ No newline at end of file |