STEP file source code

Hi all,
I'm currently writing an open source electronic design application, and would like it to have the ability to import STEP data. Would it be possible to use code from Open Cascade in my own application? I.E. does the license allow that?

If so, could anyone give me a pointer as to how to go about extracting the STEP file functionality? The amount of code is overwhelming!

Many thanks in advance for any help.

Hugo Elias -

Matthias Teich's picture


Yes, I think you may use it.
Details can be found here ""

The import of a STEP file is easy:

STEPControl_Reader Reader;
TopoDS_Shape shape = Reader.OneShape();

Then you have a TopoDS_Shape you can work with.