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

yang686526 2009-05-07 04:21 PM

【转帖】starting In Dwgdirec
 
starting in dwgdirect
starting in dwgdirect
hi,
im starting here and like this powerfull library.
well, i only need import dxf files (and show if not very complex) to write in another proprietary format, used in my company application. my plans in the future is include native support for this files but in moment its only import...
where i can find a sample very simple to start use this library ?
i see the samples but i really dont know find where i cant start...
[]s,
celso
second the motion
unfortunately i don't have any assistance to offer, i would just like to make the same request. for our applications needs we just need to be able to open the dwg file and extract the raw geometry. we have our own rendering technology. i too am having trouble trying to figure out where to start since there is such a large mass of libraries and classes, many of which seem to be targeting towards various rendering technologies.
is there some sort of core to the library just for accessing the actual data in the dwg/dwf/dxf files?
thanks,
mike
primitives
hi,
and i have another problem:
to convert, i need change all objects to lines, circles and points. actually my application work only with this primitives...
have a function to make this ?
[]s,
celso
hi celso,
looks like your needs could be well served by the vectorization framework. take a look at vectorizing applications in developer's guide section of the help file for an overview. there are also sample vectorization applications in the examples.
hope this helps.
regards,
varun


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