0
$\begingroup$

I would like this to happen:

enter image description here

But the curves need to be realized (for some specific reason). How can I capture or store the correct value or some other method to make that happen?

Realizing the curves naturally messes things up:

enter image description here

$\endgroup$

2 Answers 2

2
$\begingroup$

Just use Resample Curve first and specify the number of points you need there.

Then capture the Spline Index of the points with Capture Attribute, which you can use after the instantiation.

Only then use Curve to Points so that you can also get the rotation of the points.

enter image description here


(Blender 3.2+)

$\endgroup$
4
  • $\begingroup$ Nice! This is a great answer :) However, 'Curve to Points' has the 'Rotation' output that I also need (sorry, it was not obvious in the question). 'Curve Tangent' doesn't yield the same great result as the 'Rotation' $\endgroup$ Oct 5, 2022 at 14:31
  • $\begingroup$ @ManuJärvinen Ah, all right, then it needs to be changed just a little bit. Update is done. $\endgroup$
    – quellenform
    Oct 5, 2022 at 14:36
  • $\begingroup$ YES! This was exactly what I needed to the point. Wonderful. I need this tattooed to my forehead! :) Thank you! $\endgroup$ Oct 5, 2022 at 14:37
  • $\begingroup$ @ManuJärvinen You are welcome! ;-) $\endgroup$
    – quellenform
    Oct 5, 2022 at 14:37
1
$\begingroup$

Use capture attribute node to store data before realizing like this:

enter image description here

enter image description here

You can also use named attributes to read and write data:

enter image description here

enter image description here

Capture attribute may save data per point or per instance, so that you can combine these two to get index in vertical and horizontal axis (but in this case I have used mesh line, instead of Bézier, so that points are existed and data can be captured):

enter image description here

it needs to be that 'Curve to Points' node

Ok. So why don't you just use modulo of curve to points count?

enter image description here

$\endgroup$
7
  • $\begingroup$ Hmm, I tried that - let me try it again $\endgroup$ Oct 5, 2022 at 14:13
  • $\begingroup$ Okay, yes, the box can be put to the topmost points, but how about the 3rd from the top for each curve, that was what I'm after here. Needs some more thinking and more nodes, I guess...? $\endgroup$ Oct 5, 2022 at 14:17
  • $\begingroup$ i've updated the answer $\endgroup$
    – Crantisz
    Oct 5, 2022 at 14:25
  • $\begingroup$ Great stuff, thanks! Even though, I'd need that specific result that was in my first image in the question. And to make things worse, it needs to be that 'Curve to Points' node, not Resample Curve like in @quellenform 's awesome answer. $\endgroup$ Oct 5, 2022 at 14:35
  • $\begingroup$ Ah, @quellenform really cracked the nut. It's exactly what I needed. Thanks to you for also contributing, of course! $\endgroup$ Oct 5, 2022 at 14:38

You must log in to answer this question.

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