Fix various typos
This commit is contained in:
@@ -169,7 +169,7 @@ def removeComponents(objectsList,host=None):
|
||||
# Check if o and o.Base has Attachment Support, and
|
||||
# if the support is the host object itself - thus a cyclic
|
||||
# dependency and probably creating TNP.
|
||||
# If above is postive, remove its AttachmentSupport:
|
||||
# If above is positive, remove its AttachmentSupport:
|
||||
if hasattr(o,"Base") and o.Base:
|
||||
objList = [o, o.Base]
|
||||
else:
|
||||
@@ -771,7 +771,7 @@ def pruneIncluded(objectslist,strict=False):
|
||||
# don't consider a PartDesign_Body with a PartDesign_Clone that references obj
|
||||
pass
|
||||
elif parent.isDerivedFrom("PartDesign::SubShapeBinder") or (hasattr(parent, "TypeId") and parent.TypeId == "PartDesign::ShapeBinder"):
|
||||
# don't consider a PartDesign_SubShapeBinder or PartDesign_ShapeBinder referncing this object from another object
|
||||
# don't consider a PartDesign_SubShapeBinder or PartDesign_ShapeBinder referencing this object from another object
|
||||
pass
|
||||
elif hasattr(parent,"Host") and parent.Host == obj:
|
||||
pass
|
||||
|
||||
@@ -234,7 +234,7 @@ def get_text(annotation):
|
||||
def get_dimension(annotation):
|
||||
"""Determines if an IfcAnnotation is representing a dimension.
|
||||
Returns a list containing the representation, two points indicating
|
||||
the mesured points, and optionally a third point indicating where
|
||||
the measured points, and optionally a third point indicating where
|
||||
the dimension line is located, if available"""
|
||||
|
||||
if annotation.is_a("IfcAnnotation"):
|
||||
|
||||
@@ -408,7 +408,7 @@ def get_children(
|
||||
|
||||
|
||||
def get_freecad_children(obj):
|
||||
"""Returns the childen of this object that exist in the documemt"""
|
||||
"""Returns the children of this object that exist in the document"""
|
||||
|
||||
objs = []
|
||||
children = get_children(obj)
|
||||
|
||||
Reference in New Issue
Block a user