How to check that a STL CAD model is loaded successfully in Qt3D?
Unsolved
General and Desktop
-
The normal way of loading an stl cad modle is,
Qt3DRender::QMesh *CustomMesh = new Qt3DRender::QMesh(sceneRoot);
CustomMesh->setSource(QUrl::fromLocalFile("D:\temp8\f2m.STL"));However, I cannot judge in the code that the cad modle is loaded successfully or not.
Thank you.
-
The normal way of loading an stl cad modle is,
Qt3DRender::QMesh *CustomMesh = new Qt3DRender::QMesh(sceneRoot);
CustomMesh->setSource(QUrl::fromLocalFile("D:\temp8\f2m.STL"));However, I cannot judge in the code that the cad modle is loaded successfully or not.
Thank you.