




已阅读5页,还剩3页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Dwg文件格式an attempt to specify the DWG(R12)file format using the BFF grammer forBinary files。AcknowledgementsI would like to thank reoni urban for hisContributions。definition of the elementary elementsTypedef word :=Byte : b1,byte : B2return(word)f |(word)s 8)。Typedef long word longgp:=Byte : B1、byte : B2、byte : B3、byte : B4长世界B1 |(长世界B2 8)|(长世界B3 16) |(长世界B4 24)。Typedef longword longword :=Byte : B1、byte : B2、byte : B3、byte : B4长世界B1 |(长世界B2 8)|(长世界B3 16) |(长世界B4 24)。Definition of the whole fileRootddwg _ file :=begin : end(Char12 :版本、Byte、word、word、word、byte、Longgp:p _ entities,longgp:p _ entend,Longgp:p _ blocksec,byte 4,longgp:p _ bsend,byte 4,Tablepos : block_table、Tablepos : layer_table、Tablepos : style_table、Tablepos : ltype_table,Tablepos : view_table、Header,cur :0x3EFbyte*,Table pos: UCS _ table,cur:0x500 byte *,Table pos: vport _ table,byte 8、Table pos: appid _ table,byte 6,Table pos: dimstyle _ table,cur 33600x6fbyte *,Table pos: p13 _ table,bytes 38,p _ entities : p _ entendentities : ents,byte 19,block _ table . start :blocks : block _ table,layer _ table . start :layer : layer _ table,style _ table . start :styles : style _ table,ltype _ table . start :ltypes : ltype _ table,view _ table . start :table : view _ table,UCS _ table . start :table : UCS _ table,vport _ table . start : vport _ table . endtable : vport _ table、appid _ table . start :appids : appid _ table,dimstyle _ table . start :table : dimstyle _ table,p13 _ table . start :table : p13 _ table,p _ block sec : p _ bsendentities : blocks,bytes 36,Longgp=p _ entities,longgp=p _ entend,Longp=blocksec,longp=bsend,Bytes12、Bytes6、Longgp=block _ table.start,bytes 6,Longgp=layer _ table.start,bytes 6,Longgp=style _ table.start,bytes 6,Longgp=ltype _ table.start,bytes 6Longgp=view _ table.start,bytes 6,Longp=ucs_table.start,bytes6 6,Longgp=vport _ table.start,bytes 6,Longgp=appid _ table.start,bytes 6,Longgp=dimstyle _ table.start,bytes 6,Longp=p13_table.start,bytes6 6,长gpbytes *、)。A table positionTablepos :=单词: size,长: NR、长: start、The headerHeader :=沃德,Point(TRUE) : inbase、Point(TRUE) : extmin、Point(TRUE) : extmax、Point(FALSE) : limmin、Point(FALSE) : limmax、Double4、Byte2、Double2、Byte56、Double3、Byte18、双份。The block tableBlocks :=(大小(Byte : flag、Char32 : name、Word : used、Byte、word、byte、word、Check_2),以获取详细信息)nr : blocks_info,Check_32。Check_2 :=byte2.Check_32 :=byte32.The layer tableLayers :=(大小(Byte : flag、Char32 : name、Word : used、Word :颜色、Word :样式、Check_2),以获取详细信息)nr : layer_info,Check_32。The style tableStyles :=(大小(Byte : flag、Char32 : name、Word、double 3、byte、double、char 128、Check_2),以获取详细信息)nr : style_info,Check_32。The line-type tableLtypes :=(大小(Byte : flag、Char32 : name、Word、char48、byte、Byte、double13、Check_2),以获取详细信息)nr : ltype_info,Check_32。The application identifier tableAppids :=(大小(Byte : flag、Char32 : name、沃德,Check_2),以获取详细信息)nr : appid_info、Check_32。The other tablesTable :=(大小(Byte : flag、size-3byte*、Check_2),以获取详细信息)nr、Check_32。The entities(Experimental)Entities :=(byte : kind、Byte : flag、单词: length,length-4(Word : layer、单词: opts,if(flag 1)then byte : color else color=0 fi,if(flag0x 40)then byte : extra else extra=0 fi,If (extra 2) then xdata fi、If (flag 2) then word : type fi、If (flag 4 kind 2 kind!=22) then double : z fi,If (flag 8) then double : th fi、If (flag0x20) then handle fi、If (extra 4) then word : paper fi、交换机(kind)case 13360/* LINE */Point(!(flag 4): L10,Point(!(flag 4): l11,if(opts 1)then point(true): l 210 fi,If (opts 2) then double : l38 fi、Case 23360/* point */Point(!(flag 4): L10,if(opts 1)then point(true): l 210 fi,If (opts 2) then double : l38 fi、case :/* CIRCLE */Point(FALSE) : L10、Double : l40、if(opts 1)then point(true): l 210 fi,If (opts 2) then double : l38 fi、case 43360/* SHAPE */Point(FALSE) : L10、Word : L2、if(opts 1)then point(true): l 210 fi,If (opts 2) then double : l38 fi、case 73360/* TEXT */Point(FALSE) : L10、Double : l40、字串: L1、If (opts 1) then double : l50 fi、If (opts 2) then double : l41 fi、If (opts 4) then double : l51fi,/*?*/If (opts 8) then byte : l7 fi、If (opts0x10) then byte : l71 fi、If (opts0x20) then byte : l72 fi、if(opts0x 40)then point
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年文化产业金融支持政策与融资渠道的整合与创新发展报告
- 水资源保护与可持续利用技术研究报告
- 地热能源供暖技术在2025年北方农村地区的推广应用挑战报告001
- 江西省赣州宁都县联考2025年英语八下期中考试试题含答案
- 中国养老三支柱
- 2025届浙江省宁波江北区四校联考英语八年级第二学期期末质量跟踪监视试题含答案
- 两只小象说课课件
- 三极管基础知识课件
- 电气特种作业培训
- 招生沟通技巧培训
- 百度公司环境管理制度
- 特殊工时制管理制度
- 2024-2025学年广东人教版高一英语第二学期期末练习卷(含答案)
- 统编版三年级语文下册同步高效课堂系列第一单元复习课件
- DB15-T 4061-2025 沙化土地防护灌木林(沙柳、梭梭、柠条)碳汇储量监督抽查技术规范
- 智能门锁项目可行性分析报告
- 邻里纠纷及其合法合理处理课件
- 河南省郑州市第八中学2025年七下英语期末经典试题含答案
- 中医八段锦课件
- 口腔科清洗间管理制度
- 拌合站会议管理制度
评论
0/150
提交评论