Grasshopper

algorithmic modeling for Rhino

Hi everyone, I hope someone could help me with this issue I've been having. I'm new to grasshopper, and I've trying to connect the spin-force component with a script that i have - this script creates a growth of spheres that branch out inside a 3D populated field. I haven't been able to figure out how to connect the spin-force so that the spheres will branch out/move according to the spin-forces.


I've attached my definition, a screenshot of it and a screenshot of what it does already.

Any help would be great, thanks!

Views: 951

Attachments:

Replies to This Discussion

I'm not quite sure what effect you are going for here...  It looks like you want to combine the effects of two vectors, one from 'Vec2Pt' and the other from 'EvF'?  The 'Factor' slider is simply to exaggerate the effect of the 'EvF' vector before the two are added together.

P.S.  I'm no expert on "spin force" or 'EvF' so could be way off.

Attachments:

Thanks heaps for that Joseph!! That's very close to what I was aiming for - but with the spheres branching out in a singular group instead of multiple. Will try to continue it off myself but that helped alot.

Ah, yes.  An Anemone issue...  I would suggest disabling 'Record Data' on 'Loop End' since it is doing nothing for you.  Your collection of moved spheres doesn't depend on it and it can get in the way when you want to pass additional parameters as singular items without turning them into lists.  For example, you could pass the sphere from 'Move' as 'D1', then use it on the next loop iteration as the 'Brep CP (B)' input.

Also, just to verify the results, you might want to:

  1. Make sure the length of the results list is the same as the 'Pop3D' input.
  2. Number the 'Pop3D' points and the results points separately, draw and display vectors between them, to see if it's what you expect.  You can use 'Volume' to get the center points of the result spheres.

Enjoy!  I love Anemone.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service