cmick31
Mechanical
- Jun 1, 2021
- 19
Evening,
I have a Journal that applies attributes to all cylindrical faces in a body according to their hole sizes(reads radius).
Using AskBoundingBoxExact I'm able to grab the depth of holes. However, one thing I can't seem to figure out is how I would determine if the cylindrical face runs all the way through its associated body.
Basically what I'm trying to do is say in simple terms; if face radius 3.4 is 16 deep, make attribute "M8 16 Deep", or if face radius 3.4 runs through entire solid body, make attribute "M8".
One thing I could run into(regarding example above) is if the body is "16 thick" I would also need to find a way to determine its through the body and not apply the depth.
Any thoughts or answers on how I can achieve this?
Much appreciated for any guidance.
I have a Journal that applies attributes to all cylindrical faces in a body according to their hole sizes(reads radius).
Using AskBoundingBoxExact I'm able to grab the depth of holes. However, one thing I can't seem to figure out is how I would determine if the cylindrical face runs all the way through its associated body.
Basically what I'm trying to do is say in simple terms; if face radius 3.4 is 16 deep, make attribute "M8 16 Deep", or if face radius 3.4 runs through entire solid body, make attribute "M8".
One thing I could run into(regarding example above) is if the body is "16 thick" I would also need to find a way to determine its through the body and not apply the depth.
Any thoughts or answers on how I can achieve this?
Much appreciated for any guidance.