SlicerTask

Generates a .gcode file from a .stl file. Uses one of the following command line tools (depending on the user's preference) :

slic3r-prusa3d, superslicer, qidislicer, slic3r

superslicer --export-gcode --load printer.ini --load print.ini --load filament.ini -o inputFile outputFile

The command line also includes slicer options such as --fill-density 30. These can come from the Slicer Settings dialog box, or from @Slice annotations within the .foocad script.

GCodeTask depends on this task, and then performs postprocessing if the script includes post-processing.

Properties

Link copied to clipboard
open override val checkPrintable: Boolean

If this is set, and there is an annotation :

Functions

Link copied to clipboard
open override fun action(scriptFile: File, model: Model, shape: Shape3d, pieceName: String?, customName: String?, extras: String?): ModelAction
Link copied to clipboard
open fun isText(): Boolean
Link copied to clipboard
open fun outputFile(inputFile: File, extension: String): File