Grasshopper

generative modeling for Rhino

Mario L
  • Male
  • Brooklyn, NY
  • United States
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (39)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Mario L's Friends

  • Kudrat Makkar
  • Kehinde

Mario L's Discussions

c# structs
3 Replies

Hey everyone,quick question. If i write a struct in a c# node in grasshopper, is it possible to return my struct ergo set  A = mystruct; and use that data further down stream?I know that it will…Continue

Started this discussion. Last reply by David Rutten on Monday.

Circular Staircase building script

A script i wrote the other…Continue

Tags: architecture, circular, stairs

Started Dec 13, 2012

Splitting a List into multiple list aka partition a list.

so i just wrote a node that would split a list into multiple smaller list... and then i discovered a node already exist to do this Sets -> list -> partition list. but feeling proud of what i…Continue

Tags: c#, partition, split, list

Started Sep 30, 2012

RhinoList Sort method question.
1 Reply

Hi eveybody,i was hoping somebody could help me with the syntax for a rhinolist sort method.what i have is a rhinolist (called "allPoints) of Point3d's, and another point (ill call it "testPoint")…Continue

Tags: distance, sort, RhinoList

Started this discussion. Last reply by David Rutten May 13, 2012.

 

Mario L's Page

Latest Activity

David Rutten replied to Mario L's discussion c# structs
"For GH2 I will add a global code area where you can type code that will be shared amongst all script components within a single file. I haven't quite figured out the best way to do this, but it must be possible. -- David…"
Monday
emlplsn replied to Mario L's discussion c# structs
"Very interesting topic. I have tried to do the same thing – to pass custom created objects between C# components. What I have ended up doing is exactly what David just proposed – to create a list of string-arrays (as a substitution for…"
May 19
David Rutten replied to Mario L's discussion c# structs
"Hi Mario, as you expected types defined in one C# component aren't available to another. Here are some possible workarounds: Create an assembly with Visual Studio which defines the struct and which is referenced by both C# components. Pass…"
May 19
Mario L posted a discussion

c# structs

Hey everyone,quick question. If i write a struct in a c# node in grasshopper, is it possible to return my struct ergo set  A = mystruct; and use that data further down stream?I know that it will return it with the output saying something along the lines of "Script_Instance+mystruct" which is fine, but how do i access the properties of my structure?If i plug this output into a new c# node. this new node essentially doesn't understand this data type... which honestly i expected. But is there a…See More
May 19
Mario L replied to Justin Diles's discussion Replace a Point3D with "Null" in VBScript
"so if i understand this correctly you are creating an object, wrapping the structure in the object, and then nulling the object?"
Feb 8
Mario L replied to jorge sainz de aja's discussion points accesibility test help ¡¡¡¡
"here is the gh script"
Jan 3
Mario L replied to jorge sainz de aja's discussion points accesibility test help ¡¡¡¡
"damn, Chris beat me to it, and his is prettier, but heres my take on it "
Jan 3
Mario L replied to jorge sainz de aja's discussion points accesibility test help ¡¡¡¡
"i accept your challenge."
Jan 3
Mario L replied to jorge sainz de aja's discussion points accesibility test help ¡¡¡¡
"are you any good at writing your own C# nodes? because I think of a few ways to do this but it would require some costume code. how soon do you need this?"
Jan 3
Mario L posted a discussion

Circular Staircase building script

A script i wrote the other day that speeds up an annoying process... enjoy... and feel free to call out any bugs. the only input need from model space in a center point to build the stair around. MSee More
Dec 13, 2012
Mario L posted a discussion

Splitting a List into multiple list aka partition a list.

so i just wrote a node that would split a list into multiple smaller list... and then i discovered a node already exist to do this Sets -> list -> partition list. but feeling proud of what i accomplished i decide to post my version anyway (mine only works on Points though)...tPts (total Points) are the total number of points to work fromintS (integer Split) is the value to split the list around. so if tPts is 50 and intS is 2 then the final returned value are 2 objects containing list of…See More
Sep 30, 2012
Mario L replied to LEE's discussion DIVIDE ON SURFACE PROBLEM
"no problem."
Aug 9, 2012
Mario L replied to Mario L's discussion C# vector length syntax?
"I should say that since this post ive started using RhinoList religiously!"
Aug 3, 2012
Mario L replied to LEE's discussion DIVIDE ON SURFACE PROBLEM
"how about this? that divide node wants to work on surfaces, so explode the brep down to its faces (surfaces)... is this what youre looking for? M"
Aug 3, 2012
David Rutten replied to Mario L's discussion C# vector length syntax?
"I wrote it :)       and it has a Last property. -- David Rutten david@mcneel.com Poprad, Slovakia"
Jul 27, 2012
Matthew Owens replied to Mario L's discussion C# vector length syntax?
"Why is RhinoList better?"
Jul 27, 2012

Profile Information

Company, School, or Organization
Personal work

Comment Wall

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

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service