Thingiverse
box in one line of code
by Predsedatel
18
Downloads
10
Likes
0
Makes
include ;
boxM(A, srez, h){
/*here is the code of the figure from which to make the box*/
};
let's say so
boxM(50, 20, 10){
cube(100, true);
};
or so
boxM(50, 20, 10){
minkowski(){
cube(100, true);
sphere(5, $fn=30);
};
};
or so
include;
color("green")
boxM(80, 20, 4, 0.97, 0.98, 0.97)
minkowski(){
linear_extrude(height = 100, center = true)
polygon( for(a=[0:3:359])
[(5*sin(6*a)+55)*sin(a), (5*sin(6*a)+55)*cos(a)]
] );
boxM(A, srez, h){
/*here is the code of the figure from which to make the box*/
};
let's say so
boxM(50, 20, 10){
cube(100, true);
};
or so
boxM(50, 20, 10){
minkowski(){
cube(100, true);
sphere(5, $fn=30);
};
};
or so
include;
color("green")
boxM(80, 20, 4, 0.97, 0.98, 0.97)
minkowski(){
linear_extrude(height = 100, center = true)
polygon( for(a=[0:3:359])
[(5*sin(6*a)+55)*sin(a), (5*sin(6*a)+55)*cos(a)]
] );
Sign in to leave a comment
Sign in