OakPDT Drawing

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=3D and CAD/CAM Models }} == Overview == '''OakPDT''' is a 2D parametric CAD system for RISC OS. On RISC OS systems, files in this...")
 
Line 24: Line 24:
 
| 24 || Array || <code>s</code> symbol table entries
 
| 24 || Array || <code>s</code> symbol table entries
 
|-
 
|-
| (s * 12) + 0 ||
+
| || Integer || Size of drawing definition (<code>v</code>)
 +
|-
 +
| || Array || <code>v</code> bytes
 +
|-
 +
| || Byte || Paper size
 +
|-
 +
| || Struct || Window definition
 +
|-
 +
| || Struct || Grid information
 +
|-
 +
| || Struct || Text information
 +
|-
 +
| || Struct || Dimension information
 +
|-
 +
| || Struct || Line style information
 
|-
 
|-
 
! colspan="3" | Symbol table entry
 
! colspan="3" | Symbol table entry
Line 39: Line 53:
 
|-
 
|-
 
| 8 || Integer ||
 
| 8 || Integer ||
 +
|-
 +
! colspan="3" | Window definition
 +
|-
 +
| 0 || Double ||
 +
|-
 +
| 8 || Double ||
 +
|-
 +
| 16 || Double ||
 +
|-
 +
| 24 || Double ||
 +
|-
 +
! colspan="3" | Grid information
 +
|-
 +
| 0 || Double ||
 +
|-
 +
| 8 || Double ||
 +
|-
 +
| 16 || Double ||
 +
|-
 +
| 24 || Double ||
 +
|-
 +
| 32 || Integer ||
 +
|-
 +
| 36 || Integer ||
 +
|-
 +
! colspan="3" | Text information
 +
|-
 +
| 0 || Double ||
 +
|-
 +
| 8 || Double ||
 +
|-
 +
| 16 || Double ||
 +
|-
 +
| 24 || Integer ||
 +
|-
 +
! colspan="3" | Dimension information
 +
|-
 +
| 0 || Double ||
 +
|-
 +
| 8 || Double ||
 +
|-
 +
| 16 || Double ||
 +
|-
 +
| 24 || Double ||
 +
|-
 +
| 32 || Integer ||
 +
|-
 +
| 36 || Integer ||
 +
|-
 +
| 40 || Integer ||
 +
|-
 +
| 44 || Integer ||
 +
|-
 +
! colspan="3" | Line style information
 +
|-
 +
| 0 || Integer ||
 +
|-
 +
| 4 || Integer ||
 +
|-
 +
| 8 || Integer ||
 +
|-
 +
| 12 || Integer ||
 
|-
 
|-
 
|}
 
|}

Revision as of 11:18, 10 October 2022

File Format
Name OakPDT Drawing
Ontology

Overview

OakPDT is a 2D parametric CAD system for RISC OS. On RISC OS systems, files in this format typically have a filetype of CAD ("PDT Dwg").

Format details

File Header
0 Byte Major version number of the file format (always 1)
1 Byte Minor version number of the format
  • 2 corresponds to OakPDT v2.50 (17 November 1990)
2 Null-terminated string The_Design_System or Oak_P_D_T_Drawing
20 Integer Number of symbols (s)
24 Array s symbol table entries
Integer Size of drawing definition (v)
Array v bytes
Byte Paper size
Struct Window definition
Struct Grid information
Struct Text information
Struct Dimension information
Struct Line style information
Symbol table entry
0 Byte
1 Byte
2 Byte
3 Byte
4 Integer
8 Integer
Window definition
0 Double
8 Double
16 Double
24 Double
Grid information
0 Double
8 Double
16 Double
24 Double
32 Integer
36 Integer
Text information
0 Double
8 Double
16 Double
24 Integer
Dimension information
0 Double
8 Double
16 Double
24 Double
32 Integer
36 Integer
40 Integer
44 Integer
Line style information
0 Integer
4 Integer
8 Integer
12 Integer
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox