... | ... | @@ -35,14 +35,6 @@ 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 <sup>3</sup>:
|
|
|
|
|
|
```lua
|
|
|
version = 2
|
|
|
```
|
|
|
|
|
|
<sup>3. This requirement was recalled in the beta version of IceSL.</sup>
|
|
|
|
|
|
## ```features.lua``` <a name="features_lua"></a>
|
|
|
|
|
|
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.
|
... | ... | @@ -69,7 +61,7 @@ for i=0,max_number_extruders,1 do |
|
|
end
|
|
|
```
|
|
|
|
|
|
In spite of the above, a printer profile has the ability to assign a common value to all different instances of a setting<sup>4</sup>, be it per-brush or per-extruder. For example:
|
|
|
In spite of the above, a printer profile has the ability to assign a common value to all different instances of a setting<sup>3</sup>, be it per-brush or per-extruder. For example:
|
|
|
|
|
|
```lua
|
|
|
print_perimeter = false
|
... | ... | @@ -92,14 +84,20 @@ Additionally, settings can be *internal* or not. Non internal settings can also |
|
|
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 also exist internal settings that can also be set in ```features.lua``` but not through the UI. We list them here:
|
|
|
|
|
|
* ```extruder_count``` : Number of extruders installed on the printer(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_location_x_mm``` : Location to swap extruders, X coordinate w.r.t. the printing bed's farthest left corner [front-facing] (float)
|
|
|
* ```extruder_swap_location_y_mm``` : Location to swap extruders, Y coordinate w.r.t. the printing bed's farthest left corner [front-facing] (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)
|
|
|
* ```priming_mm_per_sec``` : Speed for prime/retract (mm/sec) (float)
|
|
|
* ```tower_at_location```: Set tower location (true/false)
|
|
|
* ```tower_location_x_mm```: Set tower X (mm) location w.r.t. the printing bed's farthest left corner [front-facing] (float)
|
|
|
* ```tower_location_y_mm```: Set tower Y (mm) location w.r.t. the printing bed's farthest left corner [front-facing] (float)
|
|
|
* ```cycle_gap_mm```: space (mm) gap at the end of a path whenever it closes onto itself<sup>4</sup>.
|
|
|
|
|
|
<sup>3. This feature only is available at the moment in the beta version of IceSL.</sup>
|
|
|
|
|
|
<sup>4. This feature only is available at the moment in the beta version of IceSL.</sup>
|
|
|
<sup>4. If set to 0 you are likely to obtain a small blob because the tail of the path overlaps the head. Set it too large and you will obtain a gap. If left unset the setting will default to a reasonable built-in value (auto computed from the nozzle diameter) (Note: the default value occurs when the setting is < 0).</sup>
|
|
|
|
|
|
### Custom settings <a name="custom"></a>
|
|
|
|
... | ... | @@ -179,7 +177,7 @@ Additionally, IceSL provides other useful variables that are also accessible. We |
|
|
| ```filament_priming_mm``` | table of floats | filament priming for each extruder |
|
|
|
| ```number_of_layers``` | integer | total layers of print |
|
|
|
| ```layer_id``` | integer | current layer |
|
|
|
| ```filament_tot_length_mm``` | float | current filament consumed |
|
|
|
| ```filament_tot_length_mm``` | float | filament consumed. Available only at the end of the print |
|
|
|
| ```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 |
|
... | ... | |