4
$\begingroup$

I am trying to make a node that wraps spirals along a curve. It needs to be able to work with another instance of itself as input (spirals along spirals along spirals...). Input here is a bezier curve. Root node

Problem is that the second level of spirals is wrapped around the first as if it was a single curve. Continuing from endpoint to starting point without terminating. The first instance of Spirals along curve outputs three curves spiraling along the input curve. The second instance wraps six spirals along each of those three. Output

Here is what the spirals along curve node looks like. Spirals along curve

X_Curve_Deform is from this answer. I believe my problem is that I realize the instances before deforming. But X_Curve_Deform does not seem to work with instances. This is my first time using geometry nodes and I don't understand how X_Curve_Deform works well enough to make it work on instances.

I am trying to make Spirals along curve a reusable tool. Any help is appreciated.

$\endgroup$

1 Answer 1

6
$\begingroup$

Edit 2.

Ok. So you need to cut the lines. I added a bunch of nodes here to increase the number of lines, because you have to use separate lines for each guide segment:

enter image description here

Next, you cannot relay on X coordinate. I don't know why you want to deform along the path each time, but if you want to - you should replace x coordinate by index

enter image description here

But after doing this, I still have some glitches.

Edit.

So the problem is that you want to wrap an object on several curves, not one.

So you could probably reverse every second curve:

enter image description here

Old answer:

X curve deform should be executed one time at the end, not twice, like you did. You have putted it inside a node group and use this group several times, which was led to unexpected results.

enter image description here

Remove X curve deform from node group and put it right before GN output like in my screenshot.

$\endgroup$
13
  • 1
    $\begingroup$ Don't know why someone downvoted this answer. I tried it and it looks like the solution in my opinion. I wish that someone would explain what he doesn't like about it. Maybe it can be edited so a downvote is not necessary. $\endgroup$ Feb 17, 2022 at 13:13
  • 2
    $\begingroup$ @GordonBrinkmann I don't know why, either.. it's pretty much the answer I was about to give! Just noting... X_Deform maps X to the curve, Y and Z to its orthogonals.. so if the object is already off X, it will wander. $\endgroup$
    – Robin Betts
    Feb 17, 2022 at 13:17
  • 1
    $\begingroup$ @RobinBetts Maybe just some malignant troll running around, downvoting others. I just had two of my older answers (which have no connected subjects) downvoted within a minute yesterday. $\endgroup$ Feb 17, 2022 at 13:29
  • $\begingroup$ This is not the solution. There should be three of those bundles spiraling along the curve. This ignores the first instance of spirals along curve. I want to be able to do this in multiple stages with spirals along spirals etc. $\endgroup$
    – John
    Feb 17, 2022 at 14:35
  • $\begingroup$ @John What about adding another Spirals Along Curve node group like you have two already, just with different settings? Your question seemed as if you didn't like the connection between start and end point. This answer solved it. Simple downvoting only decreases reputation and doesn't point in the direction you want the answer to go to - so others with similar ideas won't even bother to answer because it seems they are completely wrong, and it won't encourage the one answering to help you with future questions. $\endgroup$ Feb 17, 2022 at 14:47

You must log in to answer this question.

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