4
$\begingroup$

I have two curves: one - spiral with, let's say, 100 control points, and the second one - line with 20 points. Now, I want to move the yellow curve along spiral with geometry nodes. How to do this? I know how to instance on points etc, it is not a problem. Instead I just want to move all the yellow one to the top of the spiral. I think that I have to offset the position of the first yellow control point to the second, and so on, of the spiral, but don't know how exactly.

enter image description here

$\endgroup$

2 Answers 2

7
$\begingroup$

you could e.g. use this node setup:

enter image description here

to get this:

enter image description here

be aware: I am using the newest 3.5 Blender alpha version - so there is no transfer attribute anymore. It was replaced by 3 other nodes. That's why i use "sample index" node here. But of course you can achieve the same result with the transfer attributes node on an older version of Blender.

$\endgroup$
2
  • 1
    $\begingroup$ thank you for your quick solution. $\endgroup$
    – mptaurus
    Nov 30, 2022 at 11:11
  • $\begingroup$ you are welcome $\endgroup$
    – Chris
    Nov 30, 2022 at 11:26
6
$\begingroup$

I'm sure you can point out your exceptional use-case, (if so, ignore this answer)... but in general, wouldn't it be simpler to generate your 20-point curve from your 100-point curve, than to deform your 20-point curve to your 100-point curve?

Some elaboration of this:

enter image description here

enter image description here

$\endgroup$
2
  • 1
    $\begingroup$ Hi, it seems an interesting solution. For sure it may be useful, but what I want to do is to build a separate object and simulate inserting this object into the spiral torus. So the solution of @Chris for me would be better. Anyway, your approach is nice and smart, thanks. $\endgroup$
    – mptaurus
    Nov 30, 2022 at 11:42
  • $\begingroup$ @mptaurus Okydoky. For deforming arbitrary geometry along a curve, this may be of interest. :) $\endgroup$
    – Robin Betts
    Nov 30, 2022 at 11:50

You must log in to answer this question.

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