5
$\begingroup$

I have this Circuit Board generator which uses the simulation nodes of Blender 3.5 Alpha (simulation node build)

How can I rotate the black-and-yellow-dots to point along the surface like so?

Press Space to play the simulation and keep it updating the results, sometimes needed.

enter image description here

I've tried all kinds of capturing normals and other ways and no dice :(

.blend file: https://files.manujarvinen.com/circuit_board_test4_problem.blend

(Note: Blend-Exchange refused to host the file, maybe something to do with the simulation nodes.)

enter image description here

$\endgroup$

3 Answers 3

9
$\begingroup$

You can use a Sample Nearest Surface node (used to be part of the now-defunct Transfer Attribute node) to transfer the face orientations from the original geometry to feed an Align Euler to Vector:

enter image description here

$\endgroup$
1
  • 3
    $\begingroup$ Wowww, thank you both who provided similar answers. I had no idea that 'there' were the functions of the now-missing transfer-node. Great, great, great! $\endgroup$ Dec 4, 2022 at 18:13
4
$\begingroup$

try this:

enter image description here

result:

enter image description here

You need the sample nearest+index for this.

$\endgroup$
2
  • 1
    $\begingroup$ Thank you! I shall mark the other almost the same time appeared answer as final since it seems to be a bit tidier = more useful to the community. Thank you so much anyway :) $\endgroup$ Dec 4, 2022 at 18:11
  • $\begingroup$ you are welcome $\endgroup$
    – Chris
    Dec 5, 2022 at 6:31
2
$\begingroup$

I managed to achieve satisfactory (but not perfect) result:

enter image description here

Curve-to-Points-node was used to get the rotation for the instances and then I just rotated the cylinder 90 degrees with the transform-node.

enter image description here

$\endgroup$

You must log in to answer this question.

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