Laurent, this site is a great place to learn from the masters!
I always know somebody is going to post some solution far better than mine, but still I do it for the practice!
and since I already did it, I’m posting it!
In my model I assumed the inner cubes have the biggest possible size to still be detached after milling. TurnersCube.gh (16.0 KB)
Thanks for the great definition. I had Lunchbox, and I’ve downloaded Hoopsnake, and loaded it up. Also updated to the latest Grasshopper.
Unfortunately I’ve got nothing connected to the ‘reverse’ component at the top middle, and a gap where the ‘brep closest point’ should be. My BCP component has only two outputs P & D, perhaps this is the problem?
The problem is that I use rhino 6 and GH 1. Brep closest point has been updated with a normal also. It is possible to calculate the normal as a vector from center of mass to center of face.
V5 version turner cube LD v5.gh (25.0 KB)
Sometimes some cut problem, but as you have all the tools (cylinder) you could try the cut in Rhino.
Thanks for taking the time to reply, and I really like cluster boxes - not seen those before, makes everything nice and tidy. Where do you find them?
I’m hoping to be able to learn from, and adapt a subset of your definition to achieve my ultimate objective of producing a toolpath for a Kuka robot via Kuka PRC. I’ve made some three and four hole cubes before with a smaller robot, but that was with manual programming.
It’s going to take me a while so probably a good project to tackle over the Christmas period…
yes, clusters are very useful, (you just select all the components you want to put inside, right click and select cluster.)
Not for this specific example though. Laurent’s solution is far better because you can interactivelly change the number of iterations instead of adding or substracting components. (also you get to practice with anemone which is a great plugin and I also just learned about)
Hi Laurent,
Sorry to be a pest but as you’ve gathered I’m pretty much a beginner, and have very limited math.
Vector is sorted (thank you) and I’ve now got Anenome, but there’s something you have labeled as ‘incremental cut’ missing in the last group at the end of the definition…
Best regards, Charles.