Any ideas on how we can get the site lines (as per the below figure) in Dynamo quickly, without having to draw lines at every distance from a specific station to check if they intersect with the surface?
Hi,
Follow these instructions:
Create points along the polyline between points 1 and 2 (use the maximum number of points to achieve better precision).
Draw lines between point 1 and each of the created points.
Filter out the lines that do not intersect with your objects.
Keep the longest line (the result will be precise based on the number of points placed on the polyline).
lines don’t intersect with the civil3d surface.
You can create solid from surface or convert to mesh/surface dynamo object.
I recommend you look into the visibility analysis tools in VASA; if nothing else it can simplify the number of lines you have to draw.
I am using Surface.intersection node which only required coordinate system as one of input instead of line. Can I get co-ordinate system from a first and last point and vector without drawing a line?
CoordinateSystem.ByOriginVectors sounds like it should work, but I am not sure what you’re going to do with it in the end.