mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-07 01:06:30 +02:00
Fixes for stale examples.
This commit is contained in:
@@ -21,7 +21,7 @@ xdistribute(50) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
recolor("#7f7")
|
recolor("#7f7")
|
||||||
bevel_gear(pitch=8, teeth=20, face_width=12, shaft_diam=25, pitch_angle=45, slices=12, spiral_angle=30);
|
bevel_gear(pitch=8, teeth=30, mate_teeth=30, face_width=12, shaft_diam=15, slices=12, spiral=30);
|
||||||
|
|
||||||
x = 18;
|
x = 18;
|
||||||
y = 20;
|
y = 20;
|
||||||
@@ -50,3 +50,6 @@ xdistribute(50) {
|
|||||||
nut("M12", thickness=10);
|
nut("M12", thickness=10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
include <BOSL2/std.scad>
|
include <BOSL2/std.scad>
|
||||||
module tree(l=1500, sc=0.7, depth=10)
|
module tree(l=1500, sc=0.7, depth=10)
|
||||||
recolor("lightgray")
|
recolor("lightgray")
|
||||||
cylinder(l=l, d1=l/5, d2=l/5*sc)
|
cylinder(h=l, d1=l/5, d2=l/5*sc)
|
||||||
attach(TOP)
|
attach(TOP)
|
||||||
if (depth>0)
|
if (depth>0)
|
||||||
zrot(90)
|
zrot(90)
|
||||||
|
Reference in New Issue
Block a user