![]() |
【转帖】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. |