Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting file formats #712

Open
miclog opened this issue Mar 1, 2019 · 4 comments
Open

Converting file formats #712

miclog opened this issue Mar 1, 2019 · 4 comments

Comments

@miclog
Copy link

miclog commented Mar 1, 2019

Is there a good way to write a file converter using OCE? Are there any existing examples to work from?

I would like to convert from STEP to X3D format.

The program SFA by NIST does a good job but might be slowed down by the Python interface and being in a self-contained executable. I'd like to try using the C++ library directly instead of loading it from Python using PythonOCC.

@Stinkfist0
Copy link

Have you looked into IfcOpenShell/IfcConvert?

@tpaviot
Copy link
Owner

tpaviot commented Mar 4, 2019

@carpekd
Copy link

carpekd commented Jun 2, 2020

Have a look at https://github.com/tpaviot/pythonocc-demos/blob/master/examples/core_webgl_STEP_to_X3D.py

Can this be done with OCE alone in C++?

@tpaviot
Copy link
Owner

tpaviot commented Jun 2, 2020

Generally speaking, I don't know any python program that could not be done using c++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants