From a0d53e5feed57aa2cf8ef393125e172191a8af35 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Sun, 24 Dec 2017 09:56:11 -0500 Subject: [PATCH] Arch: Typos Source comment documentation typos + misc. --- src/Mod/Arch/ArchCommands.py | 2 +- src/Mod/Arch/ArchComponent.py | 2 +- src/Mod/Arch/Resources/icons/Arch_MeshToShape.svg | 3 ++- src/Mod/Arch/importIFClegacy.py | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Mod/Arch/ArchCommands.py b/src/Mod/Arch/ArchCommands.py index 61c2fb4e4d..c08d3b41ba 100644 --- a/src/Mod/Arch/ArchCommands.py +++ b/src/Mod/Arch/ArchCommands.py @@ -1094,7 +1094,7 @@ def toggleIfcBrepFlag(obj): def makeCompoundFromSelected(objects=None): """makeCompoundFromSelected([objects]): Creates a new compound object from the given - subobjects (faces, edges) or from the the selection if objects is None""" + subobjects (faces, edges) or from the selection if objects is None""" import FreeCADGui,Part so = [] if not objects: diff --git a/src/Mod/Arch/ArchComponent.py b/src/Mod/Arch/ArchComponent.py index cfe35ca3ff..840ed965ed 100644 --- a/src/Mod/Arch/ArchComponent.py +++ b/src/Mod/Arch/ArchComponent.py @@ -444,7 +444,7 @@ class Component: return None def rebase(self,shape): - """returns a shape that is a copy ofthe original shape + """returns a shape that is a copy of the original shape but centered on the (0,0) origin, and a placement that is needed to reposition that shape to its original location/orientation""" import DraftGeomUtils,math diff --git a/src/Mod/Arch/Resources/icons/Arch_MeshToShape.svg b/src/Mod/Arch/Resources/icons/Arch_MeshToShape.svg index 7aa40bbe7f..ba01ed11e9 100644 --- a/src/Mod/Arch/Resources/icons/Arch_MeshToShape.svg +++ b/src/Mod/Arch/Resources/icons/Arch_MeshToShape.svg @@ -37,7 +37,7 @@ Mesh_Mesh_from_Shape - Solid cube with arrow pointing towards a tesselated cube mesh + Solid cube with arrow pointing towards a tessellated cube mesh [agryson] Alexander Gryson @@ -49,6 +49,7 @@ mesh solid convert + tessellated http://www.freecadweb.org/wiki/index.php?title=Artwork diff --git a/src/Mod/Arch/importIFClegacy.py b/src/Mod/Arch/importIFClegacy.py index 24f17d16b8..fe260e967f 100644 --- a/src/Mod/Arch/importIFClegacy.py +++ b/src/Mod/Arch/importIFClegacy.py @@ -1319,10 +1319,10 @@ def getIfcExtrusionData(obj,scale=1,nosubs=False): return None def getIfcBrepFacesData(obj,scale=1,sub=False,tessellation=1): - """getIfcBrepFacesData(obj,[scale,tesselation]): returns a list(0) of lists(1) of lists(2) of lists(3), + """getIfcBrepFacesData(obj,[scale,tessellation]): returns a list(0) of lists(1) of lists(2) of lists(3), list(3) being a list of vertices defining a loop, list(2) describing a face from one or more loops, list(1) being the whole solid made of several faces, list(0) being the list - of solids inside the object. Scale can indicate a scaling factor. Tesselation is the tesselation + of solids inside the object. Scale can indicate a scaling factor. Tessellation is the tessellation factor to apply on curved faces.""" shape = None if sub: