mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 05:10:34 +05:00
Merge branch 'dont_reverse_wire_in_offset' into 'master'
dont reverse wire in offset See merge request ngsolve/netgen!627
This commit is contained in:
commit
069f42086f
@ -631,6 +631,7 @@ public:
|
|||||||
|
|
||||||
auto Offset(double d)
|
auto Offset(double d)
|
||||||
{
|
{
|
||||||
|
Finish();
|
||||||
TopoDS_Wire wire = wires.back();
|
TopoDS_Wire wire = wires.back();
|
||||||
wires.pop_back();
|
wires.pop_back();
|
||||||
|
|
||||||
@ -641,7 +642,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