CrealityK1
Package: Libraries.Fabrication.Printers · Inherits from: Libraries.Fabrication.Printers.KlipperPrinter, Libraries.Fabrication.Printers.Printer, Libraries.Language.Object, Libraries.Fabrication.Printers.DirectDrivePrinter, Libraries.Fabrication.Profiles.Profile
The CrealityK1 class is the Creality K1: a fast Klipper printer with a 220 by 220 millimeter bed, 250 millimeters tall. Its firmware's start and end macros are START_PRINT and END_PRINT.
Example Code
use Libraries.Fabrication.Printers.CrealityK1
CrealityK1 printer
output printer:Describe()
Actions
GetEndGcode()
This action returns the end G-code: the K1 firmware's END_PRINT macro.
Returns
text: The end G-code.
GetStartGcode()
This action returns the start G-code: the K1 firmware's START_PRINT macro, given the nozzle and bed temperatures.
Returns
text: The start G-code.
Inherited Actions
5 actions from Libraries.Fabrication.Printers.Printer
23 actions from Libraries.Fabrication.Profiles.Profile
- Clear(text key)
- Describe()
- GetBambuSettingsFile()
- GetBoolean(text key)
- GetInherits()
- GetInteger(text key)
- GetName()
- GetNumber(text key)
- GetOwnKeys()
- GetParent()
- GetSchema()
- GetSource(text key)
- GetText(text key)
- Set(text key, text value)
- SetBoolean(text key, boolean value)
- SetInherits(text parentName)
- SetInteger(text key, integer value)
- SetName(text value)
- SetNumber(text key, number value)
- SetParent(Libraries.Fabrication.Profiles.Profile value)
- SetsOwn(text key)
- TrySet(text key, text value)
- Validate()