View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033794 | Community | OCCT:Modeling Algorithms | public | 2024-08-14 06:17 | 2024-08-14 15:30 |
Reporter | eryar | Assigned To | astromko | ||
Priority | normal | Severity | minor | ||
Status | new | Resolution | open | ||
Platform | Windows | OS | VC++ 2015 | ||
Product Version | 7.8.1 | ||||
Summary | 0033794: Modeling Algorithms - BRepOffsetAPI_MakeOffset not work when offset inside | ||||
Description | https://dev.opencascade.org/content/brepoffsetapimakeoffset-not-work-when-offset-insideBRepBuilderAPI_MakePolygon polygonBuilder; polygonBuilder.Add(gp_Pnt(-2784, 741, 0)); polygonBuilder.Add(gp_Pnt(-1219, 741, 0)); polygonBuilder.Add(gp_Pnt(-1219, 500, 0)); polygonBuilder.Add(gp_Pnt(-2784, 500, 0)); polygonBuilder.Add(gp_Pnt(-2784, -2708, 0)); polygonBuilder.Add(gp_Pnt(964, -2708, 0)); polygonBuilder.Add(gp_Pnt(964, 500, 0)); polygonBuilder.Add(gp_Pnt(-19, 500, 0)); polygonBuilder.Add(gp_Pnt(-19, 741, 0)); polygonBuilder.Add(gp_Pnt(964, 741, 0)); polygonBuilder.Add(gp_Pnt(964, 3599, 0)); polygonBuilder.Add(gp_Pnt(-2784, 3599, 0)); polygonBuilder.Close(); auto wire = polygonBuilder.Wire(); BRepOffsetAPI_MakeOffset offsetMaker(wire, GeomAbs_Intersection); // outside offset is ok offsetMaker.Perform(-100,0.01); if (offsetMaker.IsDone()) { m_NewShape = offsetMaker.Shape(); } | ||||
Steps To Reproduce | # Draw Scripts. polyline w -2784 741 0 -1219 741 0 -1219 500 0 -2784 500 0 -2784 -2708 0 964 -2708 0 964 500 0 -19 500 0 -19 741 0 964 741 0 964 3599 0 -2784 3599 0 -2784 741 0 mkoffset r w 1 -100 i 0.01 | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-08-14 06:17 | eryar | New Issue | |
2024-08-14 06:17 | eryar | Assigned To | => akaftasev |
2024-08-14 06:17 | eryar | File Added: offset failed.PNG | |
2024-08-14 15:29 | dpasukhi | Target Version | 7.8.1 => |
2024-08-14 15:29 | dpasukhi | Summary | BRepOffsetAPI_MakeOffset not work when offset inside => Modeling Algorithms - BRepOffsetAPI_MakeOffset not work when offset inside |
2024-08-14 15:29 | dpasukhi | Description Updated | |
2024-08-14 15:29 | dpasukhi | Steps to Reproduce Updated | |
2024-08-14 15:29 | dpasukhi | Assigned To | akaftasev => astromko |