Grasshopper

algorithmic modeling for Rhino

Hello everyone,

I am having a trouble to set height difference difference at Z axis, including the angle to the point without blocks being clashed. 

I see that the trouble is that the angle varies , which shouldn't. how can I  have them all fixed in parallel to the sun angle?

I want to try to set one angle to the point and allow the block varies in difference: the closest  to the point the bigger the further- the shorter.

Please see the script, it looks like i do the job, but then it still clashes.

Maybe different plug in needs to be used-rather than PAttractor.

Very best,

Ana

Views: 609

Attachments:

Replies to This Discussion

Your GH file uses a plugin I don't have (NudiBranch001).  And the 'Pt' and 'Curve' parameters have not been internalized so are useless.

In general though, the sun is too far away for a "point attractor" solution.  For practical purposes on earth, using Altitude and Azimuth angles is better.

Yes, I have tried various and came up that this was the best way to  change blocks heights in distance and attract them, however now they overlap. 

Here is what i plugged in, Joseph.

http://www.food4rhino.com/app/nudibranch

Attachments:

I know where to find the plugin, I just have no intention of installing it.  Quite sure it is not necessary to implement an attractor.

I don't see sun altitude and azimuth angles anywhere in your code?  If you are getting them from the attractor, the angles will be different at each target point, not parallel, as I tried to explain.  Sun rays appear parallel on earth because the sun is so far away.  Your attractor is relatively close, so the angles will vary from point to point.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service