For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

BRepAlgoAPI_Cut bug

Igor Vas's picture
Forums: 

Hi!
I would like to report a bug, but not sure in which way should I do it.

The problem is "BRepAlgoAPI_Cut produces empty result for 2 intersecting geometries (OCCT 7.4.0)" 

BRepAlgoAPI_Cut boolean_brep_algo;

TopTools_ListOfShape argument_shapes;
argument_shapes.Append(operand1);
TopTools_ListOfShape tool_shapes;
tool_shapes.Append(operand2);

boolean_brep_algo.SetFuzzyValue(1.e-10);
boolean_brep_algo.SetArguments(argument_shapes);
boolean_brep_algo.SetTools(tool_shapes);
boolean_brep_algo.SetRunParallel(false);

boolean_brep_algo.Build();

TopoDS_Shape result;
result = boolean_brep_algo.Shape();

operand1 and operand2 files are attached.

Thanks in advance for any help you can provide

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.