Warning on suboptimal Z-hop



  • Today I was thinking about my Z axis. It is driven by two 1.8° steppers using lead screws with 8mm lead. This makes a full step distance of 0.04mm. Now I know and remember this (at least since I know about the implications) when setting layer heights in the slicer that they have to be a multiple of the above. I know there even is at least one slicer (but not Cura that I am using) that already does this automatically for the user if one provides information about steps/mm and microstepping factor.

    Now I wondered if it would be desirable to add a warning to M207 Znnn in case the user entered a value that is not a multiple of the full step distance? All the information is of course available as RRF needs to know it anyway. The warning could then include the next optimal value in either direction.

    I would be willing to implement it if especially @dc42 thinks it makes sense.



  • @wilriker You'd need to apply it to G10 retract moves too as these can include a Z hop. But then people with coarse lead screws often use layer heights that aren't a multiple of full steps, so rely on micro-stepping for positional accuracy. Should a warning also be flagged for "sub-optimal" G1 Z layer heights? I see the beginning of an argument or at least a long discussion approaching (not from me I hasten to add)........



  • @deckingman M207 Znnn is the configuration option for Z-hop of (the otherwise parameter-less) G10/G11 firmware retract so this is already covered.

    I think adding this to G0/G1 Znnn does not make sense as it would plaster the user with warnings throughout a print. But of course I like to hear what others have to say about that.

    And, yeah, I can see that long discussion also rolling towards me, too. 😂



  • @wilriker said in Warning on suboptimal Z-hop:

    @deckingman M207 Znnn is the configuration option for Z-hop of (the otherwise parameter-less) G10/G11 firmware retract ..............

    So it is.
    My bad - sorry. More caffeine needed ☺


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.