Find the edges of hole
Hello Altair Team,
I'm working on a script to find the edges of holes. But I'm unable to find the edges of the hole when a rib is attached to it.
Let me explain it with a picture.
When there is a hole (like a tube hole). I was able to caputure the eges of the hole. As in this picture ( ).
But when I add a rib to the above shown picture to the tube hole, I was not able to read the edges of the same hole. Please refer this picture () for a better unerstanding.
Please guide me to find a way to either create a plot elements around the hole or atleast a way yo retrieve the node IDs of the hole.
Command Used:
*findloops
Thanks in advance.
Regards,
Brahmadev.
Answers
-
Hi
Did you try hm_holedetectioninit?
0 -
Altair Forum User said:
Hi
Did you try hm_holedetectioninit?
Yeah !
Also tried hm_ce_getholes as well as *findholesshell
even they were not working
0 -
Use *findedges
0 -
Altair Forum User said:
Use *findedges
Isn't there any other option avaiable than this findedge.
Because using the find edges i'm getting problem with the rib edge nodes and also with the flange edge ids
0 -
Did you try removing ribs?
0 -
Altair Forum User said:
Did you try removing ribs?
Yes !
If I remove the ribs it was able to detect the hole edges but not with the ribs (as shown in the above mentioned pictures.)
I even tried with the hm_getedgeloops, still no use....
Are there any other API's that can either detect only the edge of any given component ?0 -
In hm_getedgeloops try not to give any loop type and feature angle
*createmark elems 1 displayed;
'hm_getedgeloops elems markid=1'
When I tried for a similar model with rib it works fine.
0 -
Altair Forum User said:
In hm_getedgeloops try not to give any loop type and feature angle
*createmark elems 1 displayed;
'hm_getedgeloops elems markid=1'
When I tried for a similar model with rib it works fine.
Thing is like i may have more than 2 ribs for any given tube hole.
So when there is only 1 rib attached to the hole tube, the above code is working sometimes and sometimes it isn't .
0