find surface area of 2 component with some tolerance to create contact
Hi All,
by selecting 2 components , can we find surface area of both component close to each other with some tolerance to create contact.
is there any direct API?
any one having any idea regarding this?
Regards,
PD
Answers
-
Hi
Do you mean area of FE comp or area of surfs entites (CAD comp)
For FE comp we use hm_getmass to get area
But for CAD comp we have to loop foreach surface entity and use hm_getareaofsurface to get area and add it to comp area. It costs longer time.
0 -
@tinh Thanks for quick response...
in my case..
1. user will select 2 comp (CAD)....only input
2. then i have to find surfaces of these comp having give tolerance gap.
3. find smallest(area) out of 2.
4 Mesh it (tria) smallest one
5. project the mesh on other surface. (so that mesh will be matching for contact creation)
6. create contact between them
7. then create mesh for remaining surfaces of these two component.
any idea how i can do this?
any relevant API's...
0 -
No 2. You should use hm_measureshortestdistance
No 3. Just a loop to find out smallest number
0