5

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

quellenform
  • 35,177
  • 10
  • 50
  • 133
Manu Järvinen
  • 7,392
  • 2
  • 25
  • 62

3 Answers3

9

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

Kuboå
  • 8,790
  • 1
  • 16
  • 42
  • 3
    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! – Manu Järvinen Dec 04 '22 at 18:13
4

try this:

enter image description here

result:

enter image description here

You need the sample nearest+index for this.

Chris
  • 59,454
  • 6
  • 30
  • 84
2

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

Manu Järvinen
  • 7,392
  • 2
  • 25
  • 62