I am currently working on a geo node network to make procedural buildings out of base splines like the stuff you get out of OpenStreetMap via blenderGIS. trying to get the wall panels to be placed correctly on the spline but cant get sharp corners on the spline to work properly:
these is a test spline with the points on it via resample curve → curve to points:
this is what happens when i use points to instances and setting the rotation from the curve to points (note how the instances deviate from the base curve the most at the sharp corners):
“Rotation” output aligns to the curve tangent… so your instanced objects in your “wall” collection needs to be centered… otherwise you need to calculate the poly-curve deltas and use an Align to Euler node to orientate the instances using that.
The quick&dirty way to keep corners if you don’t have curved sections is to curve-to-mesh, split edges, mesh-to-curve, resample.