I found this completed Dynamo routine by @erfajo from back in 2017 and was wondering if someone could help me adjust it.
The script works perfectly.
The functionality is exactly what I need as well, placing a fitting every Xm, but I would like to be able to add a single fitting with a different distance and have this script measure from there.
For example, If I need fittings to be placed every 6m along a straight pipe after a bend, I would like to be able to place a single fitting at 2m after the bend first, then have the rest of the pipe run split up into 6m increments, as seen in the small image below.
Could someone help me with this, as I am unsure about how to go about creating this functionality?
I would appreciate any help!