Hi experts
again i need your experience to do some task.
i have divide curve by given lengths but the curve divided by arc lenghts.
i want the lengths to be point to point straight. so i can draw lines on each point to point.
please share your thaughts.
not an expert here but I would create 2 nested loops, like a(b)
loop b:
-> input: desired line length ( fixed variable as length tolerance)
-> takes the curve provided by loop a and slides (evaluates) a point p along its length
-> calculates the distance between p and the start point of the curve
-> if distance falls within the desired length +/- tolerance, the point p is output to loop a
-> otherwise the point is slided again +/- tolerance and the distance is recalculated
loop a:
-> trims (shatters and picks) the curve in such a way it starts at -last provided- point p
I forgot one important detail though… Most of the extra complexity that I removed was to keep the roadway level instead of allowing it to tilt as the pFrames adapt to curvature. I fixed that below by adding the cyan group to realign the pFrames to replace the hFrames used by @mainisl2. .
The red preview is the corrected code, the white structure is from the previous post.
I’m sorry to be distracted, I have ignored the primary issue described above and in the thread title.
To demonstrate, I created a PolyLine from the Evaluate Length points, then listed the segment lengths. They are very close but not exactly the distances expected.
Divide Distance doesn’t help here because the points are not all the same distance apart.
So what comes to mind is an iterative (looping) approach that finds points by intersecting circles of appropriate radius (distance). Is that what you want?
This is an Anemone loop(blue group) that accepts a list of distances between points and a curve, then uses spheres to find the exact distance (radius) to the next point on the curve.
When the fascination of watching the loop wears off (and it’s fully debugged), it’s worth a try to replace the “Classic” Anemone components with the “Fast” components.
This is almost the same as my last post with changes in the Anemone loop (same method, same results) and emphasis on the thread title by creating the polyline (top right gray group) from the Anemone loop points. The bridge is constructed at the bottom.
Hi Sir
Thanks for your breif explanation and help.
This helps me alot.
Its my goal to do such thngs to get to know about functions well. I am Mostly involved in Bridge design so I am posting this kind of questions to further my knowledge. I will have to add piers and give a super elevation in further but I don’t want jump in all at once.