From 37c55b67b59e94cfbe16b3b5d824ac450b34319a Mon Sep 17 00:00:00 2001 From: Ryan Balfanz Date: Wed, 3 Apr 2019 21:13:36 -0700 Subject: [PATCH] Fix misspelled local variable in egg() module --- regular_shapes.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regular_shapes.scad b/regular_shapes.scad index 5562850..72dcca8 100644 --- a/regular_shapes.scad +++ b/regular_shapes.scad @@ -247,11 +247,11 @@ module square_pyramid(base_x, base_y,height) polyhedron(points=[[-w,-h,0],[-w,h,0],[w,h,0],[w,-h,0],[0,0,height]],triangles=[[0,3,2,1], [0,1,4], [1,2,4], [2,3,4], [3,0,4]]); } -module egg(width, lenght){ +module egg(width, length){ rotate_extrude() difference(){ - egg_outline(width, lenght); - translate([-lenght, 0, 0]) cube(2*lenght, center=true); + egg_outline(width, length); + translate([-length, 0, 0]) cube(2*length, center=true); } }