2
$\begingroup$

I am having a real problem figuring out how to fix this. I have instanced an object along a curve and applied the rotation of each point, but the corners average the angle of the segment before and after. I need these objects to aim directly at the next point in the curve so there are right angles and connected rather than these 45˚ oriented objects with open gaps, but I cannot figure out how to get that data into the geometry nodes. This same problem occurs if I use a mesh, so that's not a solution. I essentially need the normal of each segment along the curve, not the point's, which averages the normal from both adjacent segments.

enter image description here

$\endgroup$
4
  • $\begingroup$ would you mind sharing your blend file using pasteall.org/blend ? $\endgroup$
    – Neil
    Commented Dec 14, 2021 at 12:18
  • $\begingroup$ One way would be to duplicate the path and feed it through the Curve Trim node, then adjusting the Fac to be between 0.001 and 0.999 so that the instance does not reach the end of the curve. Let me know if this works for you. $\endgroup$
    – VSB
    Commented Dec 15, 2021 at 18:28
  • $\begingroup$ Perhaps the answere here: blender.stackexchange.com/questions/245282/… Can help? $\endgroup$ Commented Feb 20, 2022 at 13:06
  • $\begingroup$ If your question was solved, please be so kind and mark the answer that contributed to the solution as "Accepted Answer". This will make it easier for others to see which way leads to the solution, and the question will no longer appear as unsolved. Thank you! Here you can find more information: What should I do when someone answers my question?. If you still didn't get a solution to your question, please be kind enough to address it. $\endgroup$
    – quellenform
    Commented Aug 21, 2022 at 23:46

1 Answer 1

3
$\begingroup$

First, I would put the pivot point of the wall panel on the Y-axis at its center so you don't have to instantiate it at the endpoints.

Then I would simply subdivide the curve once with the node Subdivide Curve.

If you then use Instance on Points, but only instantiate at every second point by applying the math node Modulo, you can directly use the normals of the points.

The node Align Euler to Vector makes a suitable rotation out of it.

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .