Reparametrize joined curves


(Marco Radin) #1

Hello everyone,
I’m working on a project and i m having a problem with reparametrizing joined curves.
When i join 2 curves with different length, the domain of the resulting curve is not uniform.

I’d rather not rebuild the curve because i need to keep the angle between the 2 curves.

I made up this solution, but i feel its quite long…

Is there some other simple way to reparametrize (roughly) uniformly the domain of the resulting curve?

Thanks in Advance

Join Curves with domains.gh (11.4 KB)


#2

missing

And internalize your geometry?


(David Rutten) #3

You can shatter the curve at all discontinuities, rebuild the segments and join them again. But why do you need the domain to be (roughly) uniform? Domains of nurbs curves are almost never uniform so most algorithms have ways to deal with that.


(Michael Pryor) #4

Curve Domain is a GH1 component. Let’s you change the parameter domain of a curve.


(Marco Radin) #5

Yeah, i forgot to do that.First post on the forum sorry :smiley:


(Marco Radin) #6

I dont have the project with me atm, I think this will work, Ty


(qythium) #7

Just a wild guess here, would using Evaluate Length be better suited for you instead?
Looks like you’re trying to scale the curve’s parameter domain by its length, when you could be directly be using the curve’s arc length parameterization: