When I cluster a definition, the outputs get distorted

Hi, I just created a definition for a cone that follows a polyline. It works fine but when I put it inside a cluster, the output is different than what is inside the cluster.

In the first image, I am inside the cluster and the surfaces are clean and smooth, but in the second image, once I close the cluster, some of the surfaces are skewed). Anyone has any idea why that might happen? It has happened to me again once or twice in other clusters.

*needs anemone



KinkyCone.gh (53.8 KB)

Most likely because the last time I checked, Anemone doesnā€™t run inside of a cluster?

Are you referring to the twisted sections on the right, baked from outside the cluster, vs. the straight sections on the left, baked inside the cluster?

By the way, using a plugin only for the ā€˜X Minues Oneā€™ feature is unfortunate and unnecessary:
missing

ā€˜x-1ā€™ can easily be done with an expression, no need for a plugin:
minus_one

so essentially, I canā€™t have anemone inside a cluster, I have to explode it. right?

Or do it without Anemone. I understand what youā€™re doing but the code looks excessively complex.

ok, thanks!
I am sure I could simplify the code if I put the time. To quote Pascal:
ā€œIf I had more time, I would have written a shorter letterā€

1 Like

Yeah, thatā€™s one of my favorite quotes.

I spent too much time brutally hacking away at your code, trying to do it without Anemone before understanding what that loop was doing. Some things are simpler and ā€œbetterā€ (to my eyes), some of your code was left in place. The result isnā€™t terrible but could be better with seam alignment, as you did.

Iā€™m going to quit for now, sleep on it and maybe get back to it later. Your code is pretty cool, if only Anemone worked inside of clustersā€¦
KinkyCone_2022Oct14a.gh (35.2 KB)

1 Like

hahaha, nice to see a fellow mazochist torture himself just for the fun of it! :slight_smile:
Iā€™ll have a look at your code.

This works well? Instead of lofting your ā€œmassagedā€ intersection curves, I used them to split the cones.
KinkyCone_2022Oct15a
Full Size GIF

Later - OH NO! I canā€™t believe I did this. I spent considerable time cleaning up the file as shown in the screen image but apparently didnā€™t save it. :sob: Will try to do it againā€¦

UPDATE: Re-did the cleanup, hereā€™s the correct file (I hope). Donā€™t know how that happenedā€¦
KinkyCone_2022Oct15aa.gh (24.8 KB)

P.S. Unfortunately, due to internal flattening, this fails to handle multiple Start/End radii. If it did, it would be easy to add thickness to this kinky cone by creating two on the same guide curve. Oh well.

1 Like