1.) If you pass a list of points to extrudePoints, it omits the first point. This was not noticeable in the examples, because they had a lot of points. As a workaround, it seems the first point can be put into the list twice.
2.) Some segments seem to be rotated 45 degrees. In this example, the last segment is rotated.
include<../tools/tools.scad>
springLength=40;
springWidth=3.5;
springThickness=2;
points=[
[10,10,springLength+50],
[10,10,springLength+50],
[10,25,springLength+50],
[10,10,+50],
[10,10,-springLength+50]
];
extrudePoints(points,0.04)
{
square([springThickness,springWidth],center=true);
}
1.) If you pass a list of points to extrudePoints, it omits the first point. This was not noticeable in the examples, because they had a lot of points. As a workaround, it seems the first point can be put into the list twice.
2.) Some segments seem to be rotated 45 degrees. In this example, the last segment is rotated.