mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
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:
parent
761f896164
commit
0fab0ec1eb
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user