Grasshopper

generative modeling for Rhino

  • Blog Posts
  • Discussions (3)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Matthias rümmele's Friends

  • Olivia
  • Bob McNeel

matthias rümmele's Discussions

Access a Curves Control Points
7 Replies

Started this discussion. Last reply by Dave Johnson Mar 6.

 

matthias rümmele's Page

Latest Activity

Dave Johnson replied to matthias rümmele's discussion Access a Curves Control Points
"Even quicker is to use the Discontinuities component, it will give you polyline vertices directly."
Mar 6
Suryansh Chandra replied to matthias rümmele's discussion Access a Curves Control Points
"Dim mycrv as new OnPolylineCurve(CVarray) Thats it!"
Dec 9, 2009
dumo replied to matthias rümmele's discussion Access a Curves Control Points
"hello does anyone know how to create polylines from on3points in a vb node? without having to write a function? thank you"
Dec 8, 2009
Dirk Anderson replied to matthias rümmele's discussion Access a Curves Control Points
"here's a specific VB script that extracts all points of a polyLine: Private Sub RunScript(ByVal x As OnCurve, ByRef A As Object) Dim points As New List( Of On3dPoint) Dim pline As New OnPolyline Dim i As Integer If x.IsPolyline(pline)…"
Dec 8, 2009
matthias rümmele replied to matthias rümmele's discussion Access a Curves Control Points
"Thank you guys! I'm glad to have Damiens answer, even if i don't need it for that special case of a polyline. But i can remember a situation about a month ago where i have been looking for a curves control points and couldn't find it…"
Dec 5, 2009
Suryansh Chandra replied to matthias rümmele's discussion Access a Curves Control Points
"Damien's code would get you a specific CV by index.. you could use the same code and put it in a FOR loop to get all CVs.. If you are dealing with a polyline, you dont even need to script.. just use a 'decompose' (I'm not sure…"
Dec 5, 2009
Damien Alomar replied to matthias rümmele's discussion Access a Curves Control Points
"You'll have to convert the OnCurve to an OnNurbsCurve, and then get the control vertices from that. Your special case of a polyline doesn't really matter, so this should work for getting the CVs from any curve. The example below assumes…"
Dec 4, 2009
matthias rümmele posted a discussion

Access a Curves Control Points

Is this possible? I can't figure out how. Would be glad if somebody could help me.In my special case i would need the corners of a polyline. has anybody done that?See More
Dec 4, 2009
matthias rümmele replied to Guilherme Ressel's discussion Data trees or nested lists/arrays
"Hi Rajaa I just tried to input a datatree created that way into another VB node. The following code doesn't work: Dim t() As Int32 = New Int32(){0,0,0} Dim br As New EH_Path(t) A = P.Branch(br) P is the input datatree (ByVal P As Object).…"
Sep 29, 2009
matthias rümmele is now a member of Grasshopper
May 18, 2009

Comment Wall

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

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Members

Photos

  • Add Photos
  • View All

© 2012   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service