Draft: fix trailing whitespace

This commit is contained in:
luzpaz
2023-01-22 14:08:28 +00:00
committed by Uwe
parent 6173d48da7
commit 5fa4482504
21 changed files with 64 additions and 64 deletions

View File

@@ -50,27 +50,27 @@ class Polygon(DraftObject):
_tip = QT_TRANSLATE_NOOP("App::Property",
"Radius of the control circle")
obj.addProperty("App::PropertyLength", "Radius", "Draft", _tip)
_tip = QT_TRANSLATE_NOOP("App::Property",
"How the polygon must be drawn from the control circle")
obj.addProperty("App::PropertyEnumeration", "DrawMode", "Draft", _tip)
_tip = QT_TRANSLATE_NOOP("App::Property",
"Radius to use to fillet the corners")
obj.addProperty("App::PropertyLength", "FilletRadius", "Draft", _tip)
_tip = QT_TRANSLATE_NOOP("App::Property",
"Size of the chamfer to give to the corners")
obj.addProperty("App::PropertyLength", "ChamferSize", "Draft", _tip)
_tip = QT_TRANSLATE_NOOP("App::Property",
"Create a face")
obj.addProperty("App::PropertyBool", "MakeFace", "Draft", _tip)
_tip = QT_TRANSLATE_NOOP("App::Property",
"The area of this object")
obj.addProperty("App::PropertyArea", "Area", "Draft", _tip)
obj.MakeFace = get_param("fillmode",True)
obj.DrawMode = ['inscribed','circumscribed']
obj.FacesNumber = 0
@@ -101,7 +101,7 @@ class Polygon(DraftObject):
shape = w
if "FilletRadius" in obj.PropertiesList:
if obj.FilletRadius.Value != 0:
w = DraftGeomUtils.filletWire(shape,
w = DraftGeomUtils.filletWire(shape,
obj.FilletRadius.Value)
if w:
shape = w