Troubleshooting with opening STEP files in Linux

Hi, I am trying to integrate Hoops Exchange 22.1 into my Qt 5.15.2 project on Ubuntu 20.04.4 LTS.
The problem is that for some STEP files the coordinates are not parsed. Although those same STEP files open without problems on Windows. Interesting that the same problem is present with Polygonica and 3mf Lib.

My qmake file:

QT -= gui

CONFIG += c++17 console

SOURCES + main.cpp

qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

INCLUDEPATH += $$PWD/libs/include/hoops
LIBS += -ldl

Do you have any idea how to solve this?

Hi Thomas,

did you verify that you were using the same import parameters for HOOPS Exchange Import part? Coordinate systems are read if the option “Construction & Reference” is true. A3DBool m_bReadConstructionAndReferences

I’m not sure how it relates to 3MF Lib or Polygonica as both cannot read STEP files, if this is important to understand the problem you have, maybe you could elaborate and eventually share a file/Captures ?

Best Regards,

Florian Maurice
Consulting Engineer

1 Like