slice
The @Piece
annotation can optionally have a slice string, which lets you override the slicer settings. e.g.
@Piece( slice="brimWidth=6, perimeters=3" )
fun myPiece() : Shape3d { ... }
Content copied to clipboard
See SlicerValues for valid keys (such as brimWidth
and perimeters
in the example above). Whitespace around the comma and the equals is ignored.
You can also use the Slice annotation instead.
NOTE, that this feature can be turned on/off by unchecking the setting :
Settings -> General Settings -> Scripts Can Override Slicer Settings
Content copied to clipboard