From 8a5290ae86b1a2c923354f86100f68d7db3a69ee Mon Sep 17 00:00:00 2001 From: Luz Paz Date: Sun, 25 May 2025 20:10:28 -0400 Subject: [PATCH] Fix various typos Found via codespell --- src/Mod/CAM/Path/Op/Vcarve.py | 2 +- src/Mod/CAM/libarea/clipper.cpp | 4 ++-- src/Mod/CAM/libarea/clipper.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/CAM/Path/Op/Vcarve.py b/src/Mod/CAM/Path/Op/Vcarve.py index 456409d4fa..782b977bf4 100644 --- a/src/Mod/CAM/Path/Op/Vcarve.py +++ b/src/Mod/CAM/Path/Op/Vcarve.py @@ -164,7 +164,7 @@ class _Geometry(object): def incrementStepDownDepth(self, maximumUsableDepth): """ - Increase stepDown depth before staring new carving pass. + Increase stepDown depth before starting new carving pass. :returns: True if successful, False if maximum depth achieved """ diff --git a/src/Mod/CAM/libarea/clipper.cpp b/src/Mod/CAM/libarea/clipper.cpp index 9cc6e974bc..28b8394a67 100644 --- a/src/Mod/CAM/libarea/clipper.cpp +++ b/src/Mod/CAM/libarea/clipper.cpp @@ -1903,7 +1903,7 @@ bool Clipper::ExecuteInternal() void Clipper::SetWindingCount(TEdge& edge) { TEdge* e = edge.PrevInAEL; - // find the edge of the same polytype that immediately preceeds 'edge' in AEL + // find the edge of the same polytype that immediately precedes 'edge' in AEL while (e && ((e->PolyTyp != edge.PolyTyp) || (e->WindDelta == 0))) { e = e->PrevInAEL; } @@ -3083,7 +3083,7 @@ void Clipper::ProcessHorizontal(TEdge* horzEdge) while (e) { // this code block inserts extra coords into horizontal edges (in output - // polygons) whereever maxima touch these horizontal edges. This helps + // polygons) wherever maxima touch these horizontal edges. This helps //'simplifying' polygons (ie if the Simplify property is set). if (m_Maxima.size() > 0) { if (dir == dLeftToRight) { diff --git a/src/Mod/CAM/libarea/clipper.hpp b/src/Mod/CAM/libarea/clipper.hpp index 9d20e1be96..1a2b33e6c7 100644 --- a/src/Mod/CAM/libarea/clipper.hpp +++ b/src/Mod/CAM/libarea/clipper.hpp @@ -40,7 +40,7 @@ // improve performance but coordinate values are limited to the range +/- 46340 // #define use_int32 -// use_xyz: adds a Z member to IntPoint. Adds a minor cost to perfomance. +// use_xyz: adds a Z member to IntPoint. Adds a minor cost to performance. // #define use_xyz // use_lines: Enables line clipping. Adds a very minor cost to performance.