Fix source comment typos and whitespace
Found via `codespell -q 3 -S ./slvs -L vertexes,dof`
This commit is contained in:
parent
4a467bf670
commit
6a648cf66f
|
@ -2050,7 +2050,7 @@ class AsmConstraint(AsmGroup):
|
|||
firstChild.Proxy.infos = order
|
||||
self.prevOrder = used
|
||||
|
||||
# now for thos instances that are 'out of place', lets assign some
|
||||
# now for those instances that are 'out of place', lets assign some
|
||||
# initial placement
|
||||
|
||||
partGroup = self.getAssembly().getPartGroup()
|
||||
|
@ -3759,7 +3759,7 @@ class Assembly(AsmGroup):
|
|||
|
||||
recursive: If True, continue finding the child of the next assembly.
|
||||
|
||||
relativeToChild: If True, the returned subname is realtive to the child
|
||||
relativeToChild: If True, the returned subname is relative to the child
|
||||
object found, or else, it is relative to the assembly, i.e., including
|
||||
the child's name
|
||||
|
||||
|
@ -4483,4 +4483,3 @@ class ViewProviderAsmPlainGroup(object):
|
|||
children = vobj.Object.Group + children
|
||||
editGroup(parent,group)
|
||||
editGroup(vobj.Object,children)
|
||||
|
||||
|
|
|
@ -286,7 +286,7 @@ def _c(solver,partInfo,subname,shape,requireArc=False,retAll=False):
|
|||
if requireArc and not isinstance(r,tuple):
|
||||
return 'an arc edge'
|
||||
return
|
||||
return 'a cicular edge'
|
||||
return 'a circular edge'
|
||||
if requireArc:
|
||||
key = subname+'.a'
|
||||
else:
|
||||
|
@ -353,7 +353,7 @@ def _c(solver,partInfo,subname,shape,requireArc=False,retAll=False):
|
|||
pln = _w(solver,partInfo,subname,shape,True)
|
||||
r = utils.getElementCircular(shape)
|
||||
if not r:
|
||||
raise RuntimeError('shape is not cicular')
|
||||
raise RuntimeError('shape is not circular')
|
||||
system.NameTag = nameTag + '.r'
|
||||
hr = system.addDistanceV(r)
|
||||
if requireArc or isinstance(r,(list,tuple)):
|
||||
|
@ -1284,7 +1284,7 @@ class PlaneCoincident(BaseCascade):
|
|||
_iconName = 'Assembly_ConstraintCoincidence.svg'
|
||||
_props = ['Multiply','Cascade','Offset','OffsetX','OffsetY'] + _AngleProps
|
||||
_tooltip = \
|
||||
'Add a "{}" constraint to conincide planar faces of two or more parts.\n'\
|
||||
'Add a "{}" constraint to coincide planar faces of two or more parts.\n'\
|
||||
'The faces are coincided at their centers with an optional distance.'
|
||||
|
||||
|
||||
|
@ -1380,7 +1380,7 @@ class PointsCoincident(Base):
|
|||
_entityDef = (_p,_p)
|
||||
_workplane = True
|
||||
_iconName = 'Assembly_ConstraintPointCoincident.svg'
|
||||
_tooltips = 'Add a "{}" constraint to conincide two points in 2D or 3D'
|
||||
_tooltips = 'Add a "{}" constraint to coincide two points in 2D or 3D'
|
||||
|
||||
|
||||
class PointInPlane(BaseMulti):
|
||||
|
@ -1786,7 +1786,7 @@ class MidPoint(BaseSketch):
|
|||
if not func:
|
||||
return
|
||||
params = cls.getPropertyValues(obj) + cls.getEntities(obj,solver)
|
||||
# temparary fix of slvs.addMidPoint(), which should have made wrkpln
|
||||
# temporary fix of slvs.addMidPoint(), which should have made wrkpln
|
||||
# argument optional and defaults to 0
|
||||
if len(params)==2:
|
||||
params.append(0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user