I have a part that has a two identical rectangular ends on it. It calls 1.000 +/-.002" to 1.50 +/-.030 depth and 1.000 +/-.010" for the remainder of depth. We had an issue holding the depth tolerance the last time we made these parts so I have a program that lays a line of points spaced .005 on the top and bottom of the rectangle that starts well before the 1.47 depth and ends well after the 1.53 depth. How can I code the program to tell me at what depth the 1.000 +/-.002 dimension goes out of tolerance so I don't have to find the OOT dimension then find the points and figure out what depth they are at?
I know I did something similar to this in the Level 3 class but that was running a loop until one axis maxed out then started to get smaller (bulged surface on the hex block). Where this is going to differ is that I am not running a loop and I want to run all the points I have laid out, not stop when it goes OOT. Also, this is based on a distance dimension between 2 points, not the location of a single point. The other thing that may be an issue is the trihedron is not on the end face of the part, it is in the middle of the part. I don't know if this will be an issue, I'm just giving as much information as possible.
As stated above, I have a way to do it but it is all manual work and with us running a bunch of them, I am trying to save some time.
Insert crude drawing made in MS Paint here (see export controlled):
depth example.jpg
I know I did something similar to this in the Level 3 class but that was running a loop until one axis maxed out then started to get smaller (bulged surface on the hex block). Where this is going to differ is that I am not running a loop and I want to run all the points I have laid out, not stop when it goes OOT. Also, this is based on a distance dimension between 2 points, not the location of a single point. The other thing that may be an issue is the trihedron is not on the end face of the part, it is in the middle of the part. I don't know if this will be an issue, I'm just giving as much information as possible.
As stated above, I have a way to do it but it is all manual work and with us running a bunch of them, I am trying to save some time.
Insert crude drawing made in MS Paint here (see export controlled):
depth example.jpg
Comment