View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031669 | Community | OCCT:Modeling Algorithms | public | 2020-07-16 20:22 | 2020-07-16 20:22 |
Reporter | abezotosniy | Assigned To | |||
Priority | normal | Severity | minor | ||
Status | new | Resolution | open | ||
Product Version | 7.3.0 | ||||
Summary | 0031669: Crash while using BRepOffsetAPI_MakePipeShell | ||||
Description | Crash while using BRepOffsetAPI_MakePipeShell instead of result or error message. | ||||
Steps To Reproduce | auto make_wire_f = [&](std::vector<double> pnts) { BRep_Builder builder; BRepBuilderAPI_MakeWire wire_maker; for(int i = 3; i + 3 <= pnts.size(); i += 3) { TopoDS_Vertex start; builder.MakeVertex(start, gp_Pnt(pnts[i - 3], pnts[i - 2], pnts[i - 1]), Precision::Confusion()); TopoDS_Vertex end; builder.MakeVertex(end, gp_Pnt(pnts[i], pnts[i + 1], pnts[i + 2]), Precision::Confusion()); BRepBuilderAPI_MakeEdge edge_maker(start, end); wire_maker.Add(edge_maker.Edge()); } wire_maker.Build(); return wire_maker.Wire(); }; std::vector<double> profile_pnts = { 3, 0, 0, 0, 3, 0, 0, 0, -3, 3, -3, -3, 3, 0, 0 }; std::vector<double> path_pnts = { 0, 0, 0, 0, -15, 0, 10, -25, 0, 38, -35, 0 }; TopoDS_Wire profile_shape = make_wire_f(profile_pnts); TopoDS_Wire path_shape = make_wire_f(path_pnts); BRepOffsetAPI_MakePipeShell crash_sweep(path_shape); crash_sweep.SetTransitionMode(BRepBuilderAPI_TransitionMode::BRepBuilderAPI_RightCorner); crash_sweep.Add(profile_shape); crash_sweep.Build(); | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-07-16 20:22 | abezotosniy | New Issue | |
2020-07-16 20:22 | abezotosniy | Assigned To | => msv |