-
Notifications
You must be signed in to change notification settings - Fork 8
Scripting Mk3_5
GitHub Action edited this page Mar 3, 2024
·
1 revision
-
GetPosFloat()
-Reports current position in mm.
-
SetStall(bool)
-Sets the stallguard value as specified.
-
ToggleStall()
-Toggles the stallguard value.
-
WaitUntilInsideZoneMM(float, float)
-Wait until the axis reaches the requested absolute position +/- margin (mm,mm).
-
WaitUntilOutsideZoneMM(float, float)
-Wait until the axis moves away from the requested absolute position +/- margin (mm,mm).
-
Key(string)
-Simulates a keypress
-
Log(string)
-Print the std::string to stdout
-
SetQuitOnTimeout(bool)
-If 1, quits when a timeout occurs. Exit code will be non-zero.
-
SetTimeoutMs(int)
-Sets a timeout for actions that wait for an event
-
WaitMs(int)
-Wait the specified number of milliseconds. (10 ms resolution)
-
GetPosFloat()
-Reports current position in mm.
-
SetStall(bool)
-Sets the stallguard value as specified.
-
ToggleStall()
-Toggles the stallguard value.
-
WaitUntilInsideZoneMM(float, float)
-Wait until the axis reaches the requested absolute position +/- margin (mm,mm).
-
WaitUntilOutsideZoneMM(float, float)
-Wait until the axis moves away from the requested absolute position +/- margin (mm,mm).
-
GetPosFloat()
-Reports current position in mm.
-
SetStall(bool)
-Sets the stallguard value as specified.
-
ToggleStall()
-Toggles the stallguard value.
-
WaitUntilInsideZoneMM(float, float)
-Wait until the axis reaches the requested absolute position +/- margin (mm,mm).
-
WaitUntilOutsideZoneMM(float, float)
-Wait until the axis moves away from the requested absolute position +/- margin (mm,mm).
-
GetPosFloat()
-Reports current position in mm.
-
SetStall(bool)
-Sets the stallguard value as specified.
-
ToggleStall()
-Toggles the stallguard value.
-
WaitUntilInsideZoneMM(float, float)
-Wait until the axis reaches the requested absolute position +/- margin (mm,mm).
-
WaitUntilOutsideZoneMM(float, float)
-Wait until the axis moves away from the requested absolute position +/- margin (mm,mm).
-
SetA(float)
-Sets the voltage readout to a given value.
-
SetA(float)
-Sets the voltage readout to a given value.
-
SetA(float)
-Sets the voltage readout to a given value.
-
Push()
-Presses the encoder
-
Reset()
-Resets the printer
-
Twist(int)
-Twists the encoder up(1)/down(-1)
-
GetRPM()
-Reports the current RPM
-
Resume()
-Resumes a stalled fan.
-
Stall()
-Stalls the fan tachometer
-
GetRPM()
-Reports the current RPM
-
Resume()
-Resumes a stalled fan.
-
Stall()
-Stalls the fan tachometer
-
Screenshot(string)
-Takes a screenshot to the specified file.
-
Open()
-Sets heater as open-circuit
-
Restore()
-Restores normal (non-open or runaway) state
-
Runaway()
-Sets heater as if in thermal runaway
-
SetTemp(float)
-Sets the current temperature the heater uses to update the thermistor
-
Open()
-Sets heater as open-circuit
-
Restore()
-Restores normal (non-open or runaway) state
-
Runaway()
-Sets heater as if in thermal runaway
-
SetTemp(float)
-Sets the current temperature the heater uses to update the thermistor
-
Set()
-Sets the overcurrent line to fault
-
Toggle()
-Clears the overcurrent fault line
-
Set()
-Sets the overcurrent line to fault
-
Toggle()
-Clears the overcurrent fault line
-
Set()
-Sets the overcurrent line to fault
-
Toggle()
-Clears the overcurrent fault line
-
Set()
-Sets the overcurrent line to fault
-
Toggle()
-Clears the overcurrent fault line
-
Set()
-Sets the overcurrent line to fault
-
Toggle()
-Clears the overcurrent fault line
-
SetMBL(int, int, bool)
-Sets the given block of the 4x4 z-trigger grid to the specified value. (x,y,mm)
-
SetPanic()
-Trips the Power Panic line
-
SetV(float)
-Sets the voltage readout to a given value.
-
SetPanic()
-Trips the Power Panic line
-
SetV(float)
-Sets the voltage readout to a given value.
-
Disconnect()
-Disconnects the thermistor
-
GetTemp()
-Prints the current temperature
-
Restore()
-Restores the thermistor to normal (unshorted, heater-operated) state
-
Set(float)
-Sets the temperature to a given value.
-
Short()
-Shorts the thermistor
-
Disconnect()
-Disconnects the thermistor
-
GetTemp()
-Prints the current temperature
-
Restore()
-Restores the thermistor to normal (unshorted, heater-operated) state
-
Set(float)
-Sets the temperature to a given value.
-
Short()
-Shorts the thermistor
-
Disconnect()
-Disconnects the thermistor
-
GetTemp()
-Prints the current temperature
-
Restore()
-Restores the thermistor to normal (unshorted, heater-operated) state
-
Set(float)
-Sets the temperature to a given value.
-
Short()
-Shorts the thermistor
-
Disconnect()
-Disconnects the thermistor
-
GetTemp()
-Prints the current temperature
-
Restore()
-Restores the thermistor to normal (unshorted, heater-operated) state
-
Set(float)
-Sets the temperature to a given value.
-
Short()
-Shorts the thermistor
-
Disconnect()
-Disconnects the thermistor
-
GetTemp()
-Prints the current temperature
-
Restore()
-Restores the thermistor to normal (unshorted, heater-operated) state
-
Set(float)
-Sets the temperature to a given value.
-
Short()
-Shorts the thermistor
End Scripting options