Grasshopper

algorithmic modeling for Rhino

Hello!

Intro:

First of all I would like to inform that I just started with Grashopper (Cool stuff!) and barely know any commands, thus I'm not really familiar with functions and terminologies used - but I'm learning! :)

I have tried to google and make this work a couple of hours now and thought it is time to ask you experts for help.

Question:

I am trying to make a line between point A and C that would be "pushed away" by point B (more or less like a force field around point B making the line behave like the black one in the image above) with a radius that is changeable.

I would like to be able to move point A, B and C around manually to try different scenarios. And the next step for me is to add several points similar to B with "force fields" and A/C to see how the lines would react in different combinations.

How would you do this?

(I have tried to do the grid Spreading technique to generate the "force field" without any sucess)

Thanks in advance!

Views: 643

Replies to This Discussion

Like this?

Attachments:

Thanks for the reply Peter, I had a look at it and it was not really what I was looking for, maybe I did't explain to well.

I'll try to explain better:

1. The three points I use should be created in Rhino, thus I can move these around simply by click-and-drag.

2. We only need to work in 2D (X and Y axis)

3. Point A and C (as in the picture in the previous post) generates a line in grashopper (the red line in the picture in the previous post).

4. Point B should be given a "force field" that, if put close to the line generated by A and C, pushes the line away from the B-point (Thus making the red line behave like the black line in the picture in the previous post).

I am having trouble with setting up step 4 :)

Something like this?

I tried to do it with only native components, with an acceptable result, but I think this is work for kangaroo + fields components.

Attachments:

Thank you Daniel! We are getting closer, the only thing that needs to adjust a little is how the line reacts to the "attractors".

I made a new graphic that hopefully would describe the situation better:

- A and C have the line in between them.

- Point B is moving, when it gets within a specific radius in relation to the line, the line "pushes" away.

I think using Kangaroo will be the best option.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service