From de65074523cbb202e9c8b3d638cf8b0a68521389 Mon Sep 17 00:00:00 2001 From: luz paz Date: Fri, 1 Jul 2022 17:44:13 -0400 Subject: [PATCH] Fix typos --- Caliper.py | 2 +- Resources/ui/align-tool-docked-v1.6.ui | 2 +- Resources/ui/align-tool-docked-v1.8-highdpi.ui | 2 +- Resources/ui/align-tool-docked-v1.9-highdpi.ui | 2 +- Resources/ui/align-tool-docked-v1.9c-highdpi.ui | 2 +- Resources/ui/align-tool-docked-v1.9e-highdpi.ui | 2 +- oDraft.py | 6 +++--- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Caliper.py b/Caliper.py index e6cd5fe..aab262b 100644 --- a/Caliper.py +++ b/Caliper.py @@ -150,7 +150,7 @@ def closestDistanceBetweenLines(a0,a1,b0,b1,clampAll=False,clampA0=False,clampA1 clampB1=True - # Calculate denomitator + # Calculate denominator A = a1 - a0 B = b1 - b0 magA = np.linalg.norm(A) diff --git a/Resources/ui/align-tool-docked-v1.6.ui b/Resources/ui/align-tool-docked-v1.6.ui index 7e2dc88..881bc6c 100644 --- a/Resources/ui/align-tool-docked-v1.6.ui +++ b/Resources/ui/align-tool-docked-v1.6.ui @@ -208,7 +208,7 @@ Mass Center of -Boundig Box +Bounding Box diff --git a/Resources/ui/align-tool-docked-v1.8-highdpi.ui b/Resources/ui/align-tool-docked-v1.8-highdpi.ui index ca02ac1..acaf988 100644 --- a/Resources/ui/align-tool-docked-v1.8-highdpi.ui +++ b/Resources/ui/align-tool-docked-v1.8-highdpi.ui @@ -180,7 +180,7 @@ Faces/Planes or Edges/Axis Center of -Boundig Box +Bounding Box diff --git a/Resources/ui/align-tool-docked-v1.9-highdpi.ui b/Resources/ui/align-tool-docked-v1.9-highdpi.ui index 18c5831..4419f70 100644 --- a/Resources/ui/align-tool-docked-v1.9-highdpi.ui +++ b/Resources/ui/align-tool-docked-v1.9-highdpi.ui @@ -269,7 +269,7 @@ Center of -Boundig Box +Bounding Box diff --git a/Resources/ui/align-tool-docked-v1.9c-highdpi.ui b/Resources/ui/align-tool-docked-v1.9c-highdpi.ui index 5bc2670..c2662e7 100644 --- a/Resources/ui/align-tool-docked-v1.9c-highdpi.ui +++ b/Resources/ui/align-tool-docked-v1.9c-highdpi.ui @@ -269,7 +269,7 @@ Center of -Boundig Box +Bounding Box diff --git a/Resources/ui/align-tool-docked-v1.9e-highdpi.ui b/Resources/ui/align-tool-docked-v1.9e-highdpi.ui index 090a123..489b93a 100644 --- a/Resources/ui/align-tool-docked-v1.9e-highdpi.ui +++ b/Resources/ui/align-tool-docked-v1.9e-highdpi.ui @@ -256,7 +256,7 @@ Center of -Boundig Box +Bounding Box diff --git a/oDraft.py b/oDraft.py index 0de2ad2..7ece525 100644 --- a/oDraft.py +++ b/oDraft.py @@ -535,7 +535,7 @@ def select(objs=None): FreeCADGui.Selection.addSelection(obj) def loadSvgPatterns(): - "loads the default Draft SVG patterns and custom patters if available" + "loads the default Draft SVG patterns and custom patterns if available" import importSVG from PySide import QtCore FreeCAD.svgpatterns = {} @@ -925,7 +925,7 @@ def makeBSpline(pointslist,closed=False,placement=None,face=None,support=None): else: # len == 2 and first == last GIGO msg(translate("draft","Draft.makeBSpline: Invalid pointslist\n"), 'error') return - # should have sensible parms from here on + # should have sensible params from here on if placement: typecheck([(placement,FreeCAD.Placement)], "makeBSpline") if len(pointslist) == 2: fname = "Line" else: fname = "BSpline" @@ -5703,7 +5703,7 @@ def getParameterFromV0(self, edge, offset): return(edge.getParameterByLength(length)) def orientShape(self,shape,edge,offset,RefPt,xlate,align,normal=None): - '''Orient shape to tangent at parm offset along edge.''' + '''Orient shape to tangent at param offset along edge.''' # http://en.wikipedia.org/wiki/Euler_angles import Part import DraftGeomUtils