Grasshopper

algorithmic modeling for Rhino

This little exercise helped me understand some differences between the three available scripting languages in GH (C#, VB.net and Python) The bottom right editor shows a python script using Rhinoscriptsyntax while the others use Rhinocommon directly.

Thank you Giulio Piacentino:
http://www.grasshopper3d.com/forum/topics/incrementally-rotate-a-line-using-vb-net-or-c?xg_source=activity

Views: 721

Comment

You need to be a member of Grasshopper to add comments!

Comment by Kacper Radziszewski on April 7, 2012 at 10:55am

just yesterday I have started tutorials from CodeAcademy.com, Im amazed with its form, sb made a lot of work preparing it to us. I see all we need is to try both of em, understand basic scripting and choose one to extend.

Comment by Yasser Hafizs on April 7, 2012 at 4:24am

I see, vb get more close to the common languages everyday we used, no needs semicolon, etc :D

How about Phyton, it's to be used in specific works? must trying all of them to get know,like Arthur did :)

Comment by Mateusz Zwierzycki on April 6, 2012 at 6:59pm

and look at arthur's examples ... for loop in vb and c# :

for i as integer = 0 to 10 step 1 <== vb

for(int i = 0; i<=10; i++) <== c#

so which is faster and easier to type ?

Comment by Mateusz Zwierzycki on April 6, 2012 at 6:55pm

Iam not a kind of code guru, but :

I started learning vb some time ago, and I can say that its really user-friendly. particulary vb and c# as far as i know has the same logic, so when you know vb you can easily learn c#. 

Why I didnt choose c# to learn ? - its not as easy to read it for a noob as vb (too many different brackets :))

Comment by Yasser Hafizs on April 6, 2012 at 5:59pm

Nice link to start!! Thanks Arthur

Kacper, you should try this link too, it's easy to understand to learn basic scripting :)

Comment by Arthur Mamou-Mani on April 6, 2012 at 4:41am

I would start with C# as it is probably the most widely used language by programmers and is very similar to Java which is what Processing uses. I might be wrong but I think Grasshopper was also programmed using C#. To learn coding, CodeAcademy.com is brilliant !

Comment by Kacper Radziszewski on April 6, 2012 at 4:38am

Got same question as Yasser, going to start scripting, but dont know which language to start from.

Comment by Yasser Hafizs on April 5, 2012 at 7:38pm

Hi guys, need advice for Arduino programming, which language between phyton, C# or vb, that used by mayor people (especially in architecture)? so i can learn with many example

Comment by Ángel Linares on April 5, 2012 at 7:33am

Thanks for sharing :)

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