I am running OCCT in a multithreaded environment. When I am running boolean operations on multiple threads (and by this I don't mean the runParallel option of BRepAlgoAPI_Algo), I experience crashes, despite there are no shared data between those threads (I make copies of the shapes, for every threa
I created non-rational BSpline curve m_geomBSpline = new Geom_BSplineCurve(Poles, Knots, Mults, degree); and then added a weight m_geomBSpline->SetWeight(2,0.5); After that I received an error in BSplCLib::BuildCache in code for (ii = 1 ; ii CacheWeights(ii) = dc.poles[LocalIndex] * LocalValue ; Loc
Hello, I've got an issue when using Geom2dAPI_InterCurveCurve with Geom2d_OffsetCurve. This is a simplified version of what I'm doing: am I missing something? Handle( Geom2d_Line ) hLine1 = new Geom2d_Line( gp_Pnt2d( 1.0, 0.0 ), gp_Dir2d( 0.0, 1.0 ) ); Handle( Geom2d_Line ) hLine2 = new Geom2d_Line(
Due to the default tolerance of 1e-7, we cannot build a tiny box whose size is smaller than the tolerance with BRepPrimAPI_MakeBox function. However, when I set the tolerance smaller, I cannot do it also. Please check if it is a bug or what I did is not right. BRepBuilderAPI::Precision(1e-10); BRepP
This topic is actually not pure Modeling topic, while Modeling and Data Exchange issue. The problem I recently met lies in reconstructing the attributes assignment of the subshapes in the sewed model. Basically, the following example: I import the model, which contains only faces (no shell, no solid
Hello Team, I have some shell which has a lot of faces on the same plane ( like chess cells 8x8 ). I try to use ShapeUpgrade_UnifySameDomain, but without success. Could you say what is wrong or advise another way to simplify shell. Thanks in advance. With respects, Author. Here my code below: ShapeU
I am working with the BRepFilletAPI_MakeFillet class. here is my code:- BRepFilletAPI_MakeFillet mkFillet(theShape); mkFillet.Add(2.2,theEdge); try{ mkFillet.Build(); } catch(Standard_Failure ex){ ///********************** } catch(...){ return; } the program is breaking after executing this line :-