From 4ef6bde9a3ab96614af6220855c6467475158008 Mon Sep 17 00:00:00 2001 From: marioalexis Date: Tue, 16 Mar 2021 13:13:20 -0300 Subject: [PATCH] Draft: Make Edit closed wires consistent with open wires and tracker --- .../Draft/draftguitools/gui_edit_draft_objects.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/Mod/Draft/draftguitools/gui_edit_draft_objects.py b/src/Mod/Draft/draftguitools/gui_edit_draft_objects.py index ba1dea3022..f09c902e46 100644 --- a/src/Mod/Draft/draftguitools/gui_edit_draft_objects.py +++ b/src/Mod/Draft/draftguitools/gui_edit_draft_objects.py @@ -91,12 +91,14 @@ class DraftWireGuiTools(GuiTools): App.Console.PrintMessage(_err + "\n") return - if obj.Closed: - # DNC: project the new point to the plane of the face if present - if hasattr(obj.Shape, "normalAt"): - normal = obj.Shape.normalAt(0,0) - point_on_plane = obj.Shape.Vertexes[0].Point - v.projectToPlane(point_on_plane, normal) + # TODO: Make consistent operation with trackers and open wires + # See: https://forum.freecadweb.org/viewtopic.php?f=23&t=56661 + #if obj.Closed: + # # DNC: project the new point to the plane of the face if present + # if hasattr(obj.Shape, "normalAt"): + # normal = obj.Shape.normalAt(0,0) + # point_on_plane = obj.Shape.Vertexes[0].Point + # v.projectToPlane(point_on_plane, normal) pts[node_idx] = v obj.Points = pts