Fix various typos

Missed by the codespell CI not being functional for a period of time.
This commit is contained in:
Luz Paz
2025-05-12 12:29:44 -04:00
committed by Chris Hennes
parent 1a27e92bb0
commit ee4fa234c9
15 changed files with 24 additions and 24 deletions

View File

@@ -1289,7 +1289,7 @@ class _Stairs(ArchComponent.Component):
if structure == "Massive":
if structureThickness:
# TODO Why 're-use' vBase?
# TODO Why 'reuse' vBase?
# '# Massive Structure to respect 'align' attribute'
vBase = vBasedAligned.add(vRiserThickness)

View File

@@ -180,7 +180,7 @@ class ObjectTapping(PathCircularHoleBase.ObjectOp):
holes = PathUtils.sort_locations(holes, ["x", "y"])
# This section is technical debt. The computation of the
# target shapes should be factored out for re-use.
# target shapes should be factored out for reuse.
# This will likely mean refactoring upstream CircularHoleBase to pass
# spot shapes instead of holes.

View File

@@ -544,7 +544,7 @@ class Snapmaker(Path.Post.Processor.PostProcessor):
self.values["MOD_KITS_INSTALLED"] = []
if args.boundaries: # may override machine boundaries, which is expected
self.values["BOUNDARIES"] = args.boundaries
self.values["MACHINE_NAME"] += " Boundaries overide=" + str(args.boundaries)
self.values["MACHINE_NAME"] += " Boundaries override=" + str(args.boundaries)
else:
compatible_modkit_combos = [
bt["mods"]

View File

@@ -350,7 +350,7 @@ private:
throw Py::Exception();
}
// if non is returned the VTK object was created by annother VTK library, and the
// if none is returned the VTK object was created by another VTK library, and the
// python api used to create it cannot be used with FreeCAD
vtkObjectBase* obj = vtkPythonUtil::GetPointerFromObject(pcObj, "vtkObject");
if (!obj) {

View File

@@ -88,7 +88,7 @@ FemPostFilter::FilterPipeline& FemPostFilter::getFilterPipeline(std::string name
void FemPostFilter::setActiveFilterPipeline(std::string name)
{
if (m_pipelines.count(name) == 0) {
throw Base::ValueError("Not a filter pipline name");
throw Base::ValueError("Not a filter pipeline name");
}
if (m_activePipeline != name && isValid()) {

View File

@@ -380,7 +380,7 @@ class CommandManager:
# like add_obj_on_gui_selobj_noset_edit but the selection is kept
# and the selobj is expanded in the tree to see the added obj
# check if we should use python fitler
# check if we should use python filter
if vtk_compatibility_abort(True):
return

View File

@@ -108,7 +108,7 @@ def _find_compatible_module():
# use a single folder as path and try to load vtk
sys.path = [folder]
if vtk_module_compatible():
# we do still unload, to let the user descide if he wants to use it
# we do still unload, to let the user decide if they want to use it
_unload_vtk_modules()
sys.path = path
return folder

View File

@@ -346,7 +346,7 @@ void DrawComplexSection::makeAlignedPieces(const TopoDS_Shape& rawShape)
uRotateAxis.Normalize();
// the reversers control left to right vs right to left (or top to bottom vs botttom to top)
// the reversers control left to right vs right to left (or top to bottom vs bottom to top)
// arrangement of the cut pieces.
double horizReverser{1.0};
double verticalReverser{1.0};