PDA

View Full Version : importing from CAD model



TheKedge
11th April 2007, 11:10
Hello All,
Ok, I've got no experience with the following so any help or suggestions are welcome.

I've got a CAD program (SolidWorks) that can export it's model into several formats: paraSolid, VRNL, STEP, ACIS, 3Dxml and some more.
Can I import or read in any of these file types using Qt (or anything else) to use as a GL model so that I can get it onto a widget? I'd like a 3D interactive view of the object.

thanks
K

high_flyer
11th April 2007, 12:20
Can I import or read in any of these file types using Qt
No - Qt does not support that, you will have to use third party sulutions.
openvrml (http://www.openvrml.org) looks interesting...

pdolbey
11th April 2007, 19:26
Many open source projects are using OpenCascade for handling the CAD data - it offers its own rendering subsystem which I have converted into a Qt4 widget on http://myweb.tiscali.co.uk/dolbey/QtOpenCascade/ but you need to grab the core libraries from http://www.opencascade.org - I've also got other QObject derived classes for handling the data model and i/o. It will handle IGES and STEP files, plus its own BREP model, with some limited support for stereolithography STL files. FreeCAD on SourceForge also uses OpenCascade as a data model but renders through a Coin3d OpenInventor widget - its currently porting from Qt3 to 4.

There's also BRL-CAD which isn't Qt based.

But its back to the old question - what's the requirements?

Pete