From 391a9e8d232a67fab81ae70dd0647599dc6c9857 Mon Sep 17 00:00:00 2001 From: luz paz Date: Mon, 6 Sep 2021 10:29:01 -0400 Subject: [PATCH] Draft: whitespace tweak --- src/Mod/Draft/draftmake/make_hatch.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Mod/Draft/draftmake/make_hatch.py b/src/Mod/Draft/draftmake/make_hatch.py index 6188b88814..8f834f7767 100644 --- a/src/Mod/Draft/draftmake/make_hatch.py +++ b/src/Mod/Draft/draftmake/make_hatch.py @@ -26,16 +26,16 @@ import FreeCAD from draftobjects.hatch import Draft_Hatch_Object from draftviewproviders.view_hatch import Draft_Hatch_ViewProvider -def makeHatch(baseobject,filename,pattern,scale,rotation): +def makeHatch(baseobject, filename, pattern, scale, rotation): - """makeHatch(baseobject,filename,pattern,scale,rotation): Creates and returns a hatch - object made by applying the given pattern of the given PAT file to the faces of the - given base object. Given scale and rotation factors are applied to the hatch object. - The result is a Part-based object created inthe active document.""" + """makeHatch(baseobject, filename, pattern, scale, rotation): Creates and returns a + hatch object made by applying the given pattern of the given PAT file to the faces of + the given base object. Given scale and rotation factors are applied to the hatch object. + The result is a Part-based object created in the active document.""" if not FreeCAD.ActiveDocument: return - obj = FreeCAD.ActiveDocument.addObject("Part::FeaturePython","Hatch") + obj = FreeCAD.ActiveDocument.addObject("Part::FeaturePython", "Hatch") Draft_Hatch_Object(obj) obj.Base = baseobject obj.File = filename