Grasshopper

algorithmic modeling for Rhino

Are curves uniformly paramtriced, or are the t values dependant on the curvature. I have been trying to split a curve in equal length segments at certain points using the remap component but they are never equal.

I input the length I want to use into the remap component use the domain (0-length of curve) as source domain and the (0-1) as remap domain, the curved is reparametrized so its domain is (0-1).

The problem is depending on what t value we are at the length of the segment varies.

I attach a simplified version and a couple of screen shots. I'm probably stuck on something that is actually easy but I cant seem to see the right option.

Thanks in advance.

The green panel is the length of the small segment

Curvelength.gh

Views: 4283

Replies to This Discussion

Scaling of t (or UV for a surface) depends on local control point density, which in most cases will refer to curvature.

You can use the DivideLength Component if you want equal length segments. Or you can rebuild the curve to even out the CP distribution.

Thanks for the quick response, I though that if the curves came from grashopper (plane brep intersection) the rebuild wasn't needed but it seems not.

Thank you again, rookie mistake on my side.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service