Grasshopper

algorithmic modeling for Rhino

Hi guys. I am trying to find out slope angle( this is the easy part) but the real problem is finding the slope length, having trouble there. Any help would be appreciated.

Views: 2956

Attachments:

Replies to This Discussion

Currently, this is how far I have come. Although I'm having trouble in understanding the slope calculation ( refer the formula in the script)from David Rutten. Anyone who want shed light on it.

Attachments:

I left the attached deliberately unfinished ... well ... you know, don't you? (a man needs drive, that is).

BTW: the next update may use a little recursion in the name of science (but we don't work at NASA eh?).

Attachments:

And given the opportunity get some drive more

Attachments:

Hey! Thanks, Peter

I did play around with it.All l want to calculate is the run , slope angle and slope length. for each surface or mesh face. I do get the slope angle but not the real problems are the other two parameters. Appreciate the help Peter thanks ( will give all the credits for the definitions in my Book)
Thanks.

But ... my Dear Watson:

In the provided def you have the yellow point (the left triangle vertex as above) AND the focus point (the top) > meaning that:

  • Rise = focus.Z - yellow.Z (when in a "pocket" this is negative)
  • Length = yellow.DistanceTo(focus) - for the Run call Pythagoras 

PS: For a more "pragmatic" terrain (a mesh) you'll need some mods in that C#

Anyway:

BTW: Don't forget to include into your thesis a proper hymn about red Ducati superbikes (start from that immortal 888 SPS > ... > 998 S > ...> Panigale 1299 S). Mention Paul Smart as well.

Attachments:

BTW: Rather off topic with regard this specific thread ... but related with the thesis of yours  (Tip: get the reservoir dogs movie).

1. A recursive thingy that does skeletal trees (for planting them near the future reservoir(s) of yours) taking into account (or not) a given boundary (LOL). Puzzle for you: How to give boughs some progressive thickness?

2. A recursive thingy that (metaphorically) illustrates the "minor" issues that you'll encounter in your thesis. If the blue dot is you ... the red ones are the issues (loops set to min, mind).

Moral: long is the path (and hilly)

Attachments:

here is my base file.

Appreciate the help.

Attachments:

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