Deleted Added
sdiff udiff text old ( 186675 ) new ( 226048 )
full compact
1
2#------------------------------------------------------------------------------
3# $File: cad,v 1.10 2010/12/25 14:33:43 christos Exp $
4# autocad: file(1) magic for cad files
5#
6
7# AutoCAD DWG versions R13/R14 (www.autodesk.com)
8# Written December 01, 2003 by Lester Hightower
9# Based on the DWG File Format Specifications at http://www.opendwg.org/
100 string \101\103\061\060\061 AutoCAD
11>5 string \062\000\000\000\000 DWG ver. R13

--- 34 unchanged lines hidden (view full) ---

46>>30 string \372\104 DGNFile
47>>30 string \372\106 DGNFile
48>>30 string \376\103 DGNFile
49>4 string \030\000\000 CITFile
50>4 string \030\000\003 CITFile
51
52# AutoCad, from Nahuel Greco
53# AutoCAD DWG versions R12/R13/R14 (www.autodesk.com)
540 string AC1012 DWG AutoDesk AutoCad (release 12)
550 string AC1013 DWG AutoDesk AutoCad (release 13)
560 string AC1014 DWG AutoDesk AutoCad (release 14)
57# A new version of AutoCAD DWG
58# Sergey Zaykov (mail_of_sergey@mail.ru, sergey_zaikov@rambler.ru,
59# ICQ 358572321)
60# From various sources like:
61# http://autodesk.blogs.com/between_the_lines/autocad-release-history.html
620 string AC1018 DWG AutoDesk AutoCAD 2004/2005/2006
630 string AC1021 DWG AutoDesk AutoCAD 2007/2008/2009
640 string AC1024 DWG AutoDesk AutoCAD 2010/2011
65
66# KOMPAS 2D drawing from ASCON
67# This is KOMPAS 2D drawing or fragment of drawing but is not detailed nor
68# gathered nor specification
69# ASCON http://ascon.net/main/ in English,
70# http://ascon.ru/ main site in Russian
71# Extension is CDW for drawing and FRW for fragment of drawing
72# Sergey Zaykov (mail_of_sergey@mail.ru, sergey_zaikov@rambler.ru,
73# ICQ 358572321, http://vkontakte.ru/id16076543)
74# From:
75# http://sd.ascon.ru/otrs/customer.pl?Action=CustomerFAQ&CategoryID=4&ItemID=292
76# (in russian) and my experiments
770 string KF
78>2 belong 0x4E00000C Kompas drawing 12.0 SP1
79>2 belong 0x4D00000C Kompas drawing 12.0
80>2 belong 0x3200000B Kompas drawing 11.0 SP1
81>2 belong 0x3100000B Kompas drawing 11.0
82>2 belong 0x2310000A Kompas drawing 10.0 SP1
83>2 belong 0x2110000A Kompas drawing 10.0
84>2 belong 0x08000009 Kompas drawing 9.0 SP1
85>2 belong 0x05000009 Kompas drawing 9.0
86>2 belong 0x33010008 Kompas drawing 8+
87>2 belong 0x1A000008 Kompas drawing 8.0
88>2 belong 0x2C010107 Kompas drawing 7+
89>2 belong 0x05000007 Kompas drawing 7.0
90>2 belong 0x32000006 Kompas drawing 6+
91>2 belong 0x09000006 Kompas drawing 6.0
92>2 belong 0x5C009005 Kompas drawing 5.11R03
93>2 belong 0x54009005 Kompas drawing 5.11R02
94>2 belong 0x51009005 Kompas drawing 5.11R01
95>2 belong 0x22009005 Kompas drawing 5.10R03
96>2 belong 0x22009005 Kompas drawing 5.10R02 mar
97>2 belong 0x21009005 Kompas drawing 5.10R02 febr
98>2 belong 0x19009005 Kompas drawing 5.10R01
99>2 belong 0xF4008005 Kompas drawing 5.9R01.003
100>2 belong 0x1C008005 Kompas drawing 5.9R01.002
101>2 belong 0x11008005 Kompas drawing 5.8R01.003
102
103# CAD: file(1) magic for computer aided design files
104# Phillip Griffith <phillip dot griffith at gmail dot com>
105# AutoCAD magic taken from the Open Design Alliance's OpenDWG specifications.
106#
1070 belong 0x08051700 Bentley/Intergraph MicroStation DGN cell library
1080 belong 0x0809fe02 Bentley/Intergraph MicroStation DGN vector CAD
1090 belong 0xc809fe02 Bentley/Intergraph MicroStation DGN vector CAD
1100 beshort 0x0809 Bentley/Intergraph MicroStation
111>0x02 byte 0xfe
112>>0x04 beshort 0x1800 CIT raster CAD
1130 string AC1012 AutoDesk AutoCAD R13
1140 string AC1014 AutoDesk AutoCAD R14
1150 string AC1015 AutoDesk AutoCAD R2000