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

yang686526 2009-05-06 11:07 PM

【转帖】problem with 3dsolid
 
problem with 3dsolid
problem with 3dsolid
hello,
attached is drawing containing problematic 3dsolid object. somehow holes in the 3dsolid object are not shown correctly.
i have tried to use two different options while handling this object:
option #1:
...
oddb3dsolidptr psolid;
psolid = pent; // pent is oddbentityptr*
// explode to 3d polyface mesh
odrxobjectptrarray objectarray;
psolid->explodegeometry(objectarray);
...
option #2:
...
odgicontextdumper ctx(pent->database());
// odgiworlddrawdumper is inherited from odstaticrxobject<odgiworlddraw>
odgiworlddrawdumper gd(pdwgmanager, pent, psymbol);
gd.setcontext(&ctx);
pent->worlddraw(&gd);
...
do you have any ideas what might be wrong?
regards,
antti
attached files
hi,
it is limitaton of acis renderer. renderer sometimes skip holes. you can change normaltolerance parameter of triangulation params to 1. (default 15), it will fix problem in mfcapp.


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