查看单个帖子
旧 2009-05-05, 08:50 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)