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

yang686526 2009-05-05 10:35 AM

【转帖】exraster
 
exraster
exraster
the example program inside of allexamples exraster is not found inside the examples folder as a project. why is this, and what is it this program does?, is there any documentation for it anywhere? i am looking to rasterize vectors, and i'm just wondering if this program would be of any use. any help or tips greatly appreciated.
cheers,
paul
exgirasterimage.cpp is not a stand-alone app, but rather a set of raster utility funcitons used by dwgdirect. if you run our odamfcapp sample and choose edit/registered commands/oda example commands/bmpout, it will save the current drawing as a bmp file. this command is interactive, but you can also execute it non-interactively.

exraster
i am looking to convert dwg files to .g4 files. i was able to see from the odamfcapp example that exraster can be used to create a .bmp file. would it be possible for me to use this raster example, perhaps in combination with some form of odvectorizeex, to instead create a .g4 file? any advice is helpful, and if this is not the right path to head down, please let me know.
thanks,
paul


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