[cad-linux] Open Cascade, openDWG, and Perl
- From: Eric Wilhelm <ewilhelm@xxxxxxxxxxxxx>
- To: cad-linux@xxxxxxxxxxxxx
- Date: Thu, 22 May 2003 14:48:43 -0500
> The following was supposedly scribed by
> Thomas Schmidt
> on Thursday 22 May 2003 01:24 pm:
>Roland,
>
>Dom't worry, you do not have to deal with the complete 300mb codebase.
>You will see that it is sufficiant to deal with only 100mb. :-)
>
>Ok, honestly, OpenCascade consists out of 14.000 header files.
>Quite a beast. But the number of really important classes
>are around 200-400. This is not that much. The trick with OC
>is to know where to start. If you are interested, I can give you
>some tips to get started.=20
>
I saw a mention somewhere of a CGI program that allowed apache to act as a
code browser for OC.
>So, for me the choice to use OC was obvious. But I agree that
>writing your own modeller is definitly a interesting project.
Any chance of getting a Perl interface to it?
How could you use it to handle DWG files?
I've been working with the openDWG toolkit via a perl module built with SWIG
and it actually is starting to make me wish I knew C. I'm not doing really
complex operations, and it is all cli-based programming, so supporting a
subset of the toolkit with SWIG and turning it into a higher-level interface
has been really succesfull. Only problem is my handling of things in the
interface file doesn't quite work, so I get segfaults and such. I'm sure a
good C programmer could tell me what's wrong, but I don't know any.
I'm going to talk to my boss about open-sourcing the module. It's really just
a file-converter, so its not like we are loosing trade-secrets by doing it.
This would allow others to work from where it is now and allow me to not have
to write any more code in C.
Anyone interested in such a project?
--Eric
- Follow-Ups:
- [cad-linux] Re: Open Cascade, openDWG, and Perl
- From: Thomas Schmidt
- [cad-linux] DWF toolkit v6
- From: Guy Edwards
- References:
- [cad-linux] Re: the parametric project
- From: Roland Krause
- [cad-linux] Re: the parametric project
- From: Thomas Schmidt
Other related posts:
- » [cad-linux] Open Cascade, openDWG, and Perl
- » [cad-linux] Re: Open Cascade, openDWG, and Perl
- [cad-linux] Re: Open Cascade, openDWG, and Perl
- From: Thomas Schmidt
- [cad-linux] DWF toolkit v6
- From: Guy Edwards
- [cad-linux] Re: the parametric project
- From: Roland Krause
- [cad-linux] Re: the parametric project
- From: Thomas Schmidt