Precise continuous movement for laser cutting

  • Thank you for your reply Jeremy.

    Frankly, this is not the problem. I don't even understand this function.

    This: str(int(min(100,max(1,zone_mm))))

    It just gives back the zone_mm parameter.

    Also, I don't want rounding. That's the whole point. We need precise movements, not rounded off movements. CNT will not be precise in this case.

  • I see, I miss interpreted your need. I'll take another look at it.

    Still the rounding function should be the way I described it.
    It will, indeed, return the zone_mm, but within acceptable values for the robot controller.

    Between 1 and 100 in this case. I also convert it as an INT to remove decimal.


    RoboDK - Simulation and Offline programming software for industrial and collaborative robots.

    Visit us at
    Take a look at our tutorial videos on our YouTube channel.

Advertising from our partners