[cad-linux-dev] CAD::Drawing::IO plugin architecture

  • From: Eric Wilhelm <ewilhelm@xxxxxxxxxxxxx>
  • To: cad-linux-dev@xxxxxxxxxxxxx
  • Date: Fri, 23 Jan 2004 14:27:08 -0600

For all of you Perl-programming nuts (is it really just me?)

Coming soon:  new setup for CAD::Drawing::IO which allows additional modules 
to be easily added.

Changes to the compile-time requirements of CAD::Drawing::IO will now allow 
the presence or absence of additional IO::* modules without any changes to 
IO.pm.

What this means for most users (if there are any) is that you will no longer 
have to make code changes at the module level to eliminate the 
CAD::Drawing::IO::DWGI requirement (which means you can work on little 
geometry programs in your own little world, leaving autocad and the OpenDWG 
toolkit out of it.)

What this means for Perl module developers:  easily add new formats to the 
capabilities of CAD::Drawing simply by making a module like 
CAD::Drawing::IO::STEP which provides a load() and/or save() function and 
declares a couple of variables to make itself known.

This easily makes room for the addition of a wrapper on the Dime dxf library, 
or on the python dwg library by Art Haas or possibly just a pure-perl 
implementation of those.

Comments / suggestions welcome.  

I plan to redo the makefiles for all of these module this weekend, so 
hopefully most of them start to be easily installable via cpan.

--Eric
-- 
"Unthinking respect for authority is the greatest enemy of truth."
                                        --Albert Einstein


Other related posts:

  • » [cad-linux-dev] CAD::Drawing::IO plugin architecture