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

Failed to perform boolean cut operation in 7.1.0

kevin's picture
Forums: 

Attachment are 2 brep files exported from OCC7.1.0. 

Program exit without any error or exception when running on following line:

      brep_cut.Build();

Following is code:

//--------------------------------------

        BRepAlgoAPI_Cut brep_cut;
        TopTools_ListOfShape s1s;
        TopTools_ListOfShape forover;

        forover.Append(enitity_tool);

        s1s.Append(entity_shape);

        brep_cut.SetFuzzyValue(fuzzVal);
        brep_cut.SetArguments(s1s);
        brep_cut.SetTools(forover);

        try
        {
            brep_cut.Build();
        }
        catch (...)
        {
            cout << "brep_cut error"<< endl;
            continue;
        }

//---------------------------------------------------

//enitity_tool and entity_shape are Topo_Shape export to brep files.

Attachments: