Thingiverse
nested cubes scad
125
Download
132
Likes
0
Makes
Some nested cubes based on some web art. includes scad and stl files.
only advanced makers can have some idea of getting them into filament, you may have to make wth variable higher.
here is the final scad code, set the rotation to the number you want, change the width, use more cubes, and after is the first version:
__________________
wth = 1.5;//width of bars
rtn = 90/17;//can be used as rotation
xt = 2;//spacing
for(h = [1 : 23])
{
rotate([h*4,0,h*4])
difference(){
wth = 1.5+3/h;//solidify size mod
cube(size = [xt*h,xt*h,xt*h], center = true);
cube(size = [xt*h,xt*h-wth,xt*h-wth], center = true);
cube(size = [xt*h-wth,xt*h,xt*h-wth], center = true);
cube(size = [xt*h-wth,xt*h-wth,xt*h], center = true);
}
}
___________________________
easier version:
wth = 1.1;//width of bars
for(h = [0 : 17])
{
rotate([h*5,0,0])
difference(){
only advanced makers can have some idea of getting them into filament, you may have to make wth variable higher.
here is the final scad code, set the rotation to the number you want, change the width, use more cubes, and after is the first version:
__________________
wth = 1.5;//width of bars
rtn = 90/17;//can be used as rotation
xt = 2;//spacing
for(h = [1 : 23])
{
rotate([h*4,0,h*4])
difference(){
wth = 1.5+3/h;//solidify size mod
cube(size = [xt*h,xt*h,xt*h], center = true);
cube(size = [xt*h,xt*h-wth,xt*h-wth], center = true);
cube(size = [xt*h-wth,xt*h,xt*h-wth], center = true);
cube(size = [xt*h-wth,xt*h-wth,xt*h], center = true);
}
}
___________________________
easier version:
wth = 1.1;//width of bars
for(h = [0 : 17])
{
rotate([h*5,0,0])
difference(){
Hai stampato questo modello? Accedi e condividi il tuo make!
Accedi per lasciare un commento
AccediAncora nessun commento – sii il primo!