MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #22073 All Revisions ] Back to Issue ]
Summary 0022073: Exception in BRepOffsetAPI_MakePipeShell Build method
Revision 2011-11-24 11:51 by szy
Description Exception - OSD_Exception_ACCESS_VIOLATION is raised calling Build method.
Scenario to reproduce:
- restore spine.brep spine
- restore sect1.brep s1
- restore sect2.brep s2
mksweep spine
addsweep s1
addsweep s2
buildsweep res -R;
## with any other parameters: -C | -M - the same exception
##using setsweep -FR | -CF leads to the exception too

Community:
"1.I am having lots of trouble making a surface using
BRepOffsetAPI_MakePipeShell. It crashes 50% of the time and even a try/catch
block will not catch it. I have attached a picture of a typical X section wires
and the spine that I would use (note that the X section wire can be make of 3-4
edges, not always a single edge). I am not using any auxiliary spines or any
other options. Simply initialize with the spine and then add the 2 X sections
that are at the two ends of the spine which are already orthogonal to the spine.
2. BRepOffsetAPI_MakePipeShell exitPipeShell2(exitTransSpineWires[1]);
exitPipeShell2.Add(exitTranSectWires[1],Standard_False,Standard_False) ;
exitPipeShell2.Add(exitTranSectWires[2],Standard_False,Standard_False) ;

exitPipeShell2.Build(); <- this line crashes the code.
If I do not add the 2nd profile it does not crash."
Revision 2011-04-06 18:58 by szy
Description Exception - OSD_Exception_ACCESS_VIOLATION is raised calling Build method.
Scenario to reproduce:
- restore spine.brep spine
- restore sect1.brep s1
- restore sect2.brep s2
mksweep spine
addsweep s1
addsweep s2
buildsweep res -R;
## with any other parameters: -C | -M - the same exception
##using setsweep -FR | -CF leads to the exception too

Community:
"1.I am having lots of trouble making a surface using
BRepOffsetAPI_MakePipeShell. It crashes 50% of the time and even a try/catch
block will not catch it. I have attached a picture of a typical X section wires
and the spine that I would use (note that the X section wire can be make of 3-4
edges, not always a single edge). I am not using any auxiliary spines or any
other options. Simply initialize with the spine and then add the 2 X sections
that are at the two ends of the spine which are already orthogonal to the spine.
2. BRepOffsetAPI_MakePipeShell exitPipeShell2(exitTransSpineWires[1]);
exitPipeShell2.Add(exitTranSectWires[1],Standard_False,Standard_False) ;
exitPipeShell2.Add(exitTranSectWires[2],Standard_False,Standard_False) ;

exitPipeShell2.Build(); <- this line crashes the code.
If I do not add the 2nd profile it does not crash."


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker