Model
Each foocad script should contain a single class of type Model.
The Model class name should be the same as the filename. However, FooCAD attempts to find a Model if this condition isn't met. But it may pick the "wrong" model, if there are two Model classes in the same file.
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns piece names by looking Piece annotations on methods.
Link copied to clipboard
The same as pieceNames, but includes the "default" pieceName of null
as the first item in the list.
Link copied to clipboard
Link copied to clipboard
Returns SlicerValues by looking for Slice annotations on the build method.
Returns SlicerValues by looking for Slice annotations on the method named pieceName or the build method if pieceName is null.