MantisBT - Community
View Issue Details
0023932Community[OCCT] OCCT:Modeling Algorithmspublic2013-04-24 20:392013-12-19 13:58
Aaron Michalk 
bugmaster 
normalminor 
closedfixed 
WindowsVC++ 201032 bit
[OCCT] 6.6.0 
[OCCT] 6.7.0[OCCT] 6.7.0 
bugs modalg_5(010) bug23932_1 , bug23932_2
0023932: Standard_NoSuchObject thrown computing section between two cylinders - new to 6.6.0
Execute the following code and most of the time a Standard_NoSuchObject exception is thrown. The exception is thrown at line 110 of BOPAlgo_PaveFiller_2.cxx. This does not occur in 6.5.5. I reproduced this in the debug version.
    {
        gp_Ax3 axes1(gp_Pnt(538.57646417050069, 347.77316708315834, 183.37500000000000),
                     gp_Dir(0.00000000000000000, -1.0000000000000000, 0.00000000000000000),
                     gp_Dir(1.0000000000000000, 0.00000000000000000, 0.00000000000000000));
        Handle(Geom_CylindricalSurface) basisSurface1(new Geom_CylindricalSurface(axes1, 44.194173824159222));
        Handle(Geom_RectangularTrimmedSurface) surface1(new Geom_RectangularTrimmedSurface(basisSurface1, 0, PI, true));
        gp_Ax3 axes2(gp_Pnt(859.00000000000011, 463.75990629028450, 80.865093709715211),
                     gp_Dir(-1.0000000000000000, 0.00000000000000000, 0.00000000000000000),
                     gp_Dir(0.00000000000000000, -1.0000000000000000, 0.00000000000000000));
        Handle(Geom_CylindricalSurface) basisSurface2(new Geom_CylindricalSurface(axes2, 186.78835506149036));
        Handle(Geom_RectangularTrimmedSurface) surface2(new Geom_RectangularTrimmedSurface(basisSurface2, 0, PI, true));
        TopoDS_Shape section = BRepAlgoAPI_Section(surface1, surface2);
        for (TopExp_Explorer it(section, TopAbs_EDGE); it.More(); it.Next()) {
            return;
        }
        assert(!"BRepAlgoAPI_Section Failed.");
    }
    {
        gp_Ax3 axes1(gp_Pnt(538.57646417050069, 347.77316708315834, 183.37500000000000),
                     gp_Dir(0.00000000000000000, -1.0000000000000000, 0.00000000000000000),
                     gp_Dir(1.0000000000000000, 0.00000000000000000, 0.00000000000000000));
        Handle(Geom_CylindricalSurface) basisSurface1(new Geom_CylindricalSurface(axes1, 44.819173824159222));
        Handle(Geom_RectangularTrimmedSurface) surface1(new Geom_RectangularTrimmedSurface(basisSurface1, 0, PI, true));
        gp_Ax3 axes2(gp_Pnt(859.00000000000011, 463.75990629028450, 80.865093709715211),
                     gp_Dir(-1.0000000000000000, 0.00000000000000000, 0.00000000000000000),
                     gp_Dir(0.00000000000000000, -1.0000000000000000, 0.00000000000000000));
        Handle(Geom_CylindricalSurface) basisSurface2(new Geom_CylindricalSurface(axes2, 187.41335506149036));
        Handle(Geom_RectangularTrimmedSurface) surface2(new Geom_RectangularTrimmedSurface(basisSurface2, 0, PI, true));
        TopoDS_Shape section = BRepAlgoAPI_Section(surface1, surface2);
        for (TopExp_Explorer it(section, TopAbs_EDGE); it.More(); it.Next()) {
            return;
        }
        assert(!"BRepAlgoAPI_Section Failed.");
    }
No tags attached.
parent of 0023981closed bugmaster Open CASCADE Wrong section curves 
? bug23932_1 (659) 2013-10-04 09:26
https://tracker.dev.opencascade.org/
? bug23932_2 (657) 2013-10-04 09:26
https://tracker.dev.opencascade.org/
Issue History
2013-04-24 20:39Aaron MichalkNew Issue
2013-04-24 20:39Aaron MichalkAssigned To => jgv
2013-04-25 09:51abvAssigned Tojgv => ifv
2013-04-25 09:51abvStatusnew => assigned
2013-04-25 09:51abvTarget Version => 6.7.0
2013-04-26 11:34ifvAssigned Toifv => emv
2013-05-22 09:46emvRelationship addedparent of 0023981
2013-10-04 09:26emvFile Added: bug23932_1
2013-10-04 09:26emvFile Added: bug23932_2
2013-10-04 09:27emvNote Added: 0025884
2013-10-04 09:28emvAssigned Toemv => mkv
2013-10-04 12:24mkvNote Added: 0025890
2013-10-04 12:25mkvTest case number => bugs modalg_5(010) bug23932_1 , bug23932_2
2013-10-04 12:25mkvAssigned Tomkv => bugmaster
2013-10-04 12:25mkvStatusassigned => resolved
2013-10-04 12:25mkvStatusresolved => reviewed
2013-10-04 12:26mkvStatusreviewed => tested
2013-10-04 12:48bugmasterChangeset attached => occt master 830d849f
2013-10-04 12:48bugmasterStatustested => verified
2013-10-04 12:48bugmasterResolutionopen => fixed
2013-12-19 13:52bugmasterStatusverified => closed
2013-12-19 13:58bugmasterFixed in Version => 6.7.0

Notes
(0025884)
emv   
2013-10-04 09:27   
Dear MKV, please test the attached scripts with fix for the issue 0023981.
(0025890)
mkv   
2013-10-04 12:24   
Dear BugMaster,

bugs modalg_5(010) bug23932_1 and bug23932_2 are corrected, its are OK.