View Issue Details

IDProjectCategoryView StatusLast Update
0001448CommunityOCCT:Modeling Algorithmspublic2011-12-15 16:42
ReporteremoAssigned Tobugmaster  
PrioritynormalSeveritytrivial 
Status closedResolutionunable to reproduce 
OSAll 
Summary0001448: Subtraction of two cylinders bug (BRepAlgoAPI_Cut)
DescriptionThis bug has been added by Adrian Helcman at
http://www.opencascade.org/forumorg/bug.php?bug_id=106&f=8

----------

This bug appears in the Boolean cutting operation - subtraction of two
cylinders.
Strange is, that the symmetrical operation works correctly.

The next lines contain code for testing the bugged (commented line under the
//CORRECT) and correct version (commented line under the //NOT CORRECT).

BRepPrimAPI_MakeCylinder o_mc1 (gp_Ax2 (gp_Pnt(0,-50,140), gp_Dir(1,0,0)), 50,
1000);

//CORRECT
//BRepPrimAPI_MakeCylinder o_mc2 (gp_Ax2 (gp_Pnt(21.65064, -50.0, 127.5),
gp_Dir(-sin(PI/3), 0.0, 0.5)), 5, 150);

//NOT CORRECT
BRepPrimAPI_MakeCylinder o_mc2 (gp_Ax2 (gp_Pnt(978.34936, -50.0, 127.5),
gp_Dir(sin(PI/3), 0.0, 0.5)), 5, 150);

TopoDS_Shape o_cut_shape = BRepAlgoAPI_Cut (o_mc1.Solid (), o_mc2.Solid ());

---------
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2003-01-22 17:46 bugmaster CC => emo
2003-01-22 17:46 bugmaster Status new => closed
2003-01-22 17:46 bugmaster Resolution @0@ => unable to reproduce
2011-08-02 11:31 bugmaster Category OCCT:MOA => OCCT:Modeling Algorithms
2011-12-15 16:42 abv Project Open CASCADE => Community