Grasshopper

generative modeling for Rhino

Frederik Juul
  • Male
  • Aalborg
  • Denmark
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (2)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Frederik Juul's Discussions

Creating a curve from points in C#
2 Replies

I want to make a curve from some points that are given to me. I've made some lines before this with no trouble, and tried to do it the same when with curves. This gives an error.In C# when I try to…Continue

Started this discussion. Last reply by Frederik Juul Aug 21, 2012.

 

Frederik Juul's Page

Latest Activity

Frederik Juul replied to Frederik Juul's discussion Creating a curve from points in C#
"Thank you, both of you! I had not realised that the Create method already generates a new object. This also clears up some other mild confusion I have had with some of the different types. Again, thank you very much for the fast reply! :)"
Aug 21, 2012
David Rutten replied to Frederik Juul's discussion Creating a curve from points in C#
"Curve does not have a constructor that you can call. You can create new NurbsCurves or LineCurves, but not the base type Curve. CreateInterpolatedCurve is a static method on the Curve type. To call it, all you need is the type name: Curve cv…"
Aug 21, 2012
Frederik Juul posted a discussion

Creating a curve from points in C#

I want to make a curve from some points that are given to me. I've made some lines before this with no trouble, and tried to do it the same when with curves. This gives an error.In C# when I try to make a new curve from points I attempt to do it by writing:    Curve cv = new Curve();This gives me the error:Error: 'Rhino.Geometry.Curve.Curve()' is inaccessible due to its protection level (line 88)I have also tried calling the CreateInterpolatedCurve() from the Curve class, but Curve cv = null;…See More
Aug 21, 2012
Frederik Juul is now a member of Grasshopper
Aug 21, 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