linear_extrude (height = 30, twist = 180, r=2)
union (r=2) {
square(x=[-2,2], y=[-10,10], r=2);
square(x=[-10,10], y=[-2,2], r=2);
}
Try this code!
linear_extrude (height = 40, twist(h) = 90*cos(h*2*pi/40))
difference () {
shell(2) circle (10);
square(x=[0,20], y=[-4,4]);
}
Try this code!
linear_extrude(height(x,y) = 10 + 5*cos(x) + 5*cos(y) )
circle(10);
Try this code!
union() {
cylinder(r=19, h=10, $fn=6, center=true);
cylinder(r=10, h=40);
rotate_extrude(4*360, translate=[0,38])
translate ([10,0]) square([8,4], center=true);
}
Try this code!