Measure distance along curve from starting point to a given point in the curve

Hi,

I have a 3D curve and I need to measure distances from each of the points I have defined (Point On Curve command) so I can shatter the curve and split the curve into elements that I can then import to a structural analysis software. Below is a screenshot of that bit of the script.

Does anyone know a way to do it? Thanks!


Shatter.gh (10.3 KB)

1 Like

If the thread title is accurate, maybe you want this?

distance_on_crv_2020May21a

Where’s your GH file?

1 Like

Many thanks! It definitely does what I wanted. Just one more thing, what the Relay command doing?

Yeah, that’s what I wanted. Many thanks.

I didn’t want to upload the whole gh file since it contains more things and it could get a bit messy

1 Like

That’s why the instructions say ā€œminimal versionsā€: It’s really important to do that.

3. Attach minimal versions of all the relevant files

Apologies, I’m quite new to the forum. I’ll upload minimal versions from now on.

Thanks for the help!