几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   How to get the boundary of any face rapidly? (http://www.dimcax.com/hust/showthread.php?t=737)

yogy 2007-05-20 09:53 AM

How to get the boundary of any face rapidly?
 
Q:
Subject: How to get the boundary of any face rapidly? SR:1-418663102

Dear,

How to get the boundary of any face rapidly?
Yogy

yogy 2007-05-20 09:53 AM

回复: How to get the boundary of any face rapidly?
 
R:
Have a look at:



Face2.GetFirstLoop/Loop2.GetNext – This will give you a list of the loop boundaries

Loop2.GetFirstCoEdge/CoEdge.GetNext – This will give you a circular list of CoEdges

CoEdge.GetEdge – This will be your boundary edge





Regards,

-Earl

yogy 2007-05-20 01:35 PM

回复: How to get the boundary of any face rapidly?
 
Q:
Earl
I don’t think so. Your mentioned way was more slowly to get the boundary of face after I compared between SolidWorks API and CATIA API.

I need get the boundary of facetedFace rapidly. How to get all vertexes of facetedFace via ITessellation interface?

Do you have any suggestions?
Yogy

yogy 2007-05-20 01:36 PM

回复: How to get the boundary of any face rapidly?
 
R:
Hello Yanhua,



Sorry about the delay on this. You could get the tessellation of a given face by calling Body2.GetTessellation and supply that one face as part of the argument array. The resulting tessellation would be of that face alone. If this is not working for you, then I will need to get an idea of what the application is that you need the boundary of a given face.





Regards,

-Earl


所有的时间均为北京时间。 现在的时间是 02:09 AM.