View Issue Details

IDProjectCategoryView StatusLast Update
0000380CommunityOCCT:Modeling Datapublic2011-12-15 17:54
ReporteremoAssigned Toofv 
PrioritynoneSeveritytrivial 
Status closedResolutionunable to reproduce 
OSAll 
Fixed in Version5.0.0 
Summary0000380: Incorrect result of common operation
DescriptionThis bug has been added to
http://www.opencascade.org/forumorg/bug.php?bug_id=48&f=8 by Genevieve Gauthier
Gauthier.genevieve@ireq.ca .
Common of the two attached shapes is impossible.

Full deescription:
-----------
I have two solid shapes, one is a
solid of revolution :
TopoDS_Shape Demidistributeur = BRepPrimAPI_MakeRevol(FaceXZ,AxeZ);

an the other is a prism :
TopoDS_Shape Passage = BRepPrimAPI_MakePrism(FaceXY,vecteur,Standard_False);

I have the bad result when i do :
TopoDS_Shape Bloc = BRepAlgoAPI_Common(DemiDistributeur,Passage);

FaceXZ is a TopoDS_Face make with
BRepBuilderAPI_MakeFace(PlanXZ,Profil1,Standard_True);

PlanXZ = gp_Pln(gp_Pnt(0,0,0), gp_Dir(0,1,0) );
Profil1 is a closed wire make of 4 edges that are on the planXZ

AxeZ is the axe gp_Ax1(gp_Pnt(0,0,0), gp_Dir(0,0,1))

FaceXY is a TopoDS_Face make with
BRepBuilderAPI_MakeFace(PlanXY,Pr
ofil2,Standard_True);
PlanXY = gp_Pln(Profil2BSpline1->EndPoint(), gp_Dir(0,1,0) );
Profil2BSpline1 is a Geom_BSPline curve that is
one of the edge of Profil2.
Profil2 is a closed wire make of 4 edges that are on the planXY.
vecteur is a gp_Vec vecteur(gp_Pnt(0,0,Zvaleur1), gp_Pnt(0,0,Zvaleur2) );

I check the two shapes with Draw (checkshape) and both are correct.
When i do the boolean operation it return only a face and it's suppose
to be a solid.

I attached the shapes in BRep format.

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

Attached Files

Activities

2002-05-15 09:20

 

Distributeur.rle (9,093 bytes)

2002-05-15 09:21

 

Passage.rle (5,046 bytes)

2002-05-15 09:22

 

bad_common.gif (10,207 bytes)   

Issue History

Date Modified Username Field Change
2002-05-15 15:54 bugmaster Assigned To bugmaster => ifv
2002-05-15 15:54 bugmaster Status new => assigned
2002-06-17 16:54 ifv Assigned To ifv => ofv
2002-07-03 16:26 ofv Status assigned => resolved
2002-07-03 16:42 bugmaster Status resolved => closed
2002-07-03 16:42 bugmaster Resolution @0@ => unable to reproduce
2011-08-02 11:32 bugmaster Category OCCT:MOD => OCCT:Modeling Data
2011-12-15 17:54 bugmaster Project Open CASCADE => Community