Fix typos in TD and FEM source comments/documentation [skip ci]
This commit is contained in:
@@ -98,7 +98,7 @@ def is_of_type(obj, ty):
|
||||
|
||||
|
||||
def is_derived_from(obj, t):
|
||||
""" Check if *obj* is derived from *t* honoring Fems typesytem.
|
||||
""" Check if *obj* is derived from *t* honoring Fems typesystem.
|
||||
|
||||
Essentially just call ``obj.isDerivedFrom(t)`` and return it's value. For
|
||||
objects using Fems typesystem (see :py:func:`type_of_obj`) return always
|
||||
|
||||
@@ -40,7 +40,7 @@ def get_member(analysis, t):
|
||||
""" Return list of all members of *analysis* of type *t*.
|
||||
|
||||
Search *analysis* for members of type *t*. This method checks the custom
|
||||
python typesytem (BaseType class property) used by the Fem module if
|
||||
python typesystem (BaseType class property) used by the Fem module if
|
||||
possible. If the object does not use the python typesystem the usual
|
||||
isDerivedFrom from the C++ dynamic type system is used.
|
||||
|
||||
@@ -68,7 +68,7 @@ def get_single_member(analysis, t):
|
||||
""" Return one object of type *t* and part of *analysis*.
|
||||
|
||||
Search *analysis* for members of type *t* and return the first one that's
|
||||
found. This method checks the custom python typesytem (BaseType class
|
||||
found. This method checks the custom python typesystem (BaseType class
|
||||
property) used by the Fem module if possible. If the object doesn't use the
|
||||
python typesystem the usual isDerivedFrom from the C++ dynamic type system
|
||||
is used.
|
||||
|
||||
@@ -413,7 +413,7 @@ TopoDS_Shape DrawComplexSection::makeAlignedPieces(const TopoDS_Shape &rawShape,
|
||||
TopoDS_Shape pieceRotated = mkTransRotate.Shape();
|
||||
|
||||
//align a copy of the piece with OXYZ so we can use bounding box to get
|
||||
//width, depth, height of the piece. We copy the piece so the tranformation
|
||||
//width, depth, height of the piece. We copy the piece so the transformation
|
||||
//does not affect the original.
|
||||
BRepBuilderAPI_Copy BuilderPieceCopy(pieceRotated);
|
||||
TopoDS_Shape copyPieceRotatedShape = BuilderPieceCopy.Shape();
|
||||
|
||||
@@ -1006,7 +1006,7 @@ bool DrawViewPart::hasGeometry(void) const
|
||||
return false;
|
||||
}
|
||||
|
||||
//convert a vector in local XY coords into a coordinate sytem in global
|
||||
//convert a vector in local XY coords into a coordinate system in global
|
||||
//coordinates aligned to the vector.
|
||||
//Note that this CS may not have the ideal XDirection for the derived view
|
||||
//(likely a DrawViewSection) and the user may need to adjust the XDirection
|
||||
|
||||
@@ -887,7 +887,7 @@ void QGIViewPart::drawComplexSectionLine(TechDraw::DrawViewSection* viewSection,
|
||||
wirePath.connectPath(firstSeg);
|
||||
int edgeCount = edges.size();
|
||||
//NOTE: if the edges are not in nose to tail order, Qt will insert extra segments
|
||||
//that will overlap the segments we add. for interupted line styles, this
|
||||
//that will overlap the segments we add. for interrupted line styles, this
|
||||
//will make the line look continuous. This is prevented in
|
||||
//DrawComplexSection::makeSectionLineGeometry by calling makeNoseToTailWire
|
||||
for (int i = 1; i < edgeCount; i++) {
|
||||
|
||||
@@ -170,7 +170,7 @@ void TaskComplexSection::setUiPrimary()
|
||||
m_saveNormal = dirs.first;
|
||||
m_localUnit = dirs.first;
|
||||
m_saveXDir = dirs.second;
|
||||
m_viewDirectionWidget->setValue(m_saveNormal * -1.0); //this will propogate to m_compass
|
||||
m_viewDirectionWidget->setValue(m_saveNormal * -1.0); //this will propagate to m_compass
|
||||
}
|
||||
|
||||
//don't allow updates until a direction is picked
|
||||
|
||||
Reference in New Issue
Block a user