Grasshopper

algorithmic modeling for Rhino

Hello All,

can I somehow get the on curve points of a curve that I would need as an input of an IntCrv component in order to get a duplicate of the original nurbs curve??

Views: 759

Replies to This Discussion

I use this piece of code in a ghpython component. (you will need to download and install the GHA if you haven't already got it... click the link)

import rhinoscriptsyntax as rs

P = rs.CurveEditPoints(C)

Where P is the output and C is the input

Attachments:

Hi Marcus,

the points aren't enough. To fully duplicate a nurbs curve via Interpolate Curve logic you need greville-points, stand and end tangents, periodicity flag and a knot spacing algorithm. And even then you'll have a hard time with curves that have kinks in them.

--

David Rutten

david@mcneel.com

Seattle, WA

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service