Arch: Updates related to the PlaneGui class (#11153)

Related issue:
#5603.
This commit is contained in:
Roy-043
2023-10-23 18:42:20 +02:00
committed by GitHub
parent 26d748587b
commit 3a396e1ed3
12 changed files with 75 additions and 82 deletions

View File

@@ -165,9 +165,9 @@ class CommandPanel:
return
# interactive mode
if hasattr(FreeCAD,"DraftWorkingPlane"):
FreeCAD.DraftWorkingPlane.setup()
import WorkingPlane
WorkingPlane.get_working_plane()
self.points = []
self.tracker = DraftTrackers.boxTracker()
self.tracker.width(self.Width)
@@ -434,8 +434,6 @@ class _Panel(ArchComponent.Component):
if self.clone(obj):
return
import Part #, DraftGeomUtils
layers = []
length = 0
width = 0