Misc typos and whitespace fixes
Found via `codespell`
This commit is contained in:
parent
7adcf54874
commit
e9fe377f7b
|
@ -469,7 +469,7 @@ class AsmElement(AsmBase):
|
||||||
|
|
||||||
If there is only one selection, then the selection must refer to a sub
|
If there is only one selection, then the selection must refer to a sub
|
||||||
element of some part object of an assembly. We shall create a new
|
element of some part object of an assembly. We shall create a new
|
||||||
element beloning to the top-level assembly
|
element belonging to the top-level assembly
|
||||||
|
|
||||||
If there are two selections, then first one shall be either the
|
If there are two selections, then first one shall be either the
|
||||||
element group or an individual element. The second selection shall
|
element group or an individual element. The second selection shall
|
||||||
|
@ -767,7 +767,7 @@ def getElementInfo(parent,subname,
|
||||||
subname: subname reference to the part element (i.e. edge, face, vertex)
|
subname: subname reference to the part element (i.e. edge, face, vertex)
|
||||||
|
|
||||||
shape: caller can pass in a pre-obtained element shape. The shape is
|
shape: caller can pass in a pre-obtained element shape. The shape is
|
||||||
assumed ot be in the assembly coordinate space. This function will then
|
assumed to be in the assembly coordinate space. This function will then
|
||||||
transform the shape into the its owner part's coordinate space. If
|
transform the shape into the its owner part's coordinate space. If
|
||||||
'shape' is not given, then the output shape will be obtained through
|
'shape' is not given, then the output shape will be obtained through
|
||||||
'parent' and 'subname'
|
'parent' and 'subname'
|
||||||
|
@ -858,7 +858,7 @@ def getElementInfo(parent,subname,
|
||||||
# trim the subname to be after the array element
|
# trim the subname to be after the array element
|
||||||
subname = '.'.join(names[2:])
|
subname = '.'.join(names[2:])
|
||||||
|
|
||||||
# There are two states of an link array.
|
# There are two states of an link array.
|
||||||
if getLinkProperty(part[0],'ElementList'):
|
if getLinkProperty(part[0],'ElementList'):
|
||||||
# a) The elements are expanded as individual objects, i.e
|
# a) The elements are expanded as individual objects, i.e
|
||||||
# when ElementList has members, then the moveable Placement
|
# when ElementList has members, then the moveable Placement
|
||||||
|
@ -1478,7 +1478,7 @@ class AsmConstraint(AsmGroup):
|
||||||
Parse Gui.Selection for making a constraint
|
Parse Gui.Selection for making a constraint
|
||||||
|
|
||||||
The selected elements must all belong to the same immediate parent
|
The selected elements must all belong to the same immediate parent
|
||||||
assembly.
|
assembly.
|
||||||
'''
|
'''
|
||||||
if not sels:
|
if not sels:
|
||||||
sels = FreeCADGui.Selection.getSelectionEx('',False)
|
sels = FreeCADGui.Selection.getSelectionEx('',False)
|
||||||
|
@ -3290,4 +3290,3 @@ class ViewProviderAsmWorkPlane(ViewProviderAsmBase):
|
||||||
|
|
||||||
def setDisplayMode(self, mode):
|
def setDisplayMode(self, mode):
|
||||||
return mode
|
return mode
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ from .system import System
|
||||||
# plane of the part.
|
# plane of the part.
|
||||||
# EntityMap: string -> entity handle map, for caching
|
# EntityMap: string -> entity handle map, for caching
|
||||||
# Group: transforming entity group handle
|
# Group: transforming entity group handle
|
||||||
# CstrMap: map from other part to the constrains between this and the othe part.
|
# CstrMap: map from other part to the constrains between this and the other part.
|
||||||
# This is for auto constraint DOF reduction. Only some composite
|
# This is for auto constraint DOF reduction. Only some composite
|
||||||
# constraints will be mapped.
|
# constraints will be mapped.
|
||||||
# Update: in case the constraint uses the `Multiplication` feature, only the
|
# Update: in case the constraint uses the `Multiplication` feature, only the
|
||||||
|
@ -347,7 +347,7 @@ def _solve(objs=None,recursive=None,reportFailed=False,
|
||||||
# topologically sorted list.
|
# topologically sorted list.
|
||||||
#
|
#
|
||||||
# TODO: it would be ideal if we can filter out those disabled assemblies
|
# TODO: it would be ideal if we can filter out those disabled assemblies
|
||||||
# found during the recrusive search. Can't think of an easy way right
|
# found during the recursive search. Can't think of an easy way right
|
||||||
# now
|
# now
|
||||||
objs = FreeCAD.getDependentObjects(assemblies,False,True)
|
objs = FreeCAD.getDependentObjects(assemblies,False,True)
|
||||||
assemblies = []
|
assemblies = []
|
||||||
|
@ -407,4 +407,3 @@ def solve(*args, **kargs):
|
||||||
|
|
||||||
def isBusy():
|
def isBusy():
|
||||||
return _SolverBusy
|
return _SolverBusy
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user