Grasshopper

algorithmic modeling for Rhino

Hi everyone!

 

Was looking at this parametric "straps" definition from Au-UrbanFuture (link: http://www.au-urbanfuture.org/blog/?p=362) and I'm tried attaching more attractor points but it only seems to respond to one point.

032-straps

Does anyone one know what I'm doing wrong or have an idea on how to get it to respond to more than one point? Or perhaps even a curve? Would be really neat if anyone could give some tips or hints!

 

Files from the websites are attached below 

 

Cheers,

Ra

Views: 3847

Attachments:

Replies to This Discussion

Hi Ra,

 

How's Melbourne? My brother just moved there this week for a 6 month secondment to an office out there. He thinks it's fabulous and is making me jealous already.

 

Any way back to your problem, you need to distinguish which point each frame finds closest. So you need to add a CP between the Surface CP and the distance component.

 

Attachments:

Hey Danny!

 

The weather is bipolar as usual. We had 27 degrees celcius of sunshine few days ago and now it's dropped to 13 with clouds and rain. Just peachy though good to hear that your brother is enjoying it here!

 

Great! I'm trying to do it with a string of points on a curve. Unfortunately, I don't really get a smooth transtion

 

Any ideas how I can get it the straps to rotate smoothly along the curve?

 

Thanks a lot!

 

Ra

Remember that the point you are measuring from is the centreline of the surface. Therefore what I see in the image above makes sense. The start and the crossing of the curve are the largest openings regardless of the density of points.

Draw a line between the Frames and the CPs to visualise what the distance measured is until you get a grasp of what is happening. That way you can see where you need to tweak the curve or number of points.

Ah. Would there be a way to swap the center line with my curve so that the frames will rotate where the points on my curve are?

 

I tried joining the lines from the frame but it's doing this

I've nearly managed to move the middle torque-ing lines. Have a look at the attached grasshopper file. Only problem is I'm using the distance component to move these points and so that sifts out the negative numbers causing those values to bounce back up

 

Yellow line is my curve but as you can see, the points have moved up instead of going towards the points.

 

Is there another component that I can use instead of distance?

Attachments:
Instead of Distance use vector between 2 Pts this is then the vector you move by. There is a Length output as well if you only need the magnitude elsewhere.
Great! I will try it out! Thanks!
I was thinking about this on the way to work. What you probab
... to see the rest of this message, please become a professional registered user by paying an inordinate amount of cash ...

woops! I swear I wrote the whole message out.

What I tried to say was decompose the vector2pt and get the Y component only.

But you might be onto something there David.... 

Strange enough, I plugged in vector between 2 pts and extracted the y values but they're still coming up as positive numbers

 

 

What did I do wrong!

Attachments:
Don't pass it through the Y vector Component. Use the decompose Vector Component to get the Y 'component' i.e. portion.

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