PrusaMK4

Package: Libraries.Fabrication.Printers · Inherits from: Libraries.Fabrication.Printers.Printer, Libraries.Language.Object, Libraries.Fabrication.Printers.DirectDrivePrinter, Libraries.Fabrication.Profiles.Profile

The PrusaMK4 class is the Original Prusa MK4: a direct-drive printer with a 250 by 210 millimeter bed, 220 millimeters tall, that measures its bed with its nozzle before each print.

Example Code

use Libraries.Fabrication.Printers.PrusaMK4

PrusaMK4 printer
output printer:Describe()

Actions

GetHeatGcode()

This action returns the G-code that heats the bed, and warms the nozzle only to 170 degrees: the MK4 measures the bed by touching it with the nozzle, which shouldn't ooze. The priming step then heats the nozzle to printing heat.

Returns

text: The heating G-code.

GetHomeGcode()

This action returns the G-code that homes the printer, then measures the bed (G29), as Prusa's Buddy firmware does.

Returns

text: The homing G-code.

Inherited Actions

5 actions from Libraries.Fabrication.Printers.Printer
23 actions from Libraries.Fabrication.Profiles.Profile
3 actions from Libraries.Language.Object