Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Open Human Readable Computer Aided Design file format

by Rhandom (Curate)
on Sep 07, 2004 at 16:42 UTC ( #389131=note: print w/replies, xml ) Need Help??

in reply to Open Human Readable Computer Aided Design file format

I also checked this out some time ago. It is a great idea - but is probably only one of several solutions (and I'm sure this isn't the forum to discuss them - although it is probably better to think about them in advance). For example, it is also possible to envision a database backend where the entities are store in tables. With proper additions, any of the revision tracking is available (although branching would be difficult). I had been working on a CAD distribution a year ago that had a DB connection (sqlite in this case) as an optional backend, but have had other projects that have kept me from recent development and releases.

In a database vs CVS vs someother format discussion there are a few issues that are useful to think about.
  • CVS is already very functional
  • Databases are already very functional
  • Various CAD formats are obviously very functional
  • CVS is open, revision tracking is easy
  • Database interaction is open, revision tracking is possible
  • Various CAD formats are usually proprietary, revision tracking is not as easy (if even possible)
  • CVS storage in this case requires one fair sized file for each entity, there is a bit of CVS overhead for checking in and maintaining drawings with thousands of lines (eventually becoming painfully slow)
  • Database storage has one line per entity, with properly indexed rows, thousands of lines vs 1 line are nearly the same access time. Storage size is limited by the database engine.
  • Various CAD formats have various benefits - some binary formats may be small, some text formats may be difficult to process, some XML formats may be huge - there are a host of trade offs.
  • CVS storage is typically easy to access from anywhere (although checkout of huge files is a pain).
  • Database storage is typically easy from anywhere (although copying files is a pain).
  • Various CAD files are typically easy to access from anywhere (maintaining concurrency between documents and updating revisions everywhere is a pain).

So - which is the best solution? I would say, create interfaces that support them all. As for which you should use? Be wary - they all have pitfalls.

As for the comment "perl is not the solution for long term CAD implementations." I would revise that to say Perl 5 is not the solution, Perl 6 will be a different story.

my @a=qw(random brilliant braindead); print $a[rand(@a)];
  • Comment on Re: Open Human Readable Computer Aided Design file format

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://389131]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2018-06-23 01:32 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.