first?
Description
tried to bang this out as quickly as possible to win 9000 internet points
( makerbot.com/blog/2011/09/29/openscad-puzzle-challenge-how-would-you-make-this/)
openscad's modular nature made this challenge pretty easy. make one shpere with 3 square through-holes, then repeat 3 times with a different radius.
( makerbot.com/blog/2011/09/29/openscad-puzzle-challenge-how-would-you-make-this/)
openscad's modular nature made this challenge pretty easy. make one shpere with 3 square through-holes, then repeat 3 times with a different radius.
Instructions
No instructions provided.
You must be logged in to post a comment.
License

Over-complicated. This took two minutes (the second minute was scaling it to get a good spacing between the iterations):
for(x = [0:10]) difference() {
sphere(10/x);
rotate([45, 0, 0]) cube([50/x, 8/x, 8/x], center = true);
rotate([0, 45, 0]) cube([8/x, 50/x, 8/x], center = true);
rotate([0, 0, 45]) cube([8/x, 8/x, 50/x], center = true);
}
ah! I did not know about center=true. certainly smooths out the hole creation. and also a good call on the 45 rather than my double-rotation.
BUT! I assumed that getting the same dimensions were part of the challenge, so I skipped the for loop. I thought it was more simple to just call the module 4 times rather than write the algebra to convert i into the appropriate value at each level.