Thu, 05/02/2024 - 04:45
Forums:
Hello Guys,
I could build and run the qt's FuncDemo, but when I tried to run other samples it showed this error:
Tutorial : run.sh: line 39: 10710 Segmentation fault (core dumped) ${BIN_DIR}/Tutorial
IESample : run.sh: line 37: 7338 Segmentation fault (core dumped) ${BIN_DIR}/IESample
In IESample case, when code run on this line (ApplicationWindow* mw = new ApplicationWindow();) in Main.cxx, the program was crashed.
I didn't know what happened...
What could be a problem? (Linux/Ubuntu22.04) (OCCT_7.8.0) (Qt6.5.3)
Thanks.
With respects, Dunja.
Attachments:
Thu, 05/02/2024 - 12:26
Hello, any samples that we have for occt tested on QT 5 and 4. They was not tested with QT 6.
For now I can't help you. Updates samples to QT 6 is not planned.
Best regards, Dmitrii.
Fri, 05/03/2024 - 04:40
Hello, I want to use the function like reading step file translate to STL and using VTK to show the step 3D image. like this sample (https://www.bilibili.com/read/cv23557862/)
Do you have any samples like above one by using OCCT7.8.0, please let me know.
Best regards, Dunja.
Fri, 05/03/2024 - 10:17
The referred code snippet lacks code computing triangulation (via
BRepMesh_IncrementalMesh
), thats whyStlAPI_Writer
fails. And it is unclear why would you save mesh into STL file at all if you are going to display it using VTK viewer, and why VTK...Mon, 05/06/2024 - 10:55
Hi,
Would you mind to share your STEP->STL example in occt7.8.0 ? Thanks.
Regards,
Dunja
Mon, 05/06/2024 - 11:51
Hello, please take a look into: IGES and STEP files to STL conversion issue - Forum Open Cascade Technology
Or if you use 7.8 you can use the next sample: DE_Wrapper-Sample: Harnessing OCCT DE Components with Ease - Forum Open Cascade Technology
Best regards, Dmitrii.