Grasshopper

algorithmic modeling for Rhino

Hi all,

Ive been trying to create a perforated panel similar to the image shown below in panelling tools with varying success:

I was wondering if there was a way to create such a panel where one could input a desired pattern in grasshopper?

Below is a screenshot of my attempt at panelling tools with a simple square component.

Views: 36707

Replies to This Discussion

another more updated screenshot of what im trying to achieve:

Hi,

First of all I believe you should take a look at this post about getting help (especially point 7b).

Other than that, the next image (taken from here) should give you a good understanding of a possible approach.

That is, you could try to model the holes of the pattern as breps (or polylines, or whatever suits you best), scale them using an attractor and finally subtract them from your panels.

nikos

Hi Nikos,

Thanks for the reply, much appreciated. 

Im new to this so apologies if i came across as expecting to get my work done for me.

I found a tutorial on the ATLV wesbite that helps in a manner of speaking, with the only difference being that the pattern used is that of a voronoi:

http://atlv.org/education/grasshopper/#1

Here are the images for the tutorial:

So minus the colour, I'll attempt to create the pattern I desire (the one shown below)

and hopefully your suggestion of scaling them using an attractor as was done in this tutorial will help me create the screen:

Hello 

please check the following blog

http://nfoldgeometry.blogspot.com

has many definitions to study working wth such patterns. you can study the logic and go after your pattern.

after having the pattern ready you can scale etc using an attractor and a graph mapper etc and reach desired result

cheers

alex

Thanks ng5,

Beautiful blog I must say!

It's gonna be hard to control myself from looking through the entirety of it before studying the methodology.

Hi Jassim,

no worries, I am also new at grasshopper, that's why I pointed this out to you...

It is also a good idea to upload your gh files, even if they are very simple, so that others can help you.

So if this is the pattern you are after then I am guessing you want a result like this

This is an "easy" pattern so you don't actually have to construct it line-by-line.

You could start with something like this and take it from there (replace the scale factor slider with a more complex set of components that will not scale all triangles equally)

ps. this would be my approach to your problem and since I am a GH rookie, chances are it is not the best one ;)

Hi Nikos,

Thanks for the reply and the wonderfully rendered example.

This could be a long post (I tend to ramble quite a bit) so brace yourself!

Thought id give a few updates on how its going:

(i) Utilized the code in the ATLV tutorial and tweaked it a bit to get the result I was after:

So this result I'm happy with yet I wanted to figure out how I could have more control over the gradual degradation of the randomized triangles as opposed to relying on the point attractors.

Therefore I eliminated them completely in the following step in order to ensure the triangles size would be the same throughout with the desire of simply decreasing their density in numbers as they got closer to the top of the screen. The result follows:

As you can see the resultant degradation takes place from the left to right. I achieved this simply by copying the same random generator and list item again. Im getting close but not quite there yet. I have a suspicion that I could resolve this issue through the creation of a range/domain that would specify this degradation in a manner similar to how this gentleman (@adrian kumar) has done:

http://www.grasshopper3d.com/photo/aluminium-ventilation-panel   

Sadly though I cant completely wrap my head around his code just yet, but Ill keep trying and hopefully find a solution soon.

Any advice would be appreciated.

Jassim

http://www.grasshopper3d.com/group/nudibranch/page/nd-examples

Take a look at the curve ravel example..

Best,

M.

if you use a point attractor (affecting scale according to distance of the point from all the shapes being scaled) and map the values to graph mapper (with a linear graph) you gain control of the degradation.

but then you could also use as Marios suggest Nudibranch which makes life easier when it comes to attractors (and not only).

hello,

would you please upload a full grasshopper file of this parametric triangulation facade?

thank you

Attachments:

hello Jamal, im interested with your screen design.

would you mind share the script for me to study.

Hi guys,

Marios thanks for the link, some great examples there which I'm sure will come handy.

Ng5 I never tried using the graphs, so you gave me another item to add to my list of things to learn.

Thought I'd share with you guys the final result which I'm happy with (even though I know it could be alot better if I had more control over GH, but guess I'll just have to revisit this mini experiment in the future)

As can be seen I finally got the degradation to occur from the bottom and heading up, I achieved this by removing the flatten button after the clean tree. 

After several attempts of changing the seed of the random generator, I found the combination that I was aesthetically pleased with.

However I did face some problems after baking them as curves; I noticed that some curves were baked several times over one another (I assume thats because I had two random generators plugged into one another, and furthermore within the first one I had two integers running in the seed as opposed to one). Apart from that I would really like to know how I can control them at intervals in a manner similar to the example I last posted from adrian kumar. Therefore I will attempt to try out the graph as you mentioned Ng5. 

One way I tried to control them (but failed) was through the use of sub sets of the list (which contained 2419 points to be exact!) the example I posted below showcases the code and how utterly ridiculous it was of me to try it as im sure there must be an easier way of doing this. Although the thing I liked about it was that it gave me control over each individual vertical line, which I hoped to later randomize individually (Crazy I know). Here are the examples of this attempt, and once again thank you for all your help so far and in the future, its been much appreciated!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service