几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】dwg tessellated expor (http://www.dimcax.com/hust/showthread.php?t=15892)

yang686526 2009-05-05 08:07 AM

【转帖】dwg tessellated expor
 
dwg tessellated export
dwg tessellated export
hi all,
i'm new to dwgdirect and i would like to ask someone to "kick me in the right direction".
i need to read 3d data from dwg model space and save them in some internal format (export the model - or rather import dwg model into existing application). the internal format supports only triangular brep, so geometry should be tessellated.
could you please direct me to classes/examples i should check in order to solve this problem?
thanks in advance,
zbynek
you can either look at the odvectorizeex example for direction.
or as i process the files is i iterate through the database itself, and items like lines, arcs, circles, polylines etc.. i process them myself, (ie tesselate them myself due to constraints i need for our own product), then for things like 3dsolids and adt objects i use the vectorize framework to convert to triangles.
hope this helps
cheers
jason


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