Skip to content

Commit 9c1d8c4

Browse files
committed
Randome bits of syntax that openscad doesn't treat as errors
1 parent ab6012c commit 9c1d8c4

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

curves.scad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Parametric curves, to be used as paths
22
// Licensed under the MIT license.
33
// © 2010 by Elmo Mäntynen
4-
5-
include <constants.scad>
64
use <math.scad>
5+
include <constants.scad>
6+
77

88

99
/* A circular helix of radius a and pitch 2πb is described by the following parametrisation:

involute_gears.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ function rotate_point (rotate, coord) =
509509
function involute (base_radius, involute_angle) =
510510
[
511511
base_radius*(cos (involute_angle) + involute_angle*pi/180*sin (involute_angle)),
512-
base_radius*(sin (involute_angle) - involute_angle*pi/180*cos (involute_angle)),
512+
base_radius*(sin (involute_angle) - involute_angle*pi/180*cos (involute_angle))
513513
];
514514

515515

motors.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,5 @@ module _stepper_motor_mount(
9292
%cylinder(r=motor_shaft_diameter/2,h=motor_length+motor_shaft_length--1, center = true);
9393
}
9494
}
95-
};
95+
}
9696
}

shapes.scad

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
//----------------------
3030

3131
// size is a vector [w, h, d]
32-
module box(width, height, depth,) {
33-
cube([width, height, depth,], true);
32+
module box(width, height, depth) {
33+
cube([width, height, depth], true);
3434
}
3535

3636
// size is a vector [w, h, d]
3737
module roundedBox(width, height, depth, radius) {
38-
size=[width, height, depth,];
38+
size=[width, height, depth];
3939
cube(size - [2*radius,0,0], true);
4040
cube(size - [0,2*radius,0], true);
4141
for (x = [radius-size[0]/2, -radius+size[0]/2],

stepper.scad

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Nema08 = [
7373
[NemaBackAxleLength, 9.9*mm],
7474
[NemaAxleFlatDepth, -1*mm],
7575
[NemaAxleFlatLengthFront, 0*mm],
76-
[NemaAxleFlatLengthBack, 0*mm],
76+
[NemaAxleFlatLengthBack, 0*mm]
7777
];
7878

7979
Nema11 = [
@@ -95,7 +95,7 @@ Nema11 = [
9595
[NemaBackAxleLength, 10*mm],
9696
[NemaAxleFlatDepth, 0.5*mm],
9797
[NemaAxleFlatLengthFront, 10*mm],
98-
[NemaAxleFlatLengthBack, 9*mm],
98+
[NemaAxleFlatLengthBack, 9*mm]
9999
];
100100

101101
Nema14 = [
@@ -117,7 +117,7 @@ Nema14 = [
117117
[NemaBackAxleLength, 10*mm],
118118
[NemaAxleFlatDepth, 0.5*mm],
119119
[NemaAxleFlatLengthFront, 15*mm],
120-
[NemaAxleFlatLengthBack, 9*mm],
120+
[NemaAxleFlatLengthBack, 9*mm]
121121
];
122122

123123
Nema17 = [
@@ -139,7 +139,7 @@ Nema17 = [
139139
[NemaBackAxleLength, 15*mm],
140140
[NemaAxleFlatDepth, 0.5*mm],
141141
[NemaAxleFlatLengthFront, 15*mm],
142-
[NemaAxleFlatLengthBack, 14*mm],
142+
[NemaAxleFlatLengthBack, 14*mm]
143143
];
144144

145145
Nema23 = [
@@ -161,7 +161,7 @@ Nema23 = [
161161
[NemaBackAxleLength, 15.60*mm],
162162
[NemaAxleFlatDepth, 0.5*mm],
163163
[NemaAxleFlatLengthFront, 16*mm],
164-
[NemaAxleFlatLengthBack, 14*mm],
164+
[NemaAxleFlatLengthBack, 14*mm]
165165
];
166166

167167
Nema34 = [
@@ -183,7 +183,7 @@ Nema34 = [
183183
[NemaBackAxleLength, 34*mm],
184184
[NemaAxleFlatDepth, 1.20*mm],
185185
[NemaAxleFlatLengthFront, 25*mm],
186-
[NemaAxleFlatLengthBack, 25*mm],
186+
[NemaAxleFlatLengthBack, 25*mm]
187187
];
188188

189189

0 commit comments

Comments
 (0)