
Tue, 06/05/2007 - 23:26
Forums:
Hello,
I´m new to Open Cascade and wonder if it is possible to read out STEP-files maybe by using one of the Samples. Furthermore I´d like to know if Open Cascade provides an opportunity to triangulate 3D-Models.
It would be great to get help. My fingers hurt cause of searching with Google excessively.
Thanks for any help!
Best regards,
Patrick
Tue, 06/05/2007 - 23:38
Oh, I forgot.
I know there is a Sample in the "Standard\MFC" folder, where it is possible to triangulate a given mesh. Is there a possibility to apply this functionality to one of my own STEP-files easily?
Greets,
Patrick
Wed, 06/06/2007 - 00:28
Hi Patrick,
you can use STEP files and triangulate them. Take a look at the Import/Export sample for reading (and displaying if wished).
If you just want to triangulate them you have to use the TopExp_Explorer to iterate over the shapes to triangulate the faces.
Greets,
Patrik
Wed, 06/06/2007 - 13:47
Thanks for your quick reply!
So I´m getting this right? I´ll have to write a C++ application (for instance using Visual Studio 2005 + OpenCascade Library) for triangulation?
I´ve never written any line of C++ Code. Any chance to use Java, C# or maybe Haskell or Prolog instead ;) ?
Till now I´m a little bit of a dumb-ass concerning Open Cascade and its functionality...
Regards,
Patrick
Wed, 06/06/2007 - 15:21
Hi,
there's an Java interface for OCC - but don't ask me about it!
Perhaps you should take a look at JCAE (http://jcae.sourceforge.net)...
Greets,
Patrik