Merge pull request #1044 from sethfischer/fix-typo

Fix typo "wokrplane" -> "workplane"
This commit is contained in:
Jeremy Wright
2022-04-06 08:13:21 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@ def export(
):
"""
Export Wokrplane or Shape to file. Multiple entities are converted to compound.
Export Workplane or Shape to file. Multiple entities are converted to compound.
:param w: Shape or Wokrplane to be exported.
:param w: Shape or Workplane to be exported.
:param fname: output filename.
:param exportType: the exportFormat to use. If None will be inferred from the extension. Default: None.
:param tolerance: the deflection tolerance, in model units. Default 0.1.

View File

@ -8,7 +8,7 @@ import cadquery as cq
result = cq.Workplane("front").box(3, 2, 0.5)
# 3. The lowest face in the X direction is selected with the <X selector.
# 4. A new wokrplane is created
# 4. A new workplane is created
# 4a.The workplane is offset from the object surface so that it is not touching
# the original box.
result = result.faces("<X").workplane(offset=0.75)