MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0025512Community[OCCT] OCCT:Modeling Algorithmspublic2014-11-23 23:512016-09-07 14:47
ReporterAlexander Trots 
Assigned ToAlexander Trots 
PrioritynormalSeveritycrash 
StatusnewResolutionopen 
PlatformWindowsOSWindows 7 SP1OS Version32 bit
Product Version[OCCT] 6.7.1 
Target VersionFixed in Version 
Summary0025512: BRepAlgoAPI_Section crash.
DescriptionHello!
I trying to split the shape using a plane gp_Pln. When the plane passes through the edge of the shape, i'm catch an exception "NotDone" in BRepAlgoAPI_Section. I'm attached code and model, wich causes an exception.
Help me solve this problem.
Thank!
Steps To ReproduceBuild a small example from archive SectionCrash.zip.
Run this example with modelForExample.stp in command line parameter.
TagsNo tags attached.
Test case number
Attached Fileszip file icon SectionCrash.zip (7,577 bytes) 2014-11-23 23:51
zip file icon example3.zip (3,816 bytes) 2014-11-26 00:37

- Relationships

-  Notes
(0034628)
shoogen (reporter)
2014-11-24 10:01

A Standard_Failure with the text "NotDone" can be handled. Unless there any sign of data corruption, an exception (thrown purposely) does not justify the severity "crash"
(0034629)
shoogen (reporter)
2014-11-24 10:10
edited on: 2014-11-24 10:17

after importing your step file. model003 fails the bopcheck "SelfIntersection"
If i understand your step handling correctly, at the end of the for loop
TopoDS_Shape "shape" is set to the last shape of the file ("model003").

(0034685)
Alexander Trots (reporter)
2014-11-26 01:02

Thank you for your answer, shoogen. Exception may be was thrown because .step file incorrect. I wrote another example where BRepAlgoAPI_Section working correctly (without exceptions) but when i try split shape with BRepFeat_SplitShape i get an unexpected result. I attached this example: example3.zip (cmake project). There a cutting plane gp_Pln passes via Vertex. If i move the cutting plane the above or below this Vertex then i get the correct result. Can you comment on this behaviour a split-mechanism?
(0034686)
shoogen (reporter)
2014-11-26 02:15

I'm sorry I haven't used BRepFeat_SplitShape, yet.
(0057565)
git (administrator)
2016-09-07 14:47

Branch CR25512 has been deleted by inv.

SHA-1: 53adb21a62eceec64a8637dafe1bce2b2dc42c10

- Issue History
Date Modified Username Field Change
2014-11-23 23:51 Alexander Trots New Issue
2014-11-23 23:51 Alexander Trots Assigned To => msv
2014-11-23 23:51 Alexander Trots File Added: SectionCrash.zip
2014-11-24 10:01 shoogen Note Added: 0034628
2014-11-24 10:10 shoogen Note Added: 0034629
2014-11-24 10:16 shoogen Note Edited: 0034629 View Revisions
2014-11-24 10:17 shoogen Note Edited: 0034629 View Revisions
2014-11-24 12:12 Alexander Trots Assigned To msv => Alexander Trots
2014-11-26 00:37 Alexander Trots File Added: example3.zip
2014-11-26 01:02 Alexander Trots Note Added: 0034685
2014-11-26 02:15 shoogen Note Added: 0034686
2016-09-07 14:30 git Note Added: 0057563
2016-09-07 14:32 bugmaster Note Deleted: 0057563
2016-09-07 14:47 git Note Added: 0057565


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker