Grasshopper

algorithmic modeling for Rhino

Is there a way to divide a curve (non-uniform) according to the curvature of the curve?

Views: 2457

Replies to This Discussion

There are many ways to divide a curve based on curvature, some easy, some hard, some nearly impossible. Can you narrow down what sort of division you're after? Fixed number of points? Minimum/Maximum distance limits between adjacent points? Average segment length? Exactly how should the curvature impact the distribution?

Ok, let say say I want divide a curve into 10 segments, since I want to approximate the curve with connected lines. But if the curvature is "high" the approximated line will be wrong at some curve domains. Therefore I want to introduce more division points on that specific segments where the curvature is "high". Probably it means first a curvature analysis of a curve an then set up curve domains according to the curvature and then set up different divisions according to that domains. Is that make sense?

Sure. How about going the other way? If you create a very dense polyline approximating the curve you can then 'reduce' it. This approach requires only a single step rather than an iterative process, which is always hard to achieve in GH.

Well, you are right, this make sense too. But what is the way to make the reduction?

Are you looking for something similar to the Rhino Convert Curve to Polyline?

The [Reduce Polyline] component.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service