Archinect
anchor

Grasshopper (without scripting) Vs. Scripting

mark lower

right now i am in a studio that is going to be using grasshopper... the professor says the use of the new scripting functions built into grasshopper is optional... but it is recommended that we do script

i need to know what grasshopper and scripting are so i can move on into the next phase of the project

since i know absolutely nothing about either grasshopper and and scripting. reading the online resources would have been just as helpful if they were all written in Greek.

i understand that grasshopper was made to be user friendly for people that have no knowledge of scripting...

so how does what grasshopper does without the scripting function differ from what rhinoscripting or monkey and grasshopper with scripting do?

and is there any difference between scripting with VB.NET and C# in grasshopper?

 
Feb 6, 10 11:42 am
LML

hi hans
you should have this:
http://www.grasshopper3d.com/

that's the best resource.

without scripting components in grasshopper, you cannot run recursive functions--info travels in one direction only.

monkey is just an alternative scripting editor. It is not unlike the built in editor that comes w/ rhino.

scripting isn't easy(vb/c#--these are full on programming languages). just learning grasshopper will keep you busy for a while. I myself am waiting for the implementation of python to give it a try (rhino 5 I believe will have it)--it's a more legible language

(if your instructor is able to help you--i.e. he/she actually knows how to write code-- then that may be a good opportunity to learn it)

Feb 6, 10 12:48 pm  · 
 · 
LOOP!

LML, have you used python in Maya at all? I've been learning Processing and Python side by side and it's been pretty interesting and helpful to see the difference between static & dynamic languages, how the syntax is different, etc.

It does seem that once you pick up the general concepts in one language, they're fairly applicable to the other.

Hans, perhaps the best way forward is to bug around with just grasshopper for a couple weeks and then dive into some basic scripting once you've at least got the basics covered. I agree with LML that scripting isn't something you can just pick up in a day or two. You can make some cool stuff quickly, but really understanding what's going on takes awhile.

Feb 7, 10 1:59 am  · 
 · 
LOOP!

Hans, in terms of what you can do within grasshopper, I think both languages will be able to do the same things. On the grasshopper discussion threads, it seems like I see more support for VB, mainly because the syntax of VB is pretty close to Rhinoscript. I think if you've never coded before and don't plan on going beyond grasshopper, than picking up the syntax of VB will be a bit easier. It also reads more like python to me.
If you have aspirations of moving beyond grasshopper, than c# might be better to learn. To begin with, the syntax looks pretty close to Processing (Java), Javascript, Perl, even php. I think once you've got a grasp of c# and the way it looks it will be easier to migrate to other programming languages.

Feb 7, 10 2:55 am  · 
 · 

Block this user


Are you sure you want to block this user and hide all related comments throughout the site?

Archinect


This is your first comment on Archinect. Your comment will be visible once approved.

  • ×Search in: