[skip ci] fix follow-up typos
This commit is contained in:
@@ -350,7 +350,7 @@ class _Space(ArchComponent.Component):
|
||||
|
||||
def getShape(self,obj):
|
||||
|
||||
"computes a shape from a base shape and/or bounday faces"
|
||||
"computes a shape from a base shape and/or boundary faces"
|
||||
import Part
|
||||
shape = None
|
||||
faces = []
|
||||
|
||||
@@ -486,7 +486,7 @@ void TaskAssemblyConstraints::setPossibleOptions() {
|
||||
|
||||
void TaskAssemblyConstraints::setPossibleConstraints()
|
||||
{
|
||||
////diasble all constraints for easier enabling
|
||||
////disable all constraints for easier enabling
|
||||
//ui->fix->setEnabled(false);
|
||||
//ui->distance->setEnabled(false);
|
||||
//ui->orientation->setEnabled(false);
|
||||
|
||||
@@ -633,7 +633,7 @@ class Edit():
|
||||
return node
|
||||
|
||||
def sendRay(self, mouse_pos):
|
||||
"sends a ray trough the scene and return the nearest entity"
|
||||
"sends a ray through the scene and return the nearest entity"
|
||||
ray_pick = coin.SoRayPickAction(self.render_manager.getViewportRegion())
|
||||
ray_pick.setPoint(coin.SbVec2s(*mouse_pos))
|
||||
ray_pick.setRadius(self.pick_radius)
|
||||
|
||||
@@ -2867,7 +2867,7 @@ def circleFrom3CircleTangents(circle1, circle2, circle3):
|
||||
# @todo Create 3 lines from the inner and 4 from the outer h. center.
|
||||
# @todo Calc. the 4 inversion poles of these lines for each circle.
|
||||
# @todo Calc. the radical center of the 3 circles.
|
||||
# @todo Calc. the intersection points (max. 8) of 4 lines (trough each inversion pole and the radical center) with the circle.
|
||||
# @todo Calc. the intersection points (max. 8) of 4 lines (through each inversion pole and the radical center) with the circle.
|
||||
# This gives us all the tangent points.
|
||||
else:
|
||||
# Some circles are inside each other or an error has occurred.
|
||||
|
||||
@@ -3941,7 +3941,7 @@ def getViewBlock(geom, view, blockcount):
|
||||
If the global variable `dxfExportBlocks` exists, it will create
|
||||
the appropriate strings for `BLOCK` and `INSERT` sections,
|
||||
and increment the `blockcount`.
|
||||
Otherwise, it will just creaate an insert by changing the layer,
|
||||
Otherwise, it will just create an insert by changing the layer,
|
||||
and setting a handle.
|
||||
|
||||
Parameters
|
||||
@@ -4020,7 +4020,7 @@ def getViewDXF(view, blocks=True):
|
||||
and if the global variable `dxfExportBlocks` exists, it will create
|
||||
the appropriate strings for `BLOCK` and `INSERT` sections,
|
||||
and increment the `blockcount`.
|
||||
Otherwise, it will just creaate an insert by changing the layer,
|
||||
Otherwise, it will just create an insert by changing the layer,
|
||||
and setting a handle
|
||||
|
||||
Parameters
|
||||
|
||||
@@ -111,7 +111,7 @@ public:
|
||||
std::vector<std::string> getDisplayModes() const;
|
||||
|
||||
//creates the widget used in the task dalogs, either for the function itself or for
|
||||
//the fiter using it
|
||||
//the filter using it
|
||||
virtual FunctionWidget* createControlWidget() {return NULL;}
|
||||
|
||||
protected:
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
# ***************************************************************************
|
||||
|
||||
|
||||
# connstraint contact for solid to solid mesh
|
||||
# constraint contact for solid to solid mesh
|
||||
# https://forum.freecadweb.org/viewtopic.php?f=18&t=20276
|
||||
# to run the example use:
|
||||
"""
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
# ***************************************************************************
|
||||
|
||||
|
||||
# connstraint tie, bond tow surfaces together (solid mesh only)
|
||||
# constraint tie, bond two surfaces together (solid mesh only)
|
||||
# https://forum.freecadweb.org/viewtopic.php?f=18&t=42783
|
||||
# to run the example use:
|
||||
"""
|
||||
|
||||
@@ -1331,7 +1331,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Rapid vertical speed assigne to VertRapid of new ToolController.</p></body></html></string>
|
||||
<string><html><head/><body><p>Rapid vertical speed assigned to VertRapid of new ToolController.</p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -208,7 +208,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Rapid vertical speed assigne to VertRapid of new ToolController.</p></body></html></string>
|
||||
<string><html><head/><body><p>Rapid vertical speed assigned to VertRapid of new ToolController.</p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="toolEnumerate">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Assigne numbers to each Tool Bit according to its current position in the library. The first Tool Bit is assigned the ID 1.</p></body></html></string>
|
||||
<string><html><head/><body><p>Assigned numbers to each Tool Bit according to its current position in the library. The first Tool Bit is assigned the ID 1.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enumerate</string>
|
||||
|
||||
@@ -939,7 +939,7 @@ class ObjectTagDressup:
|
||||
PathLog.debug("previousTag = %d [%s]" % (i, prev))
|
||||
else:
|
||||
disabled.append(i)
|
||||
tag.nr = i # assigne final nr
|
||||
tag.nr = i # assign final nr
|
||||
tags.append(tag)
|
||||
positions.append(tag.originAt(self.pathData.minZ))
|
||||
return (tags, positions, disabled)
|
||||
|
||||
@@ -163,7 +163,7 @@ class DressupPathBoundary(object):
|
||||
flip = PathGeom.pointsCoincide(pos, ptL)
|
||||
newPos = e.valueAt(e.FirstParameter) if flip else ptL
|
||||
# outside edges are never taken at this point (see swap of
|
||||
# inside/oustide above) - so just move along ...
|
||||
# inside/outside above) - so just move along ...
|
||||
outside.remove(e)
|
||||
pos = newPos
|
||||
else:
|
||||
|
||||
@@ -212,7 +212,7 @@ def offsetWire(wire, base, offset, forward):
|
||||
# Of the remaining edges we take the longest wire to be the engraving side
|
||||
# Looking for a circle with the start vertex as center marks and end
|
||||
# starting from there follow the edges until a circle with the end vertex as center is found
|
||||
# if the traversed edges include any oof the remainig from above, all those edges are remaining
|
||||
# if the traversed edges include any of the remaining from above, all those edges are remaining
|
||||
# this is to also include edges which might partially be inside shape
|
||||
# if they need to be discarded, split, that should happen in a post process
|
||||
# Depending on the Axis of the circle, and which side remains we know if the wire needs to be flipped
|
||||
|
||||
@@ -116,7 +116,7 @@ void ShapeValidator::checkAndAdd(const Part::TopoShape &ts, const char *subName,
|
||||
checkAndAdd(ts.getShape(), aWD);
|
||||
}
|
||||
}
|
||||
catch (Standard_Failure&) { // any OCC exception means an unappropriate shape in the selection
|
||||
catch (Standard_Failure&) { // any OCC exception means an inappropriate shape in the selection
|
||||
Standard_Failure::Raise("Wrong shape type.\n");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user