Grasshopper

algorithmic modeling for Rhino

Well friends

recently a fellow user initiated a thread of national importance: how to place sardines in 3d space.

http://www.grasshopper3d.com/forum/topics/how-to-make-a-mode-of-thi...

Now...if this was about some boring building I wouldn't respond ... but here we are talking sardines.

Here's my take on that matter:

1. The 4 C# first create/use a nurbs, then define some random planes (and transformations) and then (a) either they place some humble stripes or ... er ... (b) sardines as instance definitions (NOTE: Load Rhino file first).

2. All important decisions are the ones in yellow groups

3. You control what you get via this  (priority on stripes or sardines? that's the 1M Q):

4. If you decide for sardines (the right thing to do) then you must ENABLE the Sardiniser(C)(tm)(US patent pending) as follows:

5. The vodkaFactor on that Sardiniser C# adds some spice in the sardine placement (it does that by altering the priority on the "composite" transformation in use: first randomly rotate then planeToPlane .... or the other thing?).

6. Only the finest Da Morgada sardines are used in this definition:

7. Spot the WARNING in the filter related with what sardine to choose > do it wrong and no hard disk on your workstation > no risk no fun > sorry Amigos, he he.

8. 1M question for you all: why placing sardines (it's real-time you know) is WAY faster than creating these humble stripes?

9. Although the sardines are placed in real time as regards your CPU ... the critical factor is your GPU (display mode: rendered). 

10.Still WIP (dancing sardines in the next update).

have some sardine fun, best, Lord of SardineLand

Views: 1564

Attachments:

Replies to This Discussion

7. Spot the WARNING in the filter related with what sardine to choose > do it wrong and no hard disk on your workstation > no risk no fun > sorry Amigos, he he.

Thanks for the warning!  I normally like to look at other folks' code but I'll skip this one.

Really smart decision I confess - but by not taking the risk you'll loose the magnetic effect(C)(tm) by that Sardiniser thing.

Sardines in custody:

Sardines free as ... er ... sardines:

 

Had Deep Fried 1' Sardines in Portugal 3 times, 1st time, last time and never again. :)
I like the stripes! I'm trying to give the stripes thickness....help!...TIA

Amazing (the never again thing, that is).

As regards the fat stripe it's only 2 lines more:

I'll do it (among a zillion other chaotic - and conflicting - options) in the trad V2 update.

BTW: The moral (and the usage) of this def  has (obviously) nothing to do with sardines ...

Is this script editor from 1985? :)
Where is the search function?
Is there no Encaspulated Code capture option at this forum?

perhaps a line number reference would be helpful in your pic. to find where to place your code :)
there are only 4 if's in this short piece of code and none of them start with if(priority == 0 etc...... help!

Cylinder placement works!

PS: 1' sardines is a no-no > use 1'3/4'' min (like Godzilla: size does matter).

PS: in-build SE is for the brave (a bit "primitive" but so what?).

PS: By using stripes you've skipped the ticket to paradise (intro to assembly [sardine] modelling: the numero uno thingy in AEC matters [with or without sardines]).

best, Prince of Sardines, Lord of Darkness, Maharajah of Something.

Attachments:

Minor update (before V2):

1.23 bugs fixed, 3.56 new ones added, more trans options for real men (sardine lovers) and that #^%# thicken stripes option for Kim.

Attachments:

that #^%# thicken stripes option for Kim, does not work! In case we're in need of more color mine is Lime green :)

How does "d" get referenced in the code ? ... I'm trying to get a better understanding

of C# having only Ruby scripting experience to fall back on.

that #^%# thicken stripes option that Kim proposes, using components, also does not work!

The Ruled surface component causes a Crossed connection between the 2 surfaces. Why is that?  See attachment

Attachments:

It works!..... french fries and sardines :)

Attachments:

Hmm ... that was off target by some miles

Attachments:

Added the 2 critical options : spaghetti al dente or penne alla Vodka?

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