Fix various typos
This commit is contained in:
@@ -613,7 +613,7 @@ App::DocumentObject* createObjectByType(const Base::Type type)
|
||||
return newobj;
|
||||
}
|
||||
else {
|
||||
return pcDoc->addObject(type.getName());// create in the acitive document
|
||||
return pcDoc->addObject(type.getName());// create in the active document
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -346,7 +346,7 @@ class CommandManager(object):
|
||||
def add_obj_on_gui_expand_noset_edit(self, objtype):
|
||||
# like add_obj_on_gui_noset_edit but the parent object
|
||||
# is expanded in the tree to see the added obj
|
||||
# the added obj is also selected to enable direct additons to it
|
||||
# the added obj is also selected to enable direct additions to it
|
||||
FreeCAD.ActiveDocument.openTransaction(
|
||||
"Create Fem{}"
|
||||
.format(objtype)
|
||||
|
||||
@@ -142,7 +142,7 @@ class PartDesignGuiTestCases(unittest.TestCase):
|
||||
cobj = CallableCheckWarning(self)
|
||||
QtCore.QTimer.singleShot(500, cobj)
|
||||
Gui.runCommand('PartDesign_MoveFeature')
|
||||
#assert depenedencies of the Sketch
|
||||
#assert dependencies of the Sketch
|
||||
self.assertEqual(len(self.BodySource.Group), 3, "Source body feature count is wrong")
|
||||
self.assertEqual(len(self.BodyTarget.Group), 0, "Target body feature count is wrong")
|
||||
|
||||
@@ -195,7 +195,7 @@ class PartDesignGuiTestCases(unittest.TestCase):
|
||||
cobj = CallableComboBox(self)
|
||||
QtCore.QTimer.singleShot(500, cobj)
|
||||
Gui.runCommand('PartDesign_MoveFeature')
|
||||
#assert depenedencies of the Sketch
|
||||
#assert dependencies of the Sketch
|
||||
self.Doc.recompute()
|
||||
|
||||
self.assertFalse(self.Sketch.Support[0][0] in self.BodySource.Origin.OriginFeatures)
|
||||
|
||||
@@ -281,7 +281,7 @@ class ObjectPocket(PathPocketBase.ObjectPocket):
|
||||
obj.AdaptivePocketFinish = False
|
||||
obj.ProcessStockArea = False
|
||||
|
||||
# methods for eliminating air milling with some pockets: adpative start and finish
|
||||
# methods for eliminating air milling with some pockets: adaptive start and finish
|
||||
def calculateAdaptivePocket(self, obj, base, subObjTups):
|
||||
"""calculateAdaptivePocket(obj, base, subObjTups)
|
||||
Orient multiple faces around common facial center of mass.
|
||||
|
||||
@@ -179,7 +179,7 @@ POSTAMBLE = POSTAMBLE_DEFAULT
|
||||
# MODAL possible values:
|
||||
# bool Repeat/suppress repeated command arguments.
|
||||
# True commands are suppressed if the same as previous line.
|
||||
# False commands are repeated ith the same as previout line.
|
||||
# False commands are repeated if the same as previous line.
|
||||
# set with --modal
|
||||
MODAL = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user