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

yang686526 2009-05-07 06:27 PM

【转帖】vectorizing To 3d Display File
 
vectorizing to 3d display file
vectorizing to 3d display file
i want to export a dwg file to a 3d world coordinate display file. the concept of "device", "device coordinates", eye projections etc are meaningless in this context. essentially, i would only need to catch the geometry by overriding odgigeometrysimplifier. but it seems entangeled with odgsbasevectorizeview and the need to call odgsbasevectorizeview::update().
can i process a dwg block directly onto odgigeometrysimplifier or do i have to squize it through odgsbasevectorizeview::update() no matter what?
-rune jorgensen
www.dds.no
hi,
you can just call odgibasevectorizer::draw() passing in block pointer. use odgibasevectorizer::odgiconveyoroutput& output() method and returned interface to specify your target object that implements odgiconveyorgeometry interface (e.g. odgigeometrysimplifier).
quote:
originally posted by dmitry a. novikov
hi,
you can just call odgibasevectorizer::draw() passing in block pointer. use odgibasevectorizer::odgiconveyoroutput& output() method and returned interface to specify your target object that implements odgiconveyorgeometry interface (e.g. odgigeometrysimplifier).
hi
i've been trying to do something similar to this. when i call odgibasevectoriser::draw() i get a consistent crash in odgigeometrysimplifier::fillmode(). i have the source code for odgigeometrysimplifier (i got it from walt lounsbury) but i can't see any reason why this is happening. do you have a working example of this?
regards
andy manessis
hi,
most of our conveyor nodes require to be initialized with "draw context" (odgigeometrysimplifier::setdrawcontext()) before passing any geometry. you can obtain it via odgibasevectoriser::drawcontext().


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