0

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

Result

John
  • 191
  • 9
  • 1
    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). – Vagabonk Feb 24 '23 at 17:07
  • Works! Alignment axis: Z, Pivot: Auto, Factor: 1.0. @Vagabonk You want to make it an answer? – John Feb 24 '23 at 17:33
  • 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 https://blender.stackexchange.com/q/243389/35559 .. would that be fair? – Robin Betts Feb 24 '23 at 18:14
  • @RobinBetts I looked at that before posting. Thought it was different with the spherical ends. – John Feb 24 '23 at 18:26
  • https://blender.stackexchange.com/questions/254598/ and https://blender.stackexchange.com/questions/286437/ – quellenform Feb 24 '23 at 19:08
  • Yeah... This is a duplicate alright. Sorry. – John Feb 24 '23 at 19:10
  • @John ...a duplicate of which existing question/answer? – quellenform Feb 24 '23 at 19:23
  • 1
    @quellenform This is pretty spot on: https://blender.stackexchange.com/questions/286437/extruding-a-filled-face-with-a-hole-in-it-along-a-curve-using-geometry-nodes – John Feb 24 '23 at 20:39

0 Answers0