Merge pull request #1044 from sethfischer/fix-typo
Fix typo "wokrplane" -> "workplane"
This commit is contained in:
		@ -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.
 | 
			
		||||
 | 
			
		||||
@ -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)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user