my test script was something like this (i've removed some of the parts
locally to move forward on parameterization a smidge):

# needs the prs to run
import mecode

# ender 3 plugged in with microusb cable
with mecode.G(
        direct_write=True,
        direct_write_mode='serial',
        printer_port='/dev/ttyUSB0',
        baudrate=115200
) as g:
    g.break_and_continue() # abort whatever you are doing
    g.auto_home() # calibrate the axes and home the toolhead
    g.home() # move the toolhead to mecode's origin
    g.finish_moves() # pause execution until you finish with that
    g.park_toolhead() # now move away from it
# and disconnect
  • Re: [crazy] ... Undescribed Horrific Abuse, One Victim & Survivor of Many
    • Re: [cr... Undescribed Horrific Abuse, One Victim & Survivor of Many
      • Re:... Undescribed Horrific Abuse, One Victim & Survivor of Many
        • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
          • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
          • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many

Reply via email to