Introduction: [Computational Fabrication] Nested Objects
Create a set of small stacking or nesting objects functional or otherwise.
OVERVIEW
This is the second project I completed for a course I’m taking this quarter (Spring 2020) on computational fabrication taught by Prof. Jennifer Jacobs at the Media, Arts & Technology program at the University of California Santa Barbara. The idea behind the course is that digital fabrication can be combined with computational design to create complex and functional physical forms. This work owes a lot to tutorials provided by Jennifer (@pixelmaid). By the end of this walkthrough, you’ll see my process for designing and printing nested and stacked objects.
Tools I used for this work include
- Rhinoceros (Rhino), a commercial NURBS-based computer-aided design (CAD) tool
- Grasshopper, a visual programming language based on a data flow paradigm that lets you parametrize the geometry you create in Rhino
- Ultimaker CURA, an open source 3D printer slicing application
- Creality Ender 3D Pro, a commercially available 3D printer supplied by UCSB
Step 1: STEP ONE
Use Rhino / Grasshopper to create an initial object.
[process]
- I first ran through my pipeline using a simple cube object.
- Next I tried truncated cones to make sure nesting / stacking would still work out.
- After seeing the cubes, I was very tempted to make blocks with the letters of my name on them so that’s what I did. I’m very excited about printing these out.
- Woah. I was using a sphere as a placeholder and got this cool bubble sculpture so I decided to modify my code to nest “bubbles” so I could boolean intersect consecutive pairs and still have a smaller sphere that would fall inside it… curious to see how this turns out.
- I started trying to get more “organic” forms. I created some complex, stackable forms that would 3d print but was not satisfied with the results.
- Next I came up with sliced truncated cone and parabolic cub shapes. I liked the stacking effect -- it reminded me a bit of the Sydney Opera House.
[reflections]
- This is so much easier to get right if the geometry is centered at the origin.
- Who doesn’t like small narcissistic things?
- The stacked spheres didn’t pan out… I wasn’t that invested so moved on to more interesting ideas.
Step 2: STEP TWO
Use Grasshopper to duplicate and transform the object so you have at least 5 stacked or nested copies.
[process]
- First, I wrote a function init_transform(Curve i) that takes a curve and returns a transformation that rotates the geometry, scales it according to the length of the curve and translates it to the endpoint of the curve to make visualization easier.
- Next I wrote two helper functions. I’m not a fan of the methods of the Transform class or, in any case, I found it easier for this project to write my own versions to do basic scaling and translation transformations.
- I spent way too long figuring out how to do nesting / stacking with proper scaling. I’m satisfied with my current result.
- I went back later and decided to add a rotation in the Z axis since I’ve an idea to do nested geometric plant-like forms with different rotations (note: I've attached my script).
[reflections]
- It took me quite a while to get the stacking offsets to pan out well.
Attachments
Step 3: STEP THREE
Ensure that the copies will effectively stack or nest by baking the copies and performing a boolean union.
[process]
- I think this was much easier for me since I made the offset a parameter.
- A picture of the blocks shows that they are still separated after a Boolean Union operation (although I guess you’ll have to take my word for it).
[reflections]
- The blocks actually look pretty neat since the O is on top there’s a nice repetition.
- It would be great if there was a more efficient way to do this.
Step 4: STEP FOUR
Ensure the design is 3D printable by checking edges and slicing in Cura.
[process]
- This was my first time using support structures. Using a raft helped the prints not stick to the mat.
- I manually leveled the bed after each print -- I think this helped a lot with alignment although it took a while to line things up the first time around.
[reflections]
- Again everything was very, very small. Maybe 3rd time’s the charm and I’ll get the scale right the first time around with the next project.
- The first time around it would have taken 5 minutes to print and 9 minutes with a raft! The larger design is still small and should take ~40 min. to print. They will still be miniscule.
- The stacking cups would have taken 8.5 hours for the first design and around 3 hours for the second.
Step 5: STEP FIVE
3D print 3 of the designs on printer and test fit.
[process]
- The blocks were small as expected but still so fun! The filament really affects the outcome… It’s too subtle a color to read the letters well.
- I thought I would rest the design was printing -- terrible idea! The filament got twisted and I ended up with a mess (but it was also kind of interesting).
[reflections]
- I think it would be fun to try using multiple filaments to print next time.
- Definitely will plan to be present during all future printings.