Package-level declarations
Types
This was created to implement methods of Model which no longer exist. Therefore, it no longer serves any purpose.
Settings which are used by foocad-core. These have no dependencies on the gui application.
Makes a copy of the gcode file to a specific folder.
https://moonraker.readthedocs.io/en/latest/web_api/#file-upload
Each foocad script should contain a single class of type Model.
Multi-piece models may wish to implement the setup method, which is called before any piece is built. Some initialisation isn't possible within the init
block. For example, anything that using Custom fields (because these fields are set AFTER the class is created, but before setup and build are called.
A decoration to Model, which lets it define slicerOverrides without using @Slice annotations.
A decoration to Model, which lets it define the pieceNames without using @Piece annotations.
If a model implements this interface, then it can post-process the gcode. For example, it can add messages into the gcode when a particular layer has been reached so that the operator can change filament.
Optional values which are passed to the slicer command line program.
Used by ModelExtensions.
Functions
Returns piece names by looking Piece annotations on methods.
The same as pieceNames, but includes the "default" pieceName of null
as the first item in the list.
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.