Grasshopper

algorithmic modeling for Rhino

Well friends,

My friend Kim (Hauer) told me that he likes Hilbert thingies (a classic, rather simple, recursion puzzle doable only with code).

So, open the def and take the challenge(s) - lot's of Da Morgada sardine cans for the brave(s) who could correct these "inclined" lines (and make 3d things as well).

He, he.

best, Lord of Darkness, King of SardineLand

   

Views: 582

Attachments:

Replies to This Discussion

mal de tête... more hand holding is required :

1. It looks like a dz definition needs to be added the C# script.
2. Input surface, brep, and or mesh comp is required to constrain the Hilbert
3.The trapezoidal representation of the Hilbert, is this due to rad to deg conversion missing?

Hmm ...

... I can't answer these questions since there's a challenge going on. I've already ordered my people to sample the finest sardines (and test taste them: better safe than sorry) for the brave winner:

On the other hand ... and since my favorite racer delivered today (British Grand Prix: Silverstone) I've added just one line that "tames" these things (position AND "slope"), he he.

Attachments:

Wonderful!....... I think that's me.. way.. way.. way at the end of the line, but wait, ... maybe that's not me, there are no men in this assembly line :(

So lets hope some other GH expert can answer the call!

I assume the code comes from there

If you compile it with a dy <> 0 you get same result:

As the dy is initialized to 0 and dx and dy seem to be interchangeable in the function calls, it is probably not ment for dy to be a user variable parameter.

What did you expect the dy to do by the way ?

(sorry if I totally misunderstood your challenge)

For 3D, http://stackoverflow.com/questions/14519267/algorithm-for-generatin... should work, I guess.

FYI!

Sometimes its difficult to follow new thoughts that spring up in other topics: My question arose in a related topic: http://www.grasshopper3d.com/forum/topics/help-with-dendriform-stru...

It might be better to apply the Hilbert to the side of the cube only, this allows light to play with each of the surfaces.

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