MantisBT - Community
View Issue Details
0024424Community[OCCT] OCCT:Modeling Algorithmspublic2013-12-01 05:252017-09-04 18:20
Aaron Michalk 
bugmaster 
normalmajor 
closedfixed 
WindowsVC++ 201032 bit
[OCCT] 6.5.5 
[OCCT] 6.6.0 
bugs modalg_7 bug24424
0024424: BRepAlgoAPI_Cut throws Standard_ConstructionError with disjoint, but adjacent solids
Executing BRepAlgoAPI_Cut with the solids from the attached file results in Standard_ConstructionError being thrown.
TopoDS_Shape a, b;
BRep_Builder builder;
std::ifstream sa("a.brep");
std::ifstream sb("b.brep");
BRepTools::Read(a, sa, builder);
BRepTools::Read(b, sb, builder);
TopoDS_Shape c = BRepAlgoAPI_Cut(a, b);
No tags attached.
zip ab.zip (107,707) 2013-12-01 05:25
https://tracker.dev.opencascade.org/
Issue History
2013-12-01 05:25Aaron MichalkNew Issue
2013-12-01 05:25Aaron MichalkAssigned To => ifv
2013-12-01 05:25Aaron MichalkFile Added: ab.zip
2013-12-01 06:27Aaron MichalkNote Added: 0027016
2017-07-26 18:21gitNote Added: 0068750
2017-07-26 18:22apvAssigned Toifv => apv
2017-07-26 18:22apvStatusnew => feedback
2017-07-26 18:23apvNote Added: 0068751
2017-07-26 18:23apvAssigned Toapv => bugmaster
2017-07-26 18:23apvStatusfeedback => tested
2017-07-26 18:23apvFixed in Version => 6.6.0
2017-07-26 18:24apvTest case number => bugs modalg_7 bug24424
2017-07-31 11:13bugmasterStatustested => closed
2017-07-31 11:13bugmasterResolutionopen => fixed
2017-09-04 18:20gitNote Added: 0070177

Notes
(0027016)
Aaron Michalk   
2013-12-01 06:27   
To clarify, BRepAlgoAPI_Cut internally throws a Standard_ConstructionError, which is caught internally. This results in the operation being marked as NotDone.
(0068750)
git   
2017-07-26 18:21   
Branch CR24424 has been created by apv.

SHA-1: 98359b165abc2579821713a2febec10e954f3079


Detailed log of new commits:

Author: apv
Date: Wed Jul 26 18:21:08 2017 +0300

    Test for 0024424: BRepAlgoAPI_Cut throws Standard_ConstructionError with disjoint, but adjacent solids
(0068751)
apv   
2017-07-26 18:23   
Dear BugMaster,

Problem described in issue is not reproduced on current state of OCCT.
Problem has been solved in OCCT6.6.0.

Please integrate branch CR24424 into the occt git-repository master.
(0070177)
git   
2017-09-04 18:20   
Branch CR24424 has been deleted by kgv.

SHA-1: 98359b165abc2579821713a2febec10e954f3079