Grasshopper

algorithmic modeling for Rhino

Hello everyone, I am very new to grasshopper and i am learning how to deal with it while making an assignement. so my target is on the picture 1. I created it with the evaluate curve command and I am controling it thourgh a slider to attract to points to the center and change the shape . What I want to do is to copy it with different values on the slider to have a changing pattern. I did make a copy and I am stuck how change to value for each pattern. Maybe I need an equation or something I couldn't figure it out. I would appreciate any help.

Thanks all

Views: 5903

Attachments:

Replies to This Discussion

Works fine!

@sarra you need to bake the attractor curve to rhino and referenz it in grasshopper.  Then you can enable the control points (F10) of the curve in Rhino and modify it.

Thanks Tobias, yeah, I "internalized" that attractor curve in GH but you can connect any Rhino (or GH) curve there instead.  For a Rhino curve, you'll need to clear the internalized curve - right click the param and choose "Clear values":

Even a circle.

yeah i checked the file again the same problem occured, and according to your screenshot the remap numbers is missing from the file I donnow what happened. 

Could you make a screenshot of all the script so I can check what is missing and reproduce it? that would be great 

What version of Grasshopper?  It will fail without some version of 'ReMap'.  That would explain it for sure!  I can reproduce your results if I delete it.  It is critical for two reasons:

  1. It's the only connection to the attractor ('Pull Points').
  2. Without 'ReMap', the vector amplitude is too large and you lose the negative direction that moves points toward the polygon center.  You can see this by connecting 'Pull (D)' output directly to 'Amp (A)' input, bypassing 'ReMap'.

I posted a screen shot earlier of all the code (not including your grid code in the dark gray group) but honestly, there are probably too many hidden details to get it from a screen shot alone.  Like the Expression ("x/2") on the 'ReMap (R)' output.

I wrote a custom version of 'ReMap' that should work for you?

Inside the 'remapp' cluster:

Attachments:

I broke the custom 'remapp' cluster into two pieces: 'dBnds' and 'remapp'.  And I replaced the grid code with something simpler(?).  This is the entire GH model - it works exactly the same as before:

Attachments:

woow, that works like magic thanks a lot for your help much appreciated ^^ and I also have way more information about how GH works than before. I really appreciate it. I just added a move code for the curve so I can move it through two points vector in Rhino and be able to have more variety in the overall panel. 

Hello Sarra, I just posted this in another thread and thought it might be of interest to you as the basis for an Islamic pattern?

oww that's so nice. Thanks for sharing ^^

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service