Grasshopper

generative modeling for Rhino

Benjamin Fortunato
Benjamin Fortunato
  • Male
  • New York, NY
  • United States
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (33)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Benjamin Fortunato's Friends

  • leila sh.
  • robert cervellione
  • trevor.patt
  • Florian Frank
  • Jason Lim
  • Steve Lewis
  • enrique soriano
  • Zach Downey
  • Chris Wilkins
  • David Stasiuk
  • David Fano
  • Luis Fraguada
  • Ronnie Parsons
  • Rajaa Issa
  • GIL AKOS

Benjamin Fortunato's Discussions

Find area of a curve
2 Replies

How would I find the area of a curve using VB? I found the areamassproperties method of the OnCurve class but its asking for points and vectors as arguments, and as I am new to VB script I wasn't…Continue

Started this discussion. Last reply by Tobias Schwinn Jun 25, 2010.

Debugging within the VB Script Component/Visual Studio: Setting a Break Point
5 Replies

I am new to VB scripting and was dabbling with some scripting for Excel. I noticed that their scripting editor had a host of debugging features which seem essential, especially to someone starting…Continue

Started this discussion. Last reply by David Rutten Mar 2, 2010.

Lists Arrays and Trees, Oh my!

    I'm having a bit of trouble figuring out how I should handle "trees" coming  into the VB component. I did a little test script to get the rank, and the Ubounds of the incoming list and array.…Continue

Started Feb 28, 2010

Dynamic Diagramming in Excel: Calling Excel commands from Rhino:
9 Replies

      I am trying to figure out how to use Excel as a dynamic diagramming tool. The idea is that I could use incoming data to draw certain relationships, say floorplate locations, on top of which I…Continue

Tags: set, let, marshaling, interoperability, Diagramming

Started this discussion. Last reply by Benjamin Fortunato Feb 28, 2010.

 

Benjamin Fortunato's Page

Latest Activity

Profile Icon
Matthew Gilbride replied to Benjamin Fortunato's discussion 'Sweep 1 Bug in 6.0059'
I too am having trouble sweeping closed/ periodic curves?
Mar 26, 2011
Profile Icon
Tobias Schwinn replied to Benjamin Fortunato's discussion 'Find area of a curve'
Thanks, this helped. T
Jun 25, 2010
Profile Icon
Dirk Anderson replied to Benjamin Fortunato's discussion 'Find area of a curve'
Private Sub RunScript(ByVal inCrv As List(Of OnCurve), ByRef A As Object) Dim dList As New List (Of Double) Dim tol As Double = RhUtil.RhinoApp().ActiveDoc().AbsoluteTolerance() Dim crv As OnCurve For Each crv In inCrv If (crv.IsPlanar) Then Dim…
Apr 14, 2010
Profile Icon

Find area of a curve

How would I find the area of a curve using VB? I found the areamassproperties method of the OnCurve class but its asking for points and vectors as arguments, and as I am new to VB script I wasn't sure how to convert the mp Massproperties object that is passed on by reference into an integer that I can pass back to grasshopper.Best,BenSee More
Discussion posted by Benjamin Fortunato Apr 1, 2010
Profile Icon
David Rutten replied to Benjamin Fortunato's discussion 'Debugging within the VB Script Component/Visual Studio: Setting a Break Point'
It's indeed not a high priority for Grasshopper, but it actually is somewhat of a priority for Rhino in general. We are expanding the number of scripting languages we support in Rhino5 and Rhino for Mac, and so far we've been using less…
Mar 2, 2010
Profile Icon
Jon Mirtschin replied to Benjamin Fortunato's discussion 'Debugging within the VB Script Component/Visual Studio: Setting a Break Point'
VB and c# components are useful for small scripts and for those users without visual studio installed. Anything slightly complicated I would suggest would be difficult without developing the code in Visual Studio and cutting and pasting the code…
Mar 2, 2010
Profile Icon
Benjamin Fortunato replied to Benjamin Fortunato's discussion 'Debugging within the VB Script Component/Visual Studio: Setting a Break Point'
So what you are saying is that I can import all the namespaces etc so I get the type hints and so Visual studio will pick up any syntax mistakes in rhino or ONurbs methods, but there is no way to import or connect the variable comming into the VB…
Mar 2, 2010
Profile Icon
Paul N Jeffries replied to Benjamin Fortunato's discussion 'Debugging within the VB Script Component/Visual Studio: Setting a Break Point'
There are currently no real debugging tools in the scripting components themselves. I seem to remember David saying that the scripting components were written by a 3rd party, so I wouldn't hold your breath for any being added. You could try…
Mar 2, 2010
Profile Icon
Jon Mirtschin replied to Benjamin Fortunato's discussion 'Debugging within the VB Script Component/Visual Studio: Setting a Break Point'
With Visual Studio, you can debug into very easily. If you are compiling to a dll file (whether it's renamed to a .rhp or anything else), point the start external program reference in the debug settings to the Rhino executable. Then you can set…
Mar 2, 2010
Profile Icon

Debugging within the VB Script Component/Visual Studio: Setting a Break Point

I am new to VB scripting and was dabbling with some scripting for Excel. I noticed that their scripting editor had a host of debugging features which seem essential, especially to someone starting out. Is there a way to set a break point and use a command window in order to Step through lines of code and access the value of variables, dimension & sizes of arrays etc?       Is their a way to use Visual Studio in order to debug scripts? I believe it has all the debugging features, but since…See More
Discussion posted by Benjamin Fortunato Mar 2, 2010
Profile Icon
Jon Mirtschin replied to Benjamin Fortunato's discussion 'Sweep curves using VB Component'
Hi Ben, Decisions and trade-offs are always there when deciding on the best means and processes (or even software) when trying to develop something new and innovative. The point about sharing the definition is a very valid one if others aren't…
Mar 2, 2010
Profile Icon

Lists Arrays and Trees, Oh my!

    I'm having a bit of trouble figuring out how I should handle "trees" coming  into the VB component. I did a little test script to get the rank, and the Ubounds of the incoming list and array. (see attached) The rank is always 1, when it should 2, since the list of list is really a 2 dimensional array. (or am I wrong)    Also, the ubounds returns a list of a list of the ubounds, even when I set the ubound to an Int32. ( This might have to do with the fact that vb is type casting the int32 as…See More
Discussion posted by Benjamin Fortunato Feb 28, 2010
Profile Icon
Benjamin Fortunato replied to Guy Snover's discussion 'Get item from scripted data tree?'
Did you figure out how to resolve this issue?
Feb 28, 2010
Profile Icon
Benjamin Fortunato replied to Benjamin Fortunato's discussion 'Dynamic Diagramming in Excel: Calling Excel commands from Rhino:'
I will give the cell by cell method a try. Easy enough to do via a loop. I guess what I can do is write information into excel, on a separate worksheet and then use Excel code to grab whatever info I need from that spreadsheet. That way the excel…
Feb 28, 2010
Profile Icon
Damien Alomar replied to Benjamin Fortunato's discussion 'Dynamic Diagramming in Excel: Calling Excel commands from Rhino:'
There are always more than one way to do anything, and this goes double for programming. However, just because there's one way to do something doesn't mean that all of those ways will work. Visually, I can't really see any reason why…
Feb 28, 2010
Profile Icon

Profile Information

Comment Wall (2 comments)

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

Join Grasshopper

At 7:20am on March 3, 2010, Benjamin FortunatoBenjamin Fortunato said…
You too!
At 7:14am on March 3, 2010, Chris WilkinsChris Wilkins said…
Nice to meet you, Benjamin.
 
 
 

Translate

Search Grasshopper

Members

  • CODA
  • Carlino Antonio
  • Brimet Silva
  • Xiaoyi Wu
  • Andrew Butler
  • Matthias Standfest
  • archicadonline
  • Amirsina Rezaei
  • David Rutten
  • Barry Mair
  • lucas cañada
  • daniel camiro

Photos

  • Add Photos
  • View All

© 2012   Created by Scott Davidson.   Powered by .

Badges  |  Report an Issue  |  Terms of Service