Layer Filter Reference

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.
onlyeachlayer 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.
seam original Shifts start of the contour line:
  • original: the seam is at the nearest point of the seam of the input data
  • randomized: the seam in the output data contours is shifted randomly

XML Configuration example code:

<layerfilter name="filling" entry="sphere" onlyeachlayer="2" />