michal-josef-spacek / cad-format-dwg-ac1006 Goto Github PK
View Code? Open in Web Editor NEWRead AutoCAD 10 DWG file.
License: BSD 2-Clause "Simplified" License
Read AutoCAD 10 DWG file.
License: BSD 2-Clause "Simplified" License
NAME CAD::Format::DWG::AC1006 - Read AutoCAD 10 DWG file. SYNOPSIS use CAD::Format::DWG::AC1006; my $dwg = CAD::Format::DWG::AC1006->new; my $dwg = CAD::Format::DWG::AC1006::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_ac1006.ksy which described AutoCAD DWG format version AC1006. METHODS "new" my $dwg = CAD::Format::DWG::AC1006->new; Constructor. Returns instance of object. "from_file" my $dwg = CAD::Format::DWG::AC1006->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::AC1006::Block instances. "entities" my $entities = $dwg->entities; Get list of entities in DWG file. Returns CAD::Format::DWG::AC1006::RealEntities instance. "header" my $header = $dwg->header; Get header of DWG file. Returns instance of CAD::Format::DWG::AC1006::Header object. "layers" my $layers_ar = $dwg->layers; Get list of layers in DWG file. Returns reference to array with CAD::Format::DWG::AC1006::Layer instances. "linetypes" my $linetypes_ar = $dwg->linetypes; Get list of line types in DWG file. Returns reference to array with CAD::Format::DWG::AC1006::Linetype instances. "styles" my $styles_ar = $dwg->styles; Get list of styles in DWG file. Returns reference to array with CAD::Format::DWG::AC1006::Style instances. "views" my $views_ar = $dwg->views; Get list of views in DWG file. Returns reference to array with CAD::Format::DWG::AC1006::View instances. "block_entities" my $block_entities = $dwg->block_entities; Get list of block entitites. Returns CAD::Format::DWG::AC1006::RealEntities instance. DEPENDENCIES IO::KaitaiStruct. REPOSITORY <https://github.com/michal-josef-spacek/CAD-Format-DWG-AC1006.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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.