-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
64 lines (41 loc) · 1.29 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
NAME
CAD::Format::DWG::AC1_40 - Read AutoCAD 1.40 DWG file.
SYNOPSIS
use CAD::Format::DWG::AC1_40;
my $dwg = CAD::Format::DWG::AC1_40->new;
my $dwg = CAD::Format::DWG::AC1_40::from_file($dwg_file);
my $entities_ar = $dwg->entities;
my $header = $dwg->header;
DESCRIPTION
In distribution is kaitai structure definition file dwg_ac1_40.ksy which
described AutoCAD DWG format version AC1.40.
METHODS
"new"
my $dwg = CAD::Format::DWG::AC1_40->new;
Constructor.
Returns instance of object.
"from_file"
my $dwg = CAD::Format::DWG::AC1_40->from_file($dwg_file);
Create instance of object from DWG file.
Returns instance of object.
"entities"
my $entities_ar = $dwg->entities;
Get list of entities in DWG file.
Returns reference to array with CAD::Format::DWG::AC1_40::Entity
instances.
"header"
my $header = $dwg->header;
Get header of DWG file.
Returns instance of CAD::Format::DWG::AC1_40::Header object.
DEPENDENCIES
IO::KaitaiStruct.
REPOSITORY
<https://github.com/michal-josef-spacek/CAD-Format-DWG-AC1_40.git>
AUTHOR
Michal Josef Špaček <mailto:[email protected]>
<http://skim.cz>
LICENSE AND COPYRIGHT
© 2021-2023 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.01