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

yang686526 2009-05-07 06:06 PM

【转帖】using Odgigeometrysimplifier In Odgibasevectorizer
 
using odgigeometrysimplifier in odgibasevectorizer
using odgigeometrysimplifier in odgibasevectorizer
hi,
i'm using odgibasevectorizer-derived class to get 3d geometry of drawing (by odgibasevectorizer::draw). everything is ok, circle() and polyline() are called with wcs coordinates, but how to use odgigeometrysimplifier to make something like odgigeometrysimplifier:olylineout called instead of circle() ? (i still want to get wcs coordinates).
similar problem - converting complex to simple polygons...
maybe i should use other class from the hierarchy instead of odgibasevectorizer ?
tia
best regards,
michal sliwka

see .
sincerely yours,
george udov
hi,
when i put to this sample pdb->getactivelayoutbtrid() (programmicaly) and it's not modelspace but layout with some viewports, then only two polygons are vectorised (the paper), but none of viewports. is it correct? how to modify this example to output also elements in viewpors (pushing and popping clips etc)?
tia
regards,
michał Śliwka

odgetgeomex is sample for getting geometry of single entity. its main purpose is to explain how to customize oddbentity::explode functionality.
for getting all layout geometry, it is necessary to use gs library. odvectorizeex sample illustrates this.
sincerely yours,
george udov


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