... | ... | @@ -1298,7 +1298,13 @@ _Service Mode_ can only be activated in _IceSL-slicer_, it **cannot** be invoked |
|
|
* `IceSL-slicer.exe -s script_filename` (Windows)
|
|
|
* `./IceSL-slicer -s script_filename` (Linux)
|
|
|
|
|
|
### Service Mode functions <a name="invokeservicemode"></a>
|
|
|
A control string can be passed to the script while in service mode. This is done with the `-c` flag in the command line. It is subsequently set in the `control_string` global variable in the script:
|
|
|
|
|
|
* `IceSL-slicer.exe -c string -s script_filename` (Windows)
|
|
|
* `./IceSL-slicer -c string -s script_filename` (Linux)
|
|
|
|
|
|
|
|
|
### Service Mode functions <a name="servicemodefunctions"></a>
|
|
|
|
|
|
In addition to all other documented functions, the following also become available in _Service Mode_:
|
|
|
|
... | ... | @@ -1340,5 +1346,6 @@ Meshing in _Service Mode_: |
|
|
emit(difference(ccube(40),sphere(25)))
|
|
|
set_service('MeshExportService')
|
|
|
set_setting_value('meshing_method', 'Dual contouring')
|
|
|
run_service('C:\\Users\\milchy\\Documents\\my_shape.stl')
|
|
|
output_name = control_string..'.stl'
|
|
|
run_service('C:\\Users\\milchy\\Documents\\'..output_name)
|
|
|
``` |
|
|
\ No newline at end of file |