Point ByDistanceAlongCurve

I think this is potentially a very simple question, i have a curve with 10 points along it. 

I want to be able to place points at various distances along the same curve but use them 10 points as the datum, the function by distance along curve doesn't seem to have the function to define the origin.

hope my sketch helps

Any ideas ?

  • Hi Tom,

    Your first Point node placed along the curve should have an output parameter "DistanceAlongCurve". Depending on the technique with which you created that first Point node, this output property is either in the "Common" category or in the "Technique Inputs" property. For you second Point node you'd then use the ByDistanceAlongCurve technique and feed into its DistanceAlongCurve input property the first Point's DistanceAlongCurve output property and add the list of offset values, e.g. newPoint.DistanceAlongCurve = firstPoint.DistanceAlongCurve + {1, 2, 3, ...} (the ellipses need to be replaced with whichever additional values are required). If the added list is too short it seems GC repeatedly applies the last item in the list to any additional point instances in firstPoint.

    HTH,

    Volker

       

    Answer Verified By: Mueller