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

yang686526 2009-05-05 08:50 AM

【转帖】dxf files with walls, panels, and studs
 
dxf files with walls, panels, and studs
dxf files with walls, panels, and studs
we have dxf files that represent walls made up of studs, boards, etc. we are developing a software application in c++ which needs to interrogate these dxf files to determine the height of the studs (in inches), the number of inches between each stud, the height and width of the wall, etc. this
information is then to be converted into a file format which the automated manufacturing machines (nailers, saws, etc) can understand. can dwgdirect, c++ version help me to interrogate the dxf file for these measurements? if so, how exactly would i use the dwgdirect c++ classes to accomplish this? is the relevant information in the objects section of the dxf file, or a different section(s)? i have attached a dxf file i am working with. any input would be greatly appreciated.
best regards, charles milett
attached files
your file contains nothing but lines, polylines and a couple of dimension entities. the lines and polylines are located on 2 layers: pieces and panelcs. maybe the layer names can help..
but the only other information contained in file is lines and polylines points. how to interprete them (which polyline represents a stud or a board) this is all up to your program.
where is no additional information in objects section etc.
only geometry data (polylines residing in model space).
btw, the entities have extended data attached to them. but this is turbocad's round-trip data like "device width" property for polylines and font for text entities.
maybe developers of application which saved the file could give you some hints.
sergey slezkin


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