几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】odassurfbody and proxy entity (http://www.dimcax.com/hust/showthread.php?t=17426)

yang686526 2009-05-06 07:07 PM

【转帖】odassurfbody and proxy entity
 
odassurfbody and proxy entity
odassurfbody and proxy entity
hello,
i use the dwgdirect 2.03 and after studing main given examples i don't know how to get the 3d wireframe contained in the following file as it is loaded by dwg trueview 2008 (see my attached picture).
i called 'oddbentity::explode' function on odassurfbody entities without success (no curve read). i tried 'oddbentity::explodegeometry' and got some curve entities but i noticed the acdb3dpolyline, acdb2dpolyline weren't geometrically well defined.
on the other hand, i found proxy entity in this file with an original classname named acdmviewedgespline; do these proxy entities correspond with the expected result? if it is, how can i read and process them?
your help would be mcuh appreciated.
attached images
a bypass...
in the end, i found the differences between the results coming from odamfcapp and odvectorizeex examples. the first uses the assurfbody entity but the trimming curves i get are not clean. so i decide to do as the second example where i directly process the graphic entity (polylines...) by using the odgiconveyorgeometry class.
attached images (177.5 kb, 7 views)


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