-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
116 lines (75 loc) · 2.47 KB
/
README
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
NAME
CAD::Format::DWG::AC2_10 - Read AutoCAD 2.10 DWG file.
SYNOPSIS
use CAD::Format::DWG::AC2_10;
my $dwg = CAD::Format::DWG::AC2_10->new;
my $dwg = CAD::Format::DWG::AC2_10::from_file($dwg_file);
my $blocks_ar = $dwg->blocks;
my $entities = $dwg->entities;
my $header = $dwg->header;
my $layers_ar = $dwg->layers;
my $linetypes_ar = $dwg->linetypes;
my $styles_ar = $dwg->styles;
my $views_ar = $dwg->views;
my $block_entities = $dwg->block_entities;
DESCRIPTION
In distribution is kaitai structure definition file dwg_ac2_10.ksy which
described AutoCAD DWG format version AC2.10.
METHODS
"new"
my $dwg = CAD::Format::DWG::AC2_10->new;
Constructor.
Returns instance of object.
"from_file"
my $dwg = CAD::Format::DWG::AC2_10->from_file($dwg_file);
Create instance of object from DWG file.
Returns instance of object.
"blocks"
my $blocks_ar = $dwg->blocks;
Get list of blocks in DWG file.
Returns reference to array with CAD::Format::DWG::AC2_10::Block
instances.
"entities"
my $entities = $dwg->entities;
Get list of entities in DWG file.
Returns CAD::Format::DWG::AC2_10::RealEntities instance.
"header"
my $header = $dwg->header;
Get header of DWG file.
Returns instance of CAD::Format::DWG::AC2_10::Header object.
"layers"
my $layers_ar = $dwg->layers;
Get list of layers in DWG file.
Returns reference to array with CAD::Format::DWG::AC2_10::Layer
instances.
"linetypes"
my $linetypes_ar = $dwg->linetypes;
Get list of line types in DWG file.
Returns reference to array with CAD::Format::DWG::AC2_10::Linetype
instances.
"styles"
my $styles_ar = $dwg->styles;
Get list of styles in DWG file.
Returns reference to array with CAD::Format::DWG::AC2_10::Style
instances.
"views"
my $views_ar = $dwg->views;
Get list of views in DWG file.
Returns reference to array with CAD::Format::DWG::AC2_10::View
instances.
"block_entities"
my $block_entities = $dwg->block_entities;
Get list of block entitites.
Returns CAD::Format::DWG::AC2_10::RealEntities instance
DEPENDENCIES
IO::KaitaiStruct.
REPOSITORY
<https://github.com/michal-josef-spacek/CAD-Format-DWG-AC2_10.git>
AUTHOR
Michal Josef Špaček <mailto:skim@cpan.org>
<http://skim.cz>
LICENSE AND COPYRIGHT
© 2021-2023 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.01