Draft: fix trailing whitespace
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user