How do you round the inside walls of a cube? February 13, 2015 01:00PM |
Registered: 10 years ago Posts: 780 |
Re: How do you round the inside walls of a cube? February 13, 2015 03:34PM |
Registered: 13 years ago Posts: 861 |
Re: How do you round the inside walls of a cube? February 13, 2015 11:43PM |
Registered: 11 years ago Posts: 1,320 |
hull () for (i=[-1, 1], j=[-1, 1], k=[-1, 1]) translate([i*10, j*10,k*10]) sphere(r=5):
Re: How do you round the inside walls of a cube? February 14, 2015 10:56AM |
Registered: 10 years ago Posts: 780 |
Re: How do you round the inside walls of a cube? February 14, 2015 03:23PM |
Registered: 11 years ago Posts: 369 |
Rounded_aperture(size=50, radius=5); module Rounded_aperture(size, radius) { ff = 0.05; // CSG fudge factor difference() { cube(size=size+ff, center=true); for (i = [0:3]) rotate([0, 0, i*90]) hull() { translate([size/2, 0, size/2-radius]) rotate([90, 0, 0]) cylinder(h=size+2*ff, r=radius, center=true); translate([size/2, 0, radius-size/2]) rotate([90, 0, 0]) cylinder(h=size+2*ff, r=radius, center=true); } } }
Re: How do you round the inside walls of a cube? February 15, 2015 07:55AM |
Registered: 10 years ago Posts: 780 |
Re: How do you round the inside walls of a cube? February 16, 2015 07:59AM |
Registered: 10 years ago Posts: 2,472 |
Re: How do you round the inside walls of a cube? July 08, 2015 05:27AM |
Registered: 8 years ago Posts: 2 |
Re: How do you round the inside walls of a cube? July 09, 2015 06:28AM |
Registered: 11 years ago Posts: 369 |