Grasshopper

algorithmic modeling for Rhino

Yes, the question is really that simple:

What is the Difference between the following commands (Python Component):

- AddCurve

- AddNurbsCurve

In other words:

What is the Difference between a

- control points curve

- NURBS curve

I attatched a .gh file that shows, that you can´t treat a control points curve as a NURBS Curve.

Would be nice if anybody could answer, because it´s a very essential problem!

Greetings

Gerd

Views: 633

Attachments:

Replies to This Discussion

from the rhinocommon sdk :

Curve : Represents a base class that is common to most RhinoCommon curve types.

NurbsCurve : Represents a Non Uniform Rational B-Splines (NURBS) curve.

So as you see, curve class is a base class for NurbsCurve. You can cast any NurbsCurve onto a Curve, but not all Curves may be casted onto NurbsCurve.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service