View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025512 | Community | OCCT:Modeling Algorithms | public | 2014-11-23 23:51 | 2016-09-07 14:47 |
Reporter | Alexander Trots | Assigned To | Alexander Trots | ||
Priority | normal | Severity | crash | ||
Status | new | Resolution | open | ||
Platform | Windows | OS | Windows 7 SP1 | ||
Product Version | 6.7.1 | ||||
Summary | 0025512: BRepAlgoAPI_Section crash. | ||||
Description | Hello! 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 Reproduce | Build a small example from archive SectionCrash.zip. Run this example with modelForExample.stp in command line parameter. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
SectionCrash.zip (7,577 bytes) |
|
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" |
|
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"). |
|
example3.zip (3,816 bytes) |
|
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? |
|
I'm sorry I haven't used BRepFeat_SplitShape, yet. |
|
Branch CR25512 has been deleted by inv. SHA-1: 53adb21a62eceec64a8637dafe1bce2b2dc42c10 |
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 | |
2014-11-24 10:17 | shoogen | Note Edited: 0034629 | |
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:47 | git | Note Added: 0057565 |