-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathinsert.ts
More file actions
64 lines (63 loc) · 1.34 KB
/
Copy pathinsert.ts
File metadata and controls
64 lines (63 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import { DwgPoint3D } from '../common'
import { DwgAttribEntity } from './attrib'
import { DwgEntity } from './entity'
export interface DwgInsertEntity extends DwgEntity {
/**
* Entity type
*/
type: 'INSERT'
/**
* Variable attributes-follow flag (optional; default = 0); if the value of attributes-follow
* flag is 1, a series of attribute entities is expected to follow the insert, terminated by
* a seqend entity
*/
isVariableAttributes?: boolean
/**
* Block name
*/
name: string
/**
* Insertion point (in OCS)
*/
insertionPoint: DwgPoint3D
/**
* X scale factor (optional; default = 1)
*/
xScale: number
/**
* Y scale factor (optional; default = 1)
*/
yScale: number
/**
* Z scale factor (optional; default = 1)
*/
zScale: number
/**
* Rotation angle (optional; default = 0)
*/
rotation: number
/**
* Column count (optional; default = 1)
*/
columnCount: number
/**
* Row count (optional; default = 1)
*/
rowCount: number
/**
* Column spacing (optional; default = 0)
*/
columnSpacing: number
/**
* Row spacing (optional; default = 0)
*/
rowSpacing: number
/**
* Extrusion direction (optional; default = 0, 0, 1)
*/
extrusionDirection: DwgPoint3D
/**
* Attributes associated with the INSERT entity
*/
attribs: DwgAttribEntity[]
}