mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-05 18:20:46 -08:00
Fix various typos
Found via `codespell -q 3 -L parm,parms,re-use`
This commit is contained in:
parent
297ca9a6b7
commit
9ab0405ab0
4 changed files with 6 additions and 6 deletions
|
|
@ -75,7 +75,7 @@ with BuildPart() as lego:
|
|||
exporter = ExportSVG(scale=6)
|
||||
exporter.add_shape(plan.sketch)
|
||||
exporter.write("assets/lego_step6.svg")
|
||||
# Substract a rectangle leaving ribs on the block walls
|
||||
# Subtract a rectangle leaving ribs on the block walls
|
||||
Rectangle(
|
||||
block_length - 2 * (wall_thickness + ridge_depth),
|
||||
block_width - 2 * (wall_thickness + ridge_depth),
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ plan += locs * Rectangle(width=block_length, height=ridge_width)
|
|||
locs = GridLocations(lego_unit_size, 0, pip_count, 1)
|
||||
plan += locs * Rectangle(width=ridge_width, height=block_width)
|
||||
|
||||
# Substract a rectangle leaving ribs on the block walls
|
||||
# Subtract a rectangle leaving ribs on the block walls
|
||||
plan -= Rectangle(
|
||||
block_length - 2 * (wall_thickness + ridge_depth),
|
||||
block_width - 2 * (wall_thickness + ridge_depth),
|
||||
|
|
|
|||
|
|
@ -292,7 +292,7 @@ class Mixin2D(Shape):
|
|||
Raises:
|
||||
RuntimeError: wrapping over surface boundary, try difference surface_loc
|
||||
Returns:
|
||||
Edge: wraped edge
|
||||
Edge: wrapped edge
|
||||
"""
|
||||
|
||||
def _intersect_surface_normal(
|
||||
|
|
@ -375,7 +375,7 @@ class Mixin2D(Shape):
|
|||
f"Length error of {length_error:.6f} exceeds tolerance {tolerance}"
|
||||
)
|
||||
if not wrapped_edge.is_valid():
|
||||
raise RuntimeError("Wraped edge is invalid")
|
||||
raise RuntimeError("Wrapped edge is invalid")
|
||||
|
||||
if not snap_to_face:
|
||||
return wrapped_edge
|
||||
|
|
@ -1889,7 +1889,7 @@ class Face(Mixin2D, Shape[TopoDS_Face]):
|
|||
return Wire(wrapped_edges)
|
||||
|
||||
#
|
||||
# Part 3: The first and last edges likey don't meet at this point due to
|
||||
# Part 3: The first and last edges likely don't meet at this point due to
|
||||
# distortion caused by following the surface, so we'll need to join
|
||||
# them.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ class Vertex(Shape[TopoDS_Vertex]):
|
|||
def __sub__(self, other: Vertex | Vector | tuple) -> Vertex: # type: ignore
|
||||
"""Subtract
|
||||
|
||||
Substract a Vertex with a Vertex, Vector or Tuple from self
|
||||
Subtract a Vertex with a Vertex, Vector or Tuple from self
|
||||
|
||||
Args:
|
||||
other: Value to add
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue