@@ -360,7 +360,7 @@ module gear (
360360 {
361361 difference ()
362362 {
363- linear_exturde_flat_option (flat= flat, height= rim_thickness, convexity= 10 , twist= twist)
363+ linear_extrude_flat_option (flat= flat, height= rim_thickness, convexity= 10 , twist= twist)
364364 gear_shape (
365365 number_of_teeth,
366366 pitch_radius = pitch_radius,
@@ -375,28 +375,28 @@ module gear (
375375 cylinder (r= rim_radius,h= rim_thickness- gear_thickness+ 1 );
376376 }
377377 if (gear_thickness > rim_thickness)
378- linear_exturde_flat_option (flat= flat, height= gear_thickness)
378+ linear_extrude_flat_option (flat= flat, height= gear_thickness)
379379 circle (r= rim_radius);
380380 if (flat == false && hub_thickness > gear_thickness)
381381 translate ([0 ,0 ,gear_thickness])
382- linear_exturde_flat_option (flat= flat, height= hub_thickness- gear_thickness)
382+ linear_extrude_flat_option (flat= flat, height= hub_thickness- gear_thickness)
383383 circle (r= hub_diameter/2 );
384384 }
385385 translate ([0 ,0 ,- 1 ])
386- linear_exturde_flat_option (flat = flat, height= 2 + max (rim_thickness,hub_thickness,gear_thickness))
386+ linear_extrude_flat_option (flat = flat, height= 2 + max (rim_thickness,hub_thickness,gear_thickness))
387387 circle (r= bore_diameter/2 );
388388 if (circles> 0 )
389389 {
390390 for (i= [0 :circles- 1 ])
391391 rotate ([0 ,0 ,i* 360 /circles])
392392 translate ([circle_orbit_diameter/2 ,0 ,- 1 ])
393- linear_exturde_flat_option (flat = flat, height= max (gear_thickness,rim_thickness)+ 3 )
393+ linear_extrude_flat_option (flat = flat, height= max (gear_thickness,rim_thickness)+ 3 )
394394 circle(r= circle_diameter/2 );
395395 }
396396 }
397397}
398398
399- module linear_exturde_flat_option (flat =false, height = 10, center = false, convexity = 2, twist = 0)
399+ module linear_extrude_flat_option (flat =false, height = 10, center = false, convexity = 2, twist = 0)
400400{
401401 if (flat== false )
402402 {
0 commit comments