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.

  • AD
  • 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.


    Jeremy

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now