From e876d9aa81020e8f9e858dacd5e7d54d2bb52aca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Tue, 14 Jul 2015 06:15:09 +0200 Subject: [PATCH] fix loft result orientation --- src/Mod/PartDesign/App/FeatureLoft.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Mod/PartDesign/App/FeatureLoft.cpp b/src/Mod/PartDesign/App/FeatureLoft.cpp index 4900c3f8b..bcb24e287 100644 --- a/src/Mod/PartDesign/App/FeatureLoft.cpp +++ b/src/Mod/PartDesign/App/FeatureLoft.cpp @@ -135,8 +135,10 @@ App::DocumentObjectExecReturn *Loft::execute(void) BRepOffsetAPI_ThruSections mkTS(false, Ruled.getValue(), Precision::Confusion()); - for(TopoDS_Wire& wire : wires) + for(TopoDS_Wire& wire : wires) { + wire.Move(invObjLoc); mkTS.AddWire(wire); + } mkTS.Build(); if (!mkTS.IsDone()) @@ -175,8 +177,7 @@ App::DocumentObjectExecReturn *Loft::execute(void) if ( SC.State() == TopAbs_IN) { result.Reverse(); } - - result.Move(invObjLoc); + AddSubShape.setValue(result); if(base.IsNull()) {