GCode

class GCode(file: File)

Constructors

Link copied to clipboard
constructor(file: File)

Functions

Link copied to clipboard
fun findExtrusion(extrusion: Double): GCodeState?
Link copied to clipboard
Link copied to clipboard

Finds the GCodeState at the given heights. Use in conjunction with GCodeState.insertAfter or GCodeState.insertBefore, and you can add gcode to tell the operator to swap filament.

Link copied to clipboard

Finds the GCodeState at the given heights. Use in conjunction with GCodeState.insertAfter or GCodeState.insertBefore, and you can add gcode to tell the operator to swap filament.

Link copied to clipboard
fun findTime(seconds: Double): GCodeState?
Link copied to clipboard
Link copied to clipboard
fun save()
Link copied to clipboard
open override fun toString(): String