Grasshopper

generative modeling for Rhino

Dave
  • Male
  • Oakland, CA
  • United States
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (7)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Dave's Discussions

Curves Intersecting a Surface
5 Replies

Hi All! I am trying to use the curves contained within a rectangle for structural analysis. See below:…Continue

Started this discussion. Last reply by Michael Pryor Apr 29, 2012.

Interpolated Curve in VB
4 Replies

Anyone Know how to call this function or perform a similar function in VB script?…Continue

Started this discussion. Last reply by Yohhei Kawasaki Jun 10, 2012.

VB.Net - Same Code - One File Works, Other Retuns an Index (Line: 0) Error
3 Replies

I modified my original code (based on trigonometry) to include RhinoCommon scripting to clean and shorten my code. I now get the error:error: index must be less than the size of the collection (line:…Continue

Tags: error, 0, line:, index, vb.net

Started this discussion. Last reply by David Rutten Apr 15, 2012.

Parametric Mitchell Truss Geometry

I have a geometry question - I want to build this model based on the angle (gamma) value, the number of arc legs(symmetric), and the vertical distance between supports. I will then turn lines in to a…Continue

Started Apr 11, 2012

 

Dave's Page

Latest Activity

Yohhei Kawasaki replied to Dave's discussion Interpolated Curve in VB
"Thank you for your detailed explaie, David. You have been very Helpful!"
Jun 10, 2012
David Rutten replied to Dave's discussion Interpolated Curve in VB
"  Allow me to explain your code line by line and why it doesn't work: Dim cv As Curve: This line declares a new variable of type Curve, but it doesn't actually create a curve. cv will be a null reference (Nothing in VB). You cannot…"
Jun 10, 2012
Yohhei Kawasaki replied to Dave's discussion Interpolated Curve in VB
"Hallo i'm trying to write this function in VB. But something is wrong... I wrote this as follow: Private Sub RunScript(ByVal CPoints As List(Of Point3d), ByVal degree As Integer, ByRef A As Object)     Dim cv As…"
Jun 9, 2012
Michael Pryor replied to Dave's discussion Curves Intersecting a Surface
"brep = surface or  polysurface. so surface works as brep. plug your curves and your surface (brep) into project"
Apr 29, 2012
Dave replied to Dave's discussion Curves Intersecting a Surface
"If only I understood BREP. I have a surface here. Have you looked at the attached file? "
Apr 29, 2012
Michael Pryor replied to Dave's discussion Curves Intersecting a Surface
"there is a component called project, It projects curves onto a brep. "
Apr 29, 2012
Dave replied to Dave's discussion Curves Intersecting a Surface
"Thanks for the reply! Although I am sure this would be easy, I am so inexperienced with surfaces.... I'm not really sure how to do that."
Apr 29, 2012
Michael Pryor replied to Dave's discussion Curves Intersecting a Surface
"have you tried it out with project? "
Apr 29, 2012
Dave posted a discussion

Curves Intersecting a Surface

Hi All! I am trying to use the curves contained within a rectangle for structural analysis. See below:I am using the SCX module (intersection between surface and curves). The problem is: sometimes the function misses a line (see above). Is there a better way to do this seeing as how what I'm doing doesn't always work?See More
Apr 29, 2012
Giulio Piacentino replied to Dave's discussion Interpolated Curve in VB
"It's based on this function. Please let me know if I should assist further. Thanks, - Giulio_______________giulio@mcneel.com"
Apr 17, 2012
Dave posted a discussion

Interpolated Curve in VB

Anyone Know how to call this function or perform a similar function in VB script?See More
Apr 17, 2012
David Rutten replied to Dave's discussion VB.Net - Same Code - One File Works, Other Retuns an Index (Line: 0) Error
"Oh yes, I forgot VB declares arrays differently from C#. VB uses upper bounds, C# uses lengths. Digging deeper... -- David Rutten david@mcneel.com Poprad, Slovakia"
Apr 15, 2012
Dave replied to Dave's discussion VB.Net - Same Code - One File Works, Other Retuns an Index (Line: 0) Error
"First, thank you so much for the reply! I am pulling my hair on this one. In reference to the other part. I'm not so sure about that.... Use beta=72, n=4 as an example. Dim IntPts(n,n) As Point3d creates an nxn matrix (0 to 4),(0 to 4), OR…"
Apr 15, 2012
David Rutten replied to Dave's discussion VB.Net - Same Code - One File Works, Other Retuns an Index (Line: 0) Error
"Hi Dave, on my machine it throws an error on line 247, which is beyond the bottom of the script, so something is definitely off here. However I believe there's a bug in your code as well. In your nested loop, i and j both go all the way to…"
Apr 15, 2012
Dave commented on Sander Mulders's video
Thumbnail

Parametric Cabinets

"Super cool."
Apr 15, 2012
Dave posted a discussion

VB.Net - Same Code - One File Works, Other Retuns an Index (Line: 0) Error

I modified my original code (based on trigonometry) to include RhinoCommon scripting to clean and shorten my code. I now get the error:error: index must be less than the size of the collection (line: 0 )The strange thing is that when I originally scripted the working (inelegant) code, it gave the same error at first, and "magically" corrected itself without any code changes. I just exited the scripting window and viola! It worked as it should (and I was too happy to care why this happened).I…See More
Apr 15, 2012

Profile Information

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

Videos

  • Add Videos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service