Skip to content

michal-josef-spacek/CAD-Format-DWG-AC1_2

Repository files navigation

NAME
    CAD::Format::DWG::AC1_2 - Read AutoCAD 1.2 DWG file.

SYNOPSIS
     use CAD::Format::DWG::AC1_2;

     my $dwg = CAD::Format::DWG::AC1_2->new;
     my $dwg = CAD::Format::DWG::AC1_2->from_file($dwg_file);
     my $entities_ar = $dwg->entities;
     my $header = $dwg->header;

DESCRIPTION
    In distribution is kaitai structure definition file dwg_ac1_2.ksy which
    described AutoCAD DWG format version AC1.2.

METHODS
  "new"
     my $dwg = CAD::Format::DWG::AC1_2->new;

    Constructor.

    Returns instance of object.

  "from_file"
     my $dwg = CAD::Format::DWG::AC1_2->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_2::Entity
    instances.

  "header"
     my $header = $dwg->header;

    Get header of DWG file.

    Returns instance of CAD::Format::DWG::AC1_2::Header object.

DEPENDENCIES
    IO::KaitaiStruct.

REPOSITORY
    <https://github.com/michal-josef-spacek/CAD-Format-DWG-AC1_2.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

Releases

No releases published

Packages

No packages published