Share

Applies to 2023.0 Update and later

 
 

Layer filter reference

Selectively drop or pass on layers in intervals

The layer filter blocks or forwards contour and hatch data for a layer in a slice stack. This is a binary procedure, so each resulting layer (of a processed stack) is either completely empty or contains the same contours and hatches as the input.

Parameter Default Value Description
minlayer -1 Start layer index of the filter. All layers below this index is discarded. A value of -1 disables this parameter.
maxlayer -1 End layer index of the filter. All layers above this index is discarded. A value of -1 disables this parameter.
only every nth layer 1 Only every n-th layer passes this filter, all others are discarded.
layeroffset 0 This parameter shifts the start of counting when onlyeachlayer is larger than 1. For example, when onlyeachlayer is 2, a layeroffset of 0 passes only even layers, and layeroffset of 1 passes only odd layers including layer #1.
Randomized seam yes Shifts start of the contour line:
  • yes: the seam is at the nearest point of the seam of the input data
  • no: the seam in the output data contours is shifted randomly
Layer bundle 1 Determines how many layers should be forwarded after an interval of left-out ones. For example, every-nth = 3 and bundle = 2 forwards layers 3, 4, 7, 8, 11, 12, and so on. (The interval is restarted at the last one in the bundle, not the first one.)

XML Configuration example code:

<layerfilter entry="original" identifier="layerfilter" layerbundle="2" layeroffset="0" maxlayer="400" minlayer="20" name="layerfilter" onlyeachlayer="3" randomizedseam="1"/>

Was this information helpful?