Fix typos (#26576)
* Fix typos in code documentation
Signed-off-by: Christoph Niethammer <christoph.niethammer@gmail.com>
* Update tool tip for links 'copyOnChange' property
The tool tip for the copyOnChange property was missing the "tracking"
option and had some typos. For details see the wiki documentation at
https://wiki.freecad.org/Std_LinkMake and commit
d1b6bb78d1.
Signed-off-by: Christoph Niethammer <christoph.niethammer@gmail.com>
---------
Signed-off-by: Christoph Niethammer <christoph.niethammer@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
This commit is contained in:
committed by
GitHub
parent
4497ce0146
commit
1046c3682a
@@ -266,7 +266,7 @@ public:
|
||||
* This function sets the value of the property identified by the path. It
|
||||
* is meant to be overridden for subclasses in which the `path` is
|
||||
* typically ignored. The default implementation redirects setting a value
|
||||
* to the the `path` ObjectIdentifier.
|
||||
* to the `path` ObjectIdentifier.
|
||||
*
|
||||
* @param[in] path The path to the property.
|
||||
* @param[in] value The value to set.
|
||||
|
||||
@@ -645,7 +645,7 @@ void ToolBarManager::setupToolBarIconSize()
|
||||
{
|
||||
int s = toolBarIconSize();
|
||||
getMainWindow()->setIconSize(QSize(s, s));
|
||||
// Most of the the toolbar will have explicit icon size, so the above call
|
||||
// Most of the toolbar will have explicit icon size, so the above call
|
||||
// to QMainWindow::setIconSize() will have no effect. We need to explicitly
|
||||
// change the icon size.
|
||||
QList<QToolBar*> bars = getMainWindow()->findChildren<QToolBar*>();
|
||||
|
||||
@@ -1192,7 +1192,7 @@ public:
|
||||
* @param base: the base shape
|
||||
* @param axis: the revolving axis
|
||||
* @param d: rotation angle in degree
|
||||
* @param face_maker: optional type name of the the maker used to make a
|
||||
* @param face_maker: optional type name of the maker used to make a
|
||||
* face from basis shape
|
||||
* @param op: optional string to be encoded into topo naming for indicating
|
||||
* the operation
|
||||
@@ -1214,7 +1214,7 @@ public:
|
||||
*
|
||||
* @param axis: the revolving axis
|
||||
* @param d: rotation angle in degree
|
||||
* @param face_maker: optional type name of the the maker used to make a
|
||||
* @param face_maker: optional type name of the maker used to make a
|
||||
* face from basis shape
|
||||
* @param op: optional string to be encoded into topo naming for indicating
|
||||
* the operation
|
||||
@@ -1237,7 +1237,7 @@ public:
|
||||
* @param base: the basis shape (solid)
|
||||
* @param profile: the shape to be revolved
|
||||
* @param axis: the revolving axis
|
||||
* @param face_maker: optional type name of the the maker used to make a
|
||||
* @param face_maker: optional type name of the maker used to make a
|
||||
* face from basis shape
|
||||
* @param supportface: the bottom face for the revolution, or null
|
||||
* @param uptoface: the upper limit face for the revolution, or null
|
||||
@@ -1263,7 +1263,7 @@ public:
|
||||
/** Make revolved shell around a basis shape
|
||||
*
|
||||
* @param axis: the revolving axis
|
||||
* @param face_maker: optional type name of the the maker used to make a
|
||||
* @param face_maker: optional type name of the maker used to make a
|
||||
* face from basis shape
|
||||
* @param supportface: the bottom face for the revolution, or null
|
||||
* @param uptoface: the upper limit face for the revolution, or null
|
||||
@@ -2719,7 +2719,7 @@ public:
|
||||
*
|
||||
* @param shapes: input shapes of any type. The function will automatically
|
||||
* discover connected and closed edges to be used as the
|
||||
* boundary of the the new face. Any other vertex, edge,
|
||||
* boundary of the new face. Any other vertex, edge,
|
||||
* and/or face will be used as constraints to fine tune the
|
||||
* surface generation.
|
||||
* @param params: @sa BRepFillingParams
|
||||
|
||||
@@ -2163,10 +2163,7 @@ TopoShape& TopoShape::makeElementEvolve(
|
||||
if (profileShape.IsNull() || !BRepBuilderAPI_FindPlane(profileShape).Found()) {
|
||||
if (profileShape.IsNull() || profile.countSubShapes(TopAbs_EDGE) > 1
|
||||
|| !profile.getSubTopoShape(TopAbs_EDGE, 1).isLinearEdge()) {
|
||||
FC_THROWM(
|
||||
Base::CADKernelError,
|
||||
"Expect the the profile to be a planar wire or a face or a line"
|
||||
);
|
||||
FC_THROWM(Base::CADKernelError, "Expect the profile to be a planar wire or a face or a line");
|
||||
}
|
||||
}
|
||||
if (spineShape.ShapeType() == TopAbs_FACE) {
|
||||
@@ -3642,7 +3639,7 @@ struct MapperPrism: MapperMaker
|
||||
TopoShape shape(maker.Shape());
|
||||
for (auto& vertex : bottom.getSubShapes(TopAbs_VERTEX)) {
|
||||
for (auto& e : shape.findAncestorsShapes(vertex, TopAbs_EDGE)) {
|
||||
// Make sure to not visit the the same edge twice.
|
||||
// Make sure to not visit the same edge twice.
|
||||
// And check only edge that are not found in the bottom profile
|
||||
if (!edgeSet.insert(e).second && !bottom.findShape(e)) {
|
||||
auto otherVertex = TopExp::FirstVertex(TopoDS::Edge(e));
|
||||
|
||||
@@ -79,7 +79,7 @@ std::vector<TopoDS_Shape> ShapeExtractor::getShapes2d(const std::vector<App::Doc
|
||||
return shapes2d;
|
||||
}
|
||||
|
||||
//! get the located and oriented shapes corresponding to the the links. If the shapes are to be
|
||||
//! get the located and oriented shapes corresponding to the links. If the shapes are to be
|
||||
//! fused, include2d should be false as 2d & 3d shapes may not fuse.
|
||||
TopoDS_Shape ShapeExtractor::getShapes(const std::vector<App::DocumentObject*> links, bool include2d)
|
||||
{
|
||||
|
||||
@@ -61,7 +61,7 @@ bool QGIProjGroup::autoDistributeEnabled() const
|
||||
|
||||
|
||||
// note that we are not actually handling any of these events (ie we don't return true, and we don't
|
||||
// set the the event to ignore) here.
|
||||
// set the event to ignore) here.
|
||||
bool QGIProjGroup::sceneEventFilter(QGraphicsItem* watched, QEvent *event)
|
||||
{
|
||||
auto qvpart = dynamic_cast<QGIViewPart*>(watched);
|
||||
|
||||
Reference in New Issue
Block a user