Reading STEP files

Is there a way to read and write information in STEP files using OpenCascade API.

Tilman Leune's picture

You should check out the Documentation: "XDE User's Guide', chapter 2.7.2 "Readinfg a STEP-File".

This document is part of the OCCT-package, located in the subfolder $(OPENCASCASDE_INSTALL_DIR)/docs/xde.pdf

aleksp@yahoo.com's picture

Thanks

It seems I need an Advanced Shape Healing module in order for this to work.
Is this a part of an open source pakage (?) and/if how to initialize it.

Also, when I use #include it gives me linking error.
Does it have anything to do with Advanced Shape Healing?

Tilman Leune's picture

You need to link against at least TKXDESTEP.lib.

If this does not help, please post your linker's output

Advanced shape healing is part of the open source relase as well. There should be a guide on shape healing in the documentation folder as well.