Skip to content

Commit ecadff2

Browse files
authored
Merge pull request #1361 from shimwell/tiny_typo_fixes
correcting typos and duplicate ipython
2 parents 8bb7a25 + cb1af14 commit ecadff2

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

cadquery/assembly.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
PATH_DELIM = "/"
4646

47-
# entity selector grammar definiiton
47+
# entity selector grammar definition
4848
def _define_grammar():
4949

5050
from pyparsing import (
@@ -385,7 +385,7 @@ def solve(self, verbosity: int = 0) -> "Assembly":
385385
] not in locked:
386386
locked.append(ents[name])
387387

388-
# Lock the first occuring entity if needed.
388+
# Lock the first occurring entity if needed.
389389
if not locked:
390390
unary_objects = [
391391
c.objects[0]
@@ -402,7 +402,7 @@ def solve(self, verbosity: int = 0) -> "Assembly":
402402
locked.append(ents[b])
403403
break
404404

405-
# Lock the first occuring entity if needed.
405+
# Lock the first occurring entity if needed.
406406
if not locked:
407407
locked.append(0)
408408

cadquery/cq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3461,7 +3461,7 @@ def cutBlind(
34613461
# Handling of `until` passed values
34623462
s: Union[Compound, Solid, Shape]
34633463
if isinstance(both, float) and taper == None:
3464-
# Because inserting a new paramater "both" in front of "taper",
3464+
# Because inserting a new parameter "both" in front of "taper",
34653465
# existing code calling this function with position arguments will
34663466
# pass the taper argument (float) to the "both" argument. This
34673467
# warning is to catch that.
@@ -3592,7 +3592,7 @@ def _extrude(
35923592
Make a prismatic solid from the existing set of pending wires.
35933593
35943594
:param distance: distance to extrude
3595-
:param both: extrude in both directions symetrically
3595+
:param both: extrude in both directions symmetrically
35963596
:param upToFace: if specified, extrude up to a face: 0 for the next, -1 for the last face
35973597
:param additive: specify if extruding or cutting, required param for uptoface algorithm
35983598

environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ dependencies:
1616
- pytest
1717
- pytest-cov
1818
- ezdxf
19-
- ipython
2019
- typing_extensions
2120
- nptyping=2.0.1
2221
- nlopt

0 commit comments

Comments
 (0)