Grasshopper

algorithmic modeling for Rhino

Can anyone tell me what this VB is doing:  gObj.vb ?

 

Its taken from the waffle definition from this site:  http://fancywires.com/?p=59

 

Also, what are the best/current waffle definitions out there? I think the digital toolbox one is a little limiting, and the best I can find is Andy Payne's (http://www.liftarchitects.com/downloads/)  but it's a bit old, so I'm wondering if there are some that are more current.  

 

-max.

Views: 241

Attachments:

Replies to This Discussion

Hi Max,

 

the only interesting line in this script is:

 

clsd = gObj.IsSolid

 

everything else is code that is automatically added by the VB component. This line does two things:

 

  1. It calls a function on gObj (which is an instance of the OnBrep type) called IsSolid
  2. It stores the result of IsSolid() into a variable called clsd

eventually, the value of clsd is harvested by the component and assigned to an output parameter of the same name.

 

I don't know why the entire script would be shared, it's a bit of an overkill to put it mildly if the intention was to share the functional bit.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service