Fixed deprecated child() reference. Also altered helix() in screw.scad to use all children, not just the first child.
This commit is contained in:
parent
b21ef47a55
commit
71837805b3
|
@ -20,7 +20,7 @@ inner_diameter: thickness of the shaft
|
||||||
module helix(pitch, length, slices=500){
|
module helix(pitch, length, slices=500){
|
||||||
rotations = length/pitch;
|
rotations = length/pitch;
|
||||||
linear_extrude(height=length, center=false, convexity=10, twist=360*rotations, slices=slices, $fn=100)
|
linear_extrude(height=length, center=false, convexity=10, twist=360*rotations, slices=slices, $fn=100)
|
||||||
child(0);
|
children();
|
||||||
}
|
}
|
||||||
|
|
||||||
module auger(pitch, length, outside_radius, inner_radius, taper_ratio = 0.25) {
|
module auger(pitch, length, outside_radius, inner_radius, taper_ratio = 0.25) {
|
||||||
|
|
Loading…
Reference in a new issue