...
Table of Contents | ||
---|---|---|
|
In Short: LayerNr
LayerNrAn integer representing the current layer number that is being palletized. The value is zero-based. Possible values
ExampleIf a pattern has seven layers, then when …
|
In Detail: LayerNr
The LayerNr
variable can be used to figure out which layer is currently being palletized. It contains a zero-indexed value of the current active layer number, meaning that the first layer will have LayerNr = 0
.
Note |
---|
A zero-based variable, such as |
One can use the LayerNr
in various ways, one example is shown below:
...
An example of how to use the LayerNr
variable in an if-sentence in Polyscope
Here, an extra wait is added in the beforeZone-callback when the third layer is being palletized (i.e when LayerNr = 2
).