cad 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #------------------------------------------------------------------------------
  2. # autocad: file(1) magic for cad files
  3. #
  4. # AutoCAD DWG versions R13/R14 (www.autodesk.com)
  5. # Written December 01, 2003 by Lester Hightower
  6. # Based on the DWG File Format Specifications at http://www.opendwg.org/
  7. 0 string \101\103\061\060\061 AutoCAD
  8. >5 string \062\000\000\000\000 DWG ver. R13
  9. >5 string \064\000\000\000\000 DWG ver. R14
  10. # Microstation DGN/CIT Files (www.bentley.com)
  11. # Last updated July 29, 2005 by Lester Hightower
  12. # DGN is the default file extension of Microstation/Intergraph CAD files.
  13. # CIT is the proprietary raster format (similar to TIFF) used to attach
  14. # raster underlays to Microstation DGN (vector) drawings.
  15. #
  16. # http://www.wotsit.org/search.asp
  17. # http://filext.com/detaillist.php?extdetail=DGN
  18. # http://filext.com/detaillist.php?extdetail=CIT
  19. #
  20. # http://www.bentley.com/products/default.cfm?objectid=97F351F5-9C35-4E5E-89C2
  21. # 3F86C928&method=display&p_objectid=97F351F5-9C35-4E5E-89C280A93F86C928
  22. # http://www.bentley.com/products/default.cfm?objectid=A5C2FD43-3AC9-4C71-B682
  23. # 721C479F&method=display&p_objectid=A5C2FD43-3AC9-4C71-B682C7BE721C479F
  24. 0 string \010\011\376 Microstation
  25. >3 string \002
  26. >>30 string \026\105 DGNFile
  27. >>30 string \034\105 DGNFile
  28. >>30 string \073\107 DGNFile
  29. >>30 string \073\110 DGNFile
  30. >>30 string \106\107 DGNFile
  31. >>30 string \110\103 DGNFile
  32. >>30 string \120\104 DGNFile
  33. >>30 string \172\104 DGNFile
  34. >>30 string \172\105 DGNFile
  35. >>30 string \172\106 DGNFile
  36. >>30 string \234\106 DGNFile
  37. >>30 string \273\105 DGNFile
  38. >>30 string \306\106 DGNFile
  39. >>30 string \310\104 DGNFile
  40. >>30 string \341\104 DGNFile
  41. >>30 string \372\103 DGNFile
  42. >>30 string \372\104 DGNFile
  43. >>30 string \372\106 DGNFile
  44. >>30 string \376\103 DGNFile
  45. >4 string \030\000\000 CITFile
  46. >4 string \030\000\003 CITFile
  47. # AutoCad, from Nahuel Greco
  48. # AutoCAD DWG versions R12/R13/R14 (www.autodesk.com)
  49. 0 string AC1012 AutoCad (release 12)
  50. 0 string AC1013 AutoCad (release 13)
  51. 0 string AC1014 AutoCad (release 14)
  52. # CAD: file(1) magic for computer aided design files
  53. # Phillip Griffith <phillip dot griffith at gmail dot com>
  54. # AutoCAD magic taken from the Open Design Alliance's OpenDWG specifications.
  55. #
  56. 0 belong 0x08051700 Bentley/Intergraph MicroStation DGN cell library
  57. 0 belong 0x0809fe02 Bentley/Intergraph MicroStation DGN vector CAD
  58. 0 belong 0xc809fe02 Bentley/Intergraph MicroStation DGN vector CAD
  59. 0 beshort 0x0809 Bentley/Intergraph MicroStation
  60. >0x02 byte 0xfe
  61. >>0x04 beshort 0x1800 CIT raster CAD
  62. 0 string AC1012 AutoDesk AutoCAD R13
  63. 0 string AC1014 AutoDesk AutoCAD R14
  64. 0 string AC1015 AutoDesk AutoCAD R2000