... | @@ -991,10 +991,13 @@ For example, if the value of a setting is specified in a printer profile as well |
... | @@ -991,10 +991,13 @@ For example, if the value of a setting is specified in a printer profile as well |
|
|
|
|
|
```set_setting_value(setting, value)```
|
|
```set_setting_value(setting, value)```
|
|
|
|
|
|
|
|
```set_setting_value(setting, value, bed_relative)```
|
|
|
|
|
|
Sets the printing parameter ```settings``` to ```value```
|
|
Sets the printing parameter ```settings``` to ```value```
|
|
* ```setting```: Internal name of the printing setting to change
|
|
* ```setting```: Internal name of the printing setting to change
|
|
* ```value```: Value to assign. May be a boolean, a number, a string or a table. The latter is reserved to _per-layer_ assignments whereas the table is to be constructed as follows:
|
|
* ```value```: Value to assign. May be a boolean, a number, a string or a table. The latter is reserved to _per-layer_ assignments whereas the table is to be constructed as follows:
|
|
* ```{ [key_0]=value_0, ... , [key_n]=value_n }```
|
|
* ```{ [key_0]=value_0, ... , [key_n]=value_n }```
|
|
|
|
* ```bed_relative```: If per-layer assignment, indicate whether the height is relative to the bed position (i.e., 0 means at bed level) or modeling position (i.e., 0 means at the center of geometry, see for example ```cube``` vs. ```ccube```). This parameter is _false_ by default.
|
|
|
|
|
|
```set_setting_value(setting, tex3d, boxMin, boxMax)```
|
|
```set_setting_value(setting, tex3d, boxMin, boxMax)```
|
|
|
|
|
... | | ... | |