Now there are some new situations. I found that when I construct a TColStd_Array1OfReal in Debug mode, the default element is a small value, such as -6.277e+66; but when I generate the same TColStd_Array1OfReal in Release mode , the default elements are elements from 0 to 1. The following is my...
Okay, now I want to explain this problem in another way. I installed OCC using the windows installer "Open CASCADE Technology installation procedure for Windows" provided on the OCC official website, and then I used VS2022 to build the project. In the project, when I run the program in Debug...
Hello everyone, I recently used the OpenCASCADE library in VS2022. When I linked to the library in Debug form in the project, the program ran normally, but when I linked the library in Release/MT form, some methods reported exceptions. , such as the SetUKnots method of the Geom_BSplineSurface...
Hello, everyone. I'm RGW.
Recently I've had some problems reconstructing a surface using points.
I am using the sample/mfc/Geometry in the opencascade folder for testing.
The test results are shown in the figure below. When my point set is close to the origin, the result is better, but when my...
Maybe I can solve the problem. When I set the tolerance of BRepOffsetAPI_Sewing a little larger, such as 1.0, the generated entity is not hollow.
Does this mean my shell is not closed? If so, I have no way to detect him
My solid is generated from shell. Using BRepBuilderAPI_MakeSolid, it should be a solid instead of a hollow solid under normal circumstances.
Does this mean that there is something wrong with my shell? How can I detect and fix it?
Hi everyone, I recently had some problems writing a shape of occ to stp file.
I have an occ solid shape, and then I use the following code to write it to the stp file.
Hi bros, i'm RGW.
Recently I ran into another problem when rebuilding surfaces. The basic discussion of the rebuilding surface problem can be found in this question. http://analysissitus.org/forum/index.php?threads/fail-to-convert-geom_bsplinesurface-to-topods_face.249/
The problem I have now...
Ok, I understand what you mean. There is indeed a problem with this model. It is indeed partly a closed shell and partly a face. If the model is normal, the result obtained by using BRepOffsetAPI_Sewing is normal.
Thank you for your help.
Sorry for not getting back to you in time, can you show me the picture?
What I want to do is go through all the surfaces of the model in this file and use those faces to generate a solid version of the model. My idea is to first sew the face together to generate a shell, and then use the shell...
I've tried changing the tolerances, but the results still don't work. My model is as follows, what I want to do is to regenerate a solid using the faces of the model. I hope you can help me, thank you very much.
Hello everyone, I am rgw.
I've recently had some problems building solids out of a set of faces, and by looking at discussions online, I've found that shells constructed from faces and bodies from shells solve my problem.
And when I used BRepBuilderAPI_Sewing to sew faces, I encountered some...
Hi, i'm RGW.
I use OCCT7.6.0 to generate the debug and realease versions of the same program respectively, the debug version can run normally, but the realease version has an error. What is the reason for this problem and how can I fix it?
The code I am using is as follows.
Thank you for your help.