21 lines
No EOL
508 B
OpenSCAD
21 lines
No EOL
508 B
OpenSCAD
include <BOSL2/std.scad>
|
|
|
|
leg_num = 5;
|
|
leg_d = 10;
|
|
leg_l = 170/2; // radius = diameter/2 of the pot
|
|
|
|
cyl_d = 30;
|
|
cyl_h = 50;
|
|
|
|
$fn=360;
|
|
|
|
cyl(h=cyl_h, d=cyl_d, anchor=BOT, rounding2=5);
|
|
for(i = [1 : leg_num]) {
|
|
zrot(i*(360/leg_num)) {
|
|
cuboid([leg_d, leg_l,leg_d], anchor=BOT+FWD, rounding=leg_d/2, edges=TOP);
|
|
chain_hull() {
|
|
back(leg_l*2/3) cuboid([leg_d,leg_d,1], anchor=BOT);
|
|
zrot(360/leg_num) back(leg_l*2/3) cuboid([leg_d,leg_d,1], anchor=BOT);
|
|
}
|
|
}
|
|
} |