Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    AI script

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    89
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • brianundefined
      brian
      last edited by brian

      I've been trying to write a script to put in the start up code in Simplify3D to prime the nozzle. I want it to sweep downward to the bed while extruding (had a machine that did that), i tried working with Grok and it tries but doesnt quit get it. Heres the code grok wrote: ; Slicer start G-code with fully dynamic sweep
      G28 ; home all axes (ends at G31 Z via IR probe)
      M83 ; relative extrusion mode
      G1 E5 F600 ; prime 5mm at probed height
      G91 ; relative positioning
      G1 Z10 F1200 ; lift 10mm above G31 Z
      G1 X40 Y5 Z-10 E15 F600 ; sweep down 10mm (to probed Z), across 40mm, Y+5mm, extruding 15mm
      G90 ; absolute positioning

      Does anyone have such a script that works?

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        What do you want it to do that it isn't doing now? It looks like a passable start to tweak.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA