MantisBT - Community
View Issue Details
0024086Community[OCCT] OCCT:Modeling Algorithmspublic2013-07-24 15:282014-11-11 12:58
Hayashi 
ifv 
normalminor 
closedfixed 
WindowsVC++ 201032 bit
[OCCT] 6.6.0 
[OCCT] 6.8.0[OCCT] 6.8.0 
bugs modalg_5 bug24086
0024086: IsValid of result-Shape of BRepFeat_SplitShape returns False
In attached file, Face has split, but IsValid of a result returns false.
{
    BRep_Builder builder;
    TopoDS_Shape face, wire, result;
    int val;

    val = BRepTools::Read(face,"face.brep",builder);
    val = BRepTools::Read(wire,"wire.brep",builder);

    BRepFeat_SplitShape asplit(face);
    asplit.Add(TopoDS::Wire(wire),TopoDS::Face(face));
    asplit.Build();
    result = asplit.Shape();

    ShapeAnalysis_ShapeContents ana;
    ana.Perform(result);
    val = ana.NbFaces();

    val = BRepAlgo::IsValid(result);
}
No tags attached.
zip facewire.zip (3,869) 2013-07-24 15:28
https://tracker.dev.opencascade.org/
Issue History
2013-07-24 15:28HayashiNew Issue
2013-07-24 15:28HayashiAssigned To => ifv
2013-07-24 15:28HayashiFile Added: facewire.zip
2014-01-29 15:50bugmasterNote Added: 0027684
2014-01-29 15:50bugmasterAssigned Toifv => apn
2014-01-29 15:50bugmasterStatusnew => assigned
2014-02-13 13:41apnNote Added: 0027891
2014-02-13 13:41apnTest case number => bugs modalg_5 bug24086
2014-02-13 13:41apnAssigned Toapn => ifv
2014-02-13 14:52kgvNote Added: 0027894
2014-09-26 14:38bugmasterNote Added: 0032237
2014-09-26 14:38bugmasterStatusassigned => resolved
2014-09-26 14:39bugmasterStatusresolved => reviewed
2014-09-26 14:39bugmasterStatusreviewed => verified
2014-09-26 14:39bugmasterResolutionopen => fixed
2014-09-26 17:45abvTarget Version => 6.8.0
2014-11-11 12:45aivFixed in Version => 6.8.0
2014-11-11 12:58aivStatusverified => closed

Notes
(0027684)
bugmaster   
2014-01-29 15:50   
To reproduce problem test case is required.
(0027891)
apn   
2014-02-13 13:41   
QA command OCC24086 and test case bugs/modalg_5/bug24086 were added to master.
(0027894)
kgv   
2014-02-13 14:52   
Dear apn,

>> QA command OCC24086 and test case bugs/modalg_5/bug24086 were added to master.
+static Standard_Integer OCC24086 (Draw_Interpretor& di, Standard_Integer argc, const char ** argv) 

+{
+	if (argc != 3) {
+		di << "Usage : " << argv[0] << " should be 2 arguments (face and 
wire)";
+		return 1;
+	}

tabulation symbol is forbidden in OCCT sources!
(0032237)
bugmaster   
2014-09-26 14:38   
Problem is not reproduced on current master.