Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Caliper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Resources/ui/align-tool-docked-v1.6.ui
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Mass</string>
</property>
<property name="toolTip">
<string notr="true">Center of
Boundig Box</string>
Bounding Box</string>
</property>
<property name="text">
<string notr="true"/>
Expand Down
2 changes: 1 addition & 1 deletion Resources/ui/align-tool-docked-v1.8-highdpi.ui
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Faces/Planes or Edges/Axis</string>
</property>
<property name="toolTip">
<string notr="true">Center of
Boundig Box</string>
Bounding Box</string>
</property>
<property name="text">
<string notr="true"/>
Expand Down
2 changes: 1 addition & 1 deletion Resources/ui/align-tool-docked-v1.9-highdpi.ui
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
</property>
<property name="toolTip">
<string notr="true">Center of
Boundig Box</string>
Bounding Box</string>
</property>
<property name="text">
<string notr="true"/>
Expand Down
2 changes: 1 addition & 1 deletion Resources/ui/align-tool-docked-v1.9c-highdpi.ui
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
</property>
<property name="toolTip">
<string notr="true">Center of
Boundig Box</string>
Bounding Box</string>
</property>
<property name="text">
<string notr="true"/>
Expand Down
2 changes: 1 addition & 1 deletion Resources/ui/align-tool-docked-v1.9e-highdpi.ui
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
</property>
<property name="toolTip">
<string notr="true">Center of
Boundig Box</string>
Bounding Box</string>
</property>
<property name="text">
<string notr="true"/>
Expand Down
6 changes: 3 additions & 3 deletions oDraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down