MantisBT - Community
View Issue Details
0025994Community[OCCT] OCCT:Modeling Algorithmspublic2015-03-31 16:292017-08-08 13:11
Vico Liang 
bugmaster 
normalminor 
closedfixed 
WindowsVC++ 201364 bit
 
[OCCT] 7.3.0[OCCT] 7.0.0 
bugs modalg_7 bug25994
0025994: Boolean fuse result in invalid result.
There are two solids in file body.brep and wing.brep, load them from the files.
The code snippet to do the boolean fuse operation are as below:
        TopoDS_Shape aBody = ...
        TopoDS_Shape aWing = ...
        BRepAlgoAPI_Fuse aMakeFuse(aBody, aWing);

The generated result can pass check of following but the result is invalid:
        BRepCheck_Analyzer aCheck(aMakeFuse.Shape());
restore body.brep b
restore wing.brep w
bfuse r b w
checkshape r
No tags attached.
? body.brep (318,813) 2015-03-31 16:30
https://tracker.dev.opencascade.org/
? wing.brep (140,190) 2015-03-31 16:31
https://tracker.dev.opencascade.org/
png body_wing.png (65,696) 2015-03-31 16:32
https://tracker.dev.opencascade.org/
png body_wing_fuse_bug.png (73,802) 2015-03-31 16:32
https://tracker.dev.opencascade.org/
Issue History
2015-03-31 16:29Vico LiangNew Issue
2015-03-31 16:29Vico LiangAssigned To => msv
2015-03-31 16:30Vico LiangFile Added: body.brep
2015-03-31 16:31Vico LiangFile Added: wing.brep
2015-03-31 16:32Vico LiangFile Added: body_wing.png
2015-03-31 16:32Vico LiangFile Added: body_wing_fuse_bug.png
2015-03-31 17:18msvNote Added: 0039049
2015-03-31 17:18msvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9757#r9757
2015-04-10 10:16abvTarget Version6.8.0 => 6.9.0
2015-04-13 23:44msvTarget Version6.9.0 => 7.1.0
2016-10-28 17:52msvTarget Version7.1.0 => 7.2.0
2017-07-21 11:22msvTarget Version7.2.0 => 7.3.0
2017-08-08 13:10apvAssigned Tomsv => apv
2017-08-08 13:10apvStatusnew => feedback
2017-08-08 13:11apvTest case number => bugs modalg_7 bug25994
2017-08-08 13:11apvNote Added: 0069198
2017-08-08 13:11apvAssigned Toapv => bugmaster
2017-08-08 13:11apvStatusfeedback => closed
2017-08-08 13:11apvResolutionopen => fixed
2017-08-08 13:11apvFixed in Version => 7.0.0

Notes
(0039049)
msv   
2015-03-31 17:18   
Indeed, result looks ugly. However, in the current master version BRepCheck_Analyzer gives the error "BRepCheck_BadOrientationOfSubshape".
(0069198)
apv   
2017-08-08 13:11   
Dear BugMaster,

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