Source code for gcode_reader.emulate.machines.juggerbot
from ..machine import Machine
from ..extruders import ScrewExtruder
from ..machine_options import JuggerbotOptions
from ..parsers import GcodeParser
from ..operations import AdditiveOperation
from ..registry import register
[docs]
@register("juggerbot")
class Juggerbot(Machine):
"""JuggerBot Tradesman P3-44"""
def __init__(self, **options):
super().__init__(
tools=(ScrewExtruder()), parser=GcodeParser(syntax_name="juggerbot")
)
self._options_type = JuggerbotOptions
self.options = options
[docs]
def gcode_file_to_operation(self, filepath: str, operation_type=AdditiveOperation):
return super().gcode_file_to_operation(filepath, operation_type)