MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / __init__

Method __init__

src/ext/makerbot_driver/GcodeAssembler.py:60–76  ·  view source on GitHub ↗
(self, machine_profile, profiledir=None)

Source from the content-addressed store, hash-verified

58 """
59
60 def __init__(self, machine_profile, profiledir=None):
61 self.machine_profile = machine_profile
62 self.start_order = [
63 'begin_print',
64 'homing',
65 'start_position',
66 'heat_platform',
67 'heat_tools',
68 'end_start_sequence',
69 ]
70 self.end_order = [
71 'end_position',
72 'cool_platform',
73 'cool_tools',
74 'end_print',
75 ]
76 self.recipes = GcodeRecipes
77
78 def assemble_recipe(self,
79 material='PLA',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected