Page 1 of 1

Find Concentric Circular Features on Different Components

Posted: Fri Jul 29, 2022 1:00 pm
by Jordan Brown
Hello,

I am trying to come up with a way to find which features on different components are concentric in an assembly. For example: tapped hole in one part and cut-extrude in another. Any ideas on the best way to go about this?

My first thought was to select (via API) all of the temporary axes and then check if they are co-axial, but I can't find a way to select them all without selecting the feature first (which would be extremely slow). Unless someone knows how to do this then I need to use some other process.

Any ideas?
image.png
image.png (41.4 KiB) Viewed 853 times

Re: Find Concentric Circular Features on Different Components

Posted: Fri Jul 29, 2022 1:20 pm
by HerrTick
Traverse faces of each component

For each face
-->is it cylindrical
-->get the axis
-->get axis vector (transform matrix)

Either compare each axis to a reference vector/axis, or collet them all and see what lines up.

Re: Find Concentric Circular Features on Different Components

Posted: Fri Jul 29, 2022 1:28 pm
by Jordan Brown
Well, that sounds like an idea. I'll give it a try.

Thanks

Re: Find Concentric Circular Features on Different Components

Posted: Fri Jul 29, 2022 4:47 pm
by Austin Schukar
If you're getting a ton of cylindrical faces, you can check whether it's a hole or boss with this macro (CodeStack).

Re: Find Concentric Circular Features on Different Components

Posted: Sat Jul 30, 2022 1:10 am
by gupta9665
Not API way but have you looked into Hole Alignment tool (Tools > Evaluate > Hole Alignment)