I would like to make a check rule that will do a check based on the larger (or smaller) of a couple of edge pairs. This would be useful for me to run a check on a edge pair height. Running a .width, does the check on all edge pairs that meet the criteria, instead of just the height.
I have to make a check for minimum silicon width and maximum silicon height. I am trying to implement a check for the latter. So if there is an easier way, I am all ears.
Keep in mind that if the object is rotated 90 degrees, this should now affect the rule, and should pass/fail the same as without the rotation.
Thanks,
-D
Comments
Hi D,
I don't know the precise requirements, but height may be measurable in terms of edge length - long vertical edges mean large height. My best guess is to try with "with_length" and "with_angle" to select long vertical edges.
But as I said, that's just a guess.
Matthias