Navigation

    Duet3D Logo

    Duet3D

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

    Chose random spot/area to home Z?

    General Discussion
    4
    6
    74
    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.
    • huge
      huge last edited by huge

      Hello,
      is there a way i can generate a random area around the center of my bed to home my z axis? thanks

      fcwilt 1 Reply Last reply Reply Quote 0
      • fcwilt
        fcwilt @huge last edited by

        @huge said in Chose random spot/area to home Z?:

        Hello,
        is there a way i can generate a random area around the center of my bed to home my z axis? thanks

        Just out of curiosity why do you want to do that?

        Thanks.

        Frederick

        Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. All with a variety of Duets (2 and 3) running 3.3.0

        1 Reply Last reply Reply Quote 0
        • OwenD
          OwenD last edited by

          Yes it's possible, but why?

          Assuming you're on V3.2b you can use the random(nn) function
          Check release notes for which version it was introduced in.

          E.g

          G1 X{move.axes[0].max/2 - 25 + random(50)}
          

          Would put you +/- 25mm from bed centre assuming X max defines the edge of the bed and X min = 0
          You could always hard code it.

          1 Reply Last reply Reply Quote 3
          • Phaedrux
            Phaedrux Moderator last edited by

            Reasons I've seen given for requesting this in the past has been when using nozzle contact probes a small divot can develop after repeated probings in the same place.

            Z-Bot CoreXY Build | Thingiverse Profile

            OwenD 1 Reply Last reply Reply Quote 0
            • OwenD
              OwenD @Phaedrux last edited by

              makes sense! 🤔

              1 Reply Last reply Reply Quote 0
              • huge
                huge last edited by

                The reason is exaclty as Phaerdrux explained. I am using a piezo on the nozzle to home my Z axis.
                Thanks for the quick answers guys

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