diff --git a/curves.scad b/curves.scad index 87c675a..5ababc1 100644 --- a/curves.scad +++ b/curves.scad @@ -1,9 +1,9 @@ // Parametric curves, to be used as paths // Licensed under the MIT license. // © 2010 by Elmo Mäntynen - -include use +include + /* A circular helix of radius a and pitch 2πb is described by the following parametrisation: diff --git a/involute_gears.scad b/involute_gears.scad index 35840a2..eaf9051 100644 --- a/involute_gears.scad +++ b/involute_gears.scad @@ -509,7 +509,7 @@ function rotate_point (rotate, coord) = function involute (base_radius, involute_angle) = [ base_radius*(cos (involute_angle) + involute_angle*pi/180*sin (involute_angle)), - base_radius*(sin (involute_angle) - involute_angle*pi/180*cos (involute_angle)), + base_radius*(sin (involute_angle) - involute_angle*pi/180*cos (involute_angle)) ]; diff --git a/motors.scad b/motors.scad index 8d62f5f..51f8d89 100644 --- a/motors.scad +++ b/motors.scad @@ -92,5 +92,5 @@ module _stepper_motor_mount( %cylinder(r=motor_shaft_diameter/2,h=motor_length+motor_shaft_length--1, center = true); } } - }; + } } diff --git a/shapes.scad b/shapes.scad index 9f6b108..a4540bb 100644 --- a/shapes.scad +++ b/shapes.scad @@ -29,13 +29,13 @@ //---------------------- // size is a vector [w, h, d] -module box(width, height, depth,) { - cube([width, height, depth,], true); +module box(width, height, depth) { + cube([width, height, depth], true); } // size is a vector [w, h, d] module roundedBox(width, height, depth, radius) { - size=[width, height, depth,]; + size=[width, height, depth]; cube(size - [2*radius,0,0], true); cube(size - [0,2*radius,0], true); for (x = [radius-size[0]/2, -radius+size[0]/2], diff --git a/stepper.scad b/stepper.scad index 4baddc3..c19d4af 100644 --- a/stepper.scad +++ b/stepper.scad @@ -73,7 +73,7 @@ Nema08 = [ [NemaBackAxleLength, 9.9*mm], [NemaAxleFlatDepth, -1*mm], [NemaAxleFlatLengthFront, 0*mm], - [NemaAxleFlatLengthBack, 0*mm], + [NemaAxleFlatLengthBack, 0*mm] ]; Nema11 = [ @@ -95,7 +95,7 @@ Nema11 = [ [NemaBackAxleLength, 10*mm], [NemaAxleFlatDepth, 0.5*mm], [NemaAxleFlatLengthFront, 10*mm], - [NemaAxleFlatLengthBack, 9*mm], + [NemaAxleFlatLengthBack, 9*mm] ]; Nema14 = [ @@ -117,7 +117,7 @@ Nema14 = [ [NemaBackAxleLength, 10*mm], [NemaAxleFlatDepth, 0.5*mm], [NemaAxleFlatLengthFront, 15*mm], - [NemaAxleFlatLengthBack, 9*mm], + [NemaAxleFlatLengthBack, 9*mm] ]; Nema17 = [ @@ -139,7 +139,7 @@ Nema17 = [ [NemaBackAxleLength, 15*mm], [NemaAxleFlatDepth, 0.5*mm], [NemaAxleFlatLengthFront, 15*mm], - [NemaAxleFlatLengthBack, 14*mm], + [NemaAxleFlatLengthBack, 14*mm] ]; Nema23 = [ @@ -161,7 +161,7 @@ Nema23 = [ [NemaBackAxleLength, 15.60*mm], [NemaAxleFlatDepth, 0.5*mm], [NemaAxleFlatLengthFront, 16*mm], - [NemaAxleFlatLengthBack, 14*mm], + [NemaAxleFlatLengthBack, 14*mm] ]; Nema34 = [ @@ -183,7 +183,7 @@ Nema34 = [ [NemaBackAxleLength, 34*mm], [NemaAxleFlatDepth, 1.20*mm], [NemaAxleFlatLengthFront, 25*mm], - [NemaAxleFlatLengthBack, 25*mm], + [NemaAxleFlatLengthBack, 25*mm] ];