I want to create tubes using geometry nodes. I want to use different materials for the caps and the sides. I reduced it to a solid strand while i solve my rotation issue.

The problem is that I can't figure out how to rotate the end caps.

Here is an attempt using "sample curve" for the cap positions. I have also tried "instance on points" with "select endpoints" with a similar result.

Attempt using sample curve


  • 1
    $\begingroup$ If you Instances on Points and use an Align Euler to Vector with a Curve Tangent connected into the vector socket it should work (Z axis). $\endgroup$
    – Vagabonk
    Feb 24, 2023 at 17:07
  • $\begingroup$ Works! Alignment axis: Z, Pivot: Auto, Factor: 1.0. @Vagabonk You want to make it an answer? $\endgroup$
    – John
    Feb 24, 2023 at 17:33
  • $\begingroup$ Hi, John! Glad you've got a fix! .. (BTW, don't forget to flip one end.) This question might be clobbered, though, as a duplicate of blender.stackexchange.com/q/243389/35559 .. would that be fair? $\endgroup$
    – Robin Betts
    Feb 24, 2023 at 18:14
  • $\begingroup$ @RobinBetts I looked at that before posting. Thought it was different with the spherical ends. $\endgroup$
    – John
    Feb 24, 2023 at 18:26
  • 1
    $\begingroup$ @quellenform This is pretty spot on: blender.stackexchange.com/questions/286437/… $\endgroup$
    – John
    Feb 24, 2023 at 20:39


Browse other questions tagged .