Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    What is the status or roadmap for set variable

    General Discussion
    2
    2
    60
    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.
    • psychotik2k3
      psychotik2k3 last edited by

      Hi,
      i saw on, the meta command wiki that variable declaration and set are not implemented yet.
      https://duet3d.dozuki.com/Wiki/GCode_Meta_Commands#Section_Variable_declaration
      do you have a status about these features or any sort of roadmap about it as i think about a lot of features i could use them for some macros.

      and another question about that: the variable that we name global.toto do they live across different gcode or not ?

      i'm asking because i could have a macro that store a first position then i move to the second position and launche the second macro that will store the second position and will perform a toolpath (for cnc) between those 2 coordinates to surface the material.

      thanks

      sebastien

      chrishamm 1 Reply Last reply Reply Quote 0
      • chrishamm
        chrishamm administrators @psychotik2k3 last edited by chrishamm

        @psychotik2k3 Not before version 3.3 but in the meantime you can already use slots to store positions and to restore them. See G60 and G1 R. If you need to use stored positions with other codes, you can access them via the object model as well. They're exposed by state.restorePoints[].coords[].

        Duet software engineer

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