Can anyone tell me how to offset these lines on the slope? (using dynamo)

I want to say that the height is 10m. and the run per rise is 1.5 m. I want all of the lines to fall on the slope starting from the baseline to the smaller polyline. I would really appreciate if someone can help me.





any luck with Curve.Project?

1 Like

Projection is one method. The resulting space between curves won’t be the original distance though. If that matters you can try this:

  1. Get the plane at the middle of the first curve.
  2. Intersect the plane with the surface. You should get a series of curves which you can build a polycurve from (or perhaps a polycurve - delayed at the airport without my laptop open and haven’t slept for 20 hours so I may be misremembering))
  3. Trim the start of the new polycurve by the parameter of the midpoint from the original curve.
  4. Use a Curve.PointsAtChordLengthFromPoint to build a list of points along the new curve which are evenly spaced.
  5. Build a vector from the original midpoint t to each of the new points.
  6. Transform the original line by each of the vectors.
1 Like

Hi @shagun_tandon,

If you have a TIN surface that the mesh came from, then I would recommend using the Surface.QuickProfileByPoints node.

2 Likes

every once a while, i join a civil3d conversation accidentally. :melting_face:

3 Likes

Thank you so much. I will try using it today. :blush:

Thank you so much. I will try using it today. :blush:

Thank you so much. I will try using it today. :grinning_face_with_smiling_eyes:

Happens :joy: