MantisBT - Community
View Issue Details
0022306Community[OCCT] OCCT:Modeling Algorithmspublic2011-03-04 13:462011-12-01 11:25
szy 
jgv 
normaltrivial 
closedfixed 
All
 
[OCCT] 6.5.2[OCCT] 6.5.2 
chl 934 B5 B6 B7 B8 B9
0022306: Fuse between cylinder and sphere produces not vallid result
Fuse (cut & common too)operation produces not valid result:
bop cyl sph
bopfuse r
Draw[25]> checkshape r
On Shape faulty_1 :
BRepCheck_UnorientableShape
Shape faulty_2 on shape faulty_1 :
BRepCheck_InvalidCurveOnSurface
BRepCheck_InvalidSameParameterFlag
On Shape faulty_3 :
BRepCheck_SelfIntersectingWire
On Shape faulty_4 :
BRepCheck_UnorientableShape
Shape faulty_3 on shape faulty_4 :
BRepCheck_SelfIntersectingWire
Shape faulty_5 on shape faulty_4 :
BRepCheck_InvalidCurveOnSurface
BRepCheck_InvalidSameParameterFlag
Shape faulty_2 on shape faulty_4 :
BRepCheck_InvalidCurveOnSurface
BRepCheck_InvalidSameParameterFlag

Faulty shapes in variables faulty_1 to faulty_5

================================
the referenced message is below.
post 20021
--------------
this is my code:
I get a result FusedShape,but this shape is error,anybody help me,please...
//////////////////////////////////////////////////////////////////////
gp_Circ c = gp_Circ(gp_Ax2(gp_Pnt(0,0,0), gp_Dir(0,0,1)), 5);
TopoDS_Edge Ec = BRepBuilderAPI_MakeEdge(c);
TopoDS_Wire w = BRepBuilderAPI_MakeWire(Ec);
BRepBuilderAPI_MakeFace mkf(w);
TopoDS_Face f = mkf.Face();

TopoDS_Shape theShp1 = BRepPrimAPI_MakePrism(f, gp_Vec(0,0,10));//cylinder

TopoDS_Shape theShp2 = BRepPrimAPI_MakeSphere(gp_Pnt(5,0,10), 5);//Sphere

TopoDS_Shape FusedShape = BRepAlgoAPI_Fuse(theShp1,theShp2);
//////////////////////////////////////////////////////////////////////
Documentation remark, added by Julia JGV 2011-04-27 11:40:01:

Changes:
Two small changes correcting functions DecompositionOfWLine and FindPoint
Modified entities:
IntTools_FaceFace.cxx
No tags attached.
zip shapes.zip (82,396) 2011-03-04 13:46
https://tracker.dev.opencascade.org/
gz jgv-OCC22306-v1.tar.gz (48,722) 2011-04-26 17:37
https://tracker.dev.opencascade.org/
gz chl_934_B5_B6_B7_B8_B9.tar.gz (931) 2011-09-08 18:02
https://tracker.dev.opencascade.org/
Issue History
2011-04-06 18:32bugmasterStatusclosed => assigned
2011-04-06 18:32bugmasterResolutionsuspended => @0@
2011-04-06 19:07bugmasterAssigned Tobugmaster => szy
2011-04-07 16:07szyAssigned Toszy => jgv
2011-04-27 13:40jgvStatusassigned => resolved
2011-07-29 13:52bugmasterNote Added: 0017856
2011-07-29 13:52bugmasterAssigned Tojgv => apl
2011-07-29 13:52bugmasterStatusresolved => assigned
2011-07-29 13:53bugmasterStatusassigned => resolved
2011-07-29 13:53bugmasterFixed in VersionEMPTY =>
2011-07-29 13:53bugmasterDescription Updatedbug_revision_view_page.php?rev_id=18#r18
2011-07-29 13:53bugmasterAdditional Information Updatedbug_revision_view_page.php?rev_id=20#r20
2011-08-02 11:31bugmasterCategoryOCCT:MOA => OCCT:Modeling Algorithms
2011-08-03 18:18jgvNote Added: 0017902
2011-08-03 18:18jgvAssigned Toapl => jgv
2011-08-03 18:18jgvStatusresolved => assigned
2011-08-03 18:19jgvRelationship addedchild of 0022678
2011-09-08 18:02mkvFile Added: chl_934_B5_B6_B7_B8_B9.tar.gz
2011-09-08 18:02mkvTest case number => chl 934 B5 B6 B7 B8 B8
2011-09-08 18:03mkvTest case numberchl 934 B5 B6 B7 B8 B8 => chl 934 B5 B6 B7 B8 B9
2011-09-21 14:14szyTarget Version => 6.5.3
2011-09-21 15:53bugmasterTarget Version6.5.3 => 6.5.2
2011-09-21 15:54bugmasterNote Added: 0018249
2011-09-21 15:54bugmasterStatusassigned => verified
2011-12-01 11:25szyAdditional Information Updatedbug_revision_view_page.php?rev_id=1184#r1184

Notes
(0017856)
bugmaster   
2011-07-29 13:52   
SVN branch http://svn/svn/occt/branches/OCC22306 [^]
has been created and ready to be revised
(0017902)
jgv   
2011-08-03 18:18   
Anton,
Please stop revising.
Bug fix will be merged by JGV with 0022678
(0018249)
bugmaster   
2011-09-21 15:54   
Issue has been solved by integration for 0022678