Create a succulent pattern for 3D printing in Grasshopper:


Hello i want to create the following attatched pattern for 3d printing in rhino grassshopper. But im not sure how should i start can someone please help me ? Also later on i want to apply the same pattern on different surfaces as shown in image Can u guys guide me ?

Hello
You provide images but it is also good to provide some references and also some work from yourself !
the work you want to copy is from Herschel Shapiro
https://www.etsy.com/fr/shop/HerschelShapiro?ref=nla_listing_details

Here is a discussion on this subject,

You’ll find many many scripts that will help you on this subject (attractor mainly).

Try to focus on the hexagon junction system and a “simple” shape. When you will have solved this, the printing, the polishing, the painting and the assembly I think you could then work on other shapes.

3 Likes

That’s going to be a tricky one to print. Here’s something similar (sort of) that I did a while back:

The basic approach I used was to first make the object I wanted to attach to the surface (in this case a raised rectangle), make a rectangular array of them, and then use the SrfMorph component to morph the array onto the base surface. SrfMorph works well for this purpose, but be aware that it does stretch the morphed geometry depending on the curvature of the surface.

An alternate way that avoids changing the shapes is to find points and normals on your base surface and than use the Orient component to stick your geometry onto the surface at each point.

bullseye

I whomped up a quickie example of the Orient method:

quickie

quickie2

The GH file is too messy to upload but if you like I can clean it up and post it.

can u please just for refernce as im not a pro in grasshopper so i cannot start working on a new script on my own i would be very thankful if u share thank u :slight_smile:

You need to check out the excellent plugin PhylloMachine by @Dani_Abalde

1 Like

CAN U SEND SOME EXAMPLE FILES OF THIS PLUGIN ?

Hello
I will not put scripts that already exist. You will have to search on this forum or using a search engine.

1 Like

There are plenty of examples that come with the plugin when you download it

I got the solution organized into just 6 steps. It looks like this:

Note that my methods are not nearly as sophisticated as the ones typically posted here.

Here are notes about each of the groups:

  1. The teardrop component is a short Python script I found here long ago. I don’t write Python code so I can’t explain why it does what it does (it makes a simple 2D teardrop shape), but the shape can’t be treated like a normal closed curve. Consequently I had to make Step 2.

  2. This took me quite a while to figure out, but all it really does is make a 3D teardrop shape from the Step 1 curve.

  3. This creates circular curves on the dome that will mark the locations for the individual teardrops.

  4. This makes the underlying dome shape that holds the teardrops. There are lots of ways to make a dome; this is the first one I thought of.

  5. The magic is here - the BrepCP finds points and normal vectors on the dome that match the points on the circles. Orient relocates a teardrop onto each point and aligns it with the dome’s surface normal at that point.

  6. This just puts everything together. The Cap is required to turn the dome into a closed Brep. Sunion simple merges all the closed Breps into one.

Most of the sliders in this script are very sensitive. I didn’t take the time to limit their ranges, so do not try using them like regular sliders - doing that will create a real mess most likely. Instead, to change a slider’s value double click on it and type in a new value close to the current one.

For 3D printing it is possible to print things that aren’t comprised of closed Breps, but any STL file that Rhino exports that has anything in it other than closed Breps will have errors that need to be corrected by some other piece of software.

I tried to look at the PhylloMachine add-on that Marty mentioned - but the URL never resolved into anything. Based on the photos it would probably be a much more flexible solution than mine.

flowerhead.gh (29.4 KB)

The URL links directly to the Food4Rhino page for PhylloMachine. If it doesn’t work just go to Food4Rhino and search PhylloMachine.

What’s great about the PhylloMachine plugin is the PhylloSurface that uses that spiral so often found in nature… In my opinion, this is what is missing from the images above that is present in so many succulent plants.

Yup - that add-on does 2 nice things: it uses a spiral pattern (sort of like the GH Maelstrom component?) and it scales down the individual leaf/petal geometry as it gets toward the center. Both of those features yield a much more lifelike result.

And it is easy to access directly from Food for Rhino: PhylloMachine | Food4Rhino. Thanks for pointing that out.

1 Like

Well, I just couldn’t help myself…

flower

I used Maelstrom to make the oriented points along curves instead of straight lines, and then Scale to shrink the teardrops as they get to the center. Currently the parameters controlling these are not quite right, but a bit more fussing should get there.

I’m going to have to make some better shapes to replace the teardrop. This is what happens when you have no boss.

i just downloaded it yesterday and its something amazing

1 Like

HAHAHA this is what i like the most about grasshopper it doesn’t allow you to be at peace untill u don’t figure out the solution. Its annoying

1 Like