dont reverse wire in offset

This works with this change:

```
MoveTo(0,0).LineTo(1,1).Finish().Offset(0.2).Face()
```
This commit is contained in:
Christopher Lackner 2024-02-08 14:57:56 +01:00
parent 761f896164
commit 0fab0ec1eb

View File

@ -641,7 +641,7 @@ public:
BRepOffsetAPI_MakeOffset builder(makeFace.Face()); BRepOffsetAPI_MakeOffset builder(makeFace.Face());
builder.Perform(d); builder.Perform(d);
auto shape = builder.Shape(); auto shape = builder.Shape();
wires.push_back (TopoDS::Wire(shape.Reversed())); wires.push_back (TopoDS::Wire(shape));
return shared_from_this(); return shared_from_this();
} }