1
$\begingroup$

enter image description here

When I try to put a Realize Instances node before the Curve to Mesh node it clears the tilt of the instances. Is there a way around this without having to put the Curve to Mesh node before the Realize Instances node?

Explanation on why I want this:

The reason is because for my capture attribute which calculates the radius of the curve to work I need to realize my instances before the Curve to Mesh hence the tilt problem.

enter image description here

$\endgroup$
3
  • 1
    $\begingroup$ Please tell us the Blender version you are using. I just tested it and for me it changes nothing in my example. $\endgroup$
    – Chris
    Commented Jun 13, 2022 at 20:09
  • $\begingroup$ Could you please just explain to us what reason it is that you are using a Quadratic Bezier here? To be honest, I am not quite clear what the end result should be. Could you possibly sketch it out? ...because I think that you could build this much easier. $\endgroup$
    – quellenform
    Commented Jun 14, 2022 at 14:30
  • $\begingroup$ @quellnform hi sorry I just uploaded another blender version which is more relevant. the reason I converted the curve to mesh after instancing instead of instancing the plane was because I wanted to adjust the curves after instancing using the set position node after the realise instances node and still have the tilt $\endgroup$
    – lsw
    Commented Jun 14, 2022 at 14:36

1 Answer 1

1
$\begingroup$

After some reading I think I understood it:

enter image description here

You would simply have to capture the rotation on the X-axis with the node Capture Attribute on the Instance-Domain, and feed this value after the node Realize Instances into the node Set Curve Tilt.

Update (my last try!):

Maybe we can do it now with this solution, we were almost there before. 😆

enter image description here

Most of what you used, you actually don't need. The thing with the Curve Tilt was actually already correct. Only the correct rotation at the beginning was missing.

enter image description here

Note: To simplify things a bit, I used the math node To Radians after the inputs. This way you can easily specify the values in degrees instead of radians.

(If this fits now, I would still ask you to optimize the question, so that others understand better what you meant. Thanks!)

$\endgroup$
11
  • $\begingroup$ Great thank you so much for this method. I wonder why you cant just capture the tilt from the original curve and plug it into the set curve tilt? but thank you so much for your solution :D $\endgroup$
    – lsw
    Commented Jun 16, 2022 at 12:16
  • $\begingroup$ @lsw "I wonder why you cant just capture the tilt from the original curve" ...This is because there is simply no Tilt in the curve before that. Only the tangents of the curve exist, and those are direction vectors, not rotation. I have made an update to illustrate this.... $\endgroup$
    – quellenform
    Commented Jun 16, 2022 at 12:32
  • $\begingroup$ I see and thank you so much for this explanation $\endgroup$
    – lsw
    Commented Jun 16, 2022 at 12:43
  • $\begingroup$ hi I've noticed a problem when I try to rotate the curves I've kind of solved it but I'm not sure if I'm doing something wrong? could you check it out? thank you $\endgroup$
    – lsw
    Commented Jun 16, 2022 at 14:05
  • $\begingroup$ @lsw OK, so slowly it becomes clear what your goal actually is. It would have been good if you had made it clearer from the beginning, then I would have saved myself some work ;-) Anyway, before I change something there again: Why do you actually want to place the node Realize Instances BEFORE the node Curve to Mesh? $\endgroup$
    – quellenform
    Commented Jun 16, 2022 at 14:13

You must log in to answer this question.

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