Grasshopper

algorithmic modeling for Rhino

Hi guys, 

I'm pretty new at python scripting and still trying to learn how to use them. So i appreciate all the help i can get.

Using the rhino.common SDK, i'm trying to reference a coloured mesh into GHPython and extrude its surfaces with the height  according to their colour gradient.

Attaced  is where i am now. 

Thanks. 

Views: 620

Attachments:

Replies to This Discussion

Hi Muhammad,

Here's a basic step towards where you're going. I'm just trying to show you the basics of making a class, making methods, and passing data into and out of your component.

Hopefully this will get you started with RhinoCommon and GhPython. Keep posting questions if you get stuck.

I haven't tested this, so it might have an error. If you run into an error that you can't solve, post another question.

example: https://gist.github.com/bengolder/5537816

good luck!

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