Check Z Of 2D Polylines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When programming for cnc we make our bits cut .005 into the table. So that the Z value of out cuts are -.005. After creating a program we must read through all the Nc code which could be pages, and make sure none of the Z values are below -.005. Then we go to front view of out cnc drawing and look if anything is further below than Z -.005. When doing hundreds of programs this adds hours of work. I was wanting to create a lisp would check if there is anything in the project less than -.005. Then maybe select those object so that i can see which ones they are and fix them. This would save me hours a day and allow me to work much more efficiently. Any advice is welcome. Thank you. Im not good at coding at all but ill try to give an idea below so you guys can see im at least trying.
If Z < -.005
{ Select object}
else
{Dont select Object}
... Repeat for all objects in drawing until everything has been checked.
I really appriciate everyone's help, even if you just read this thread and didn't say anything.