Grasshopper

algorithmic modeling for Rhino

I am new to c sharp in grasshopper, this is one of the basic concept which I would like to apply to a geometry with curves;

Pseudocode:

The input is a array of curves. 

Now take two consecutive curves at a time

Divide by a specific distance and join by line

Loft these lines to get surfaces

Repeat this for rest of the lines. 

Thanks

Views: 838

Replies to This Discussion

Abir,

Do you necessarily need C #, you can do it in grasshopper.

Thanks.

Yes, its few basic steps in grasshopper which can do this ( i have done this)

But I would like to do this in C sharp feeding an array of curves as input not for this but, firstly for some similar complicated stuff where I would need loops to iterate and secondly would like to learn  c sharp.

Ok good work....

Hi Abir,

I got the first step to work on C#, I will let you continue the code as I need to take the train now :)
 have a look below, and be careful not to confuse lists and arrays as I did.

It is all based on the RhinoCommon SDK.

I hope it helps for now.

Best,

Arthur

Attachments:

Hi Arthur,

Thats great. Thanks for helping me to take this train....till the next stop.

Best,

Abir

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