Remap numbers

Hi;

I’m stuck on trying to remap a range of numbers with “symmetry”. I mean as instance a range from 1 to 10 in such a manner that once remaped goes as follow 10-9-8-7-6-5-4-3-2-1-2-3-4-5-6-7-8-9-10.
I’m attaching here opne of my attemps but obviosly is not working.

Could anyone teach me how to do it ?

Thanks in advance

Joanremap numbers symmetry.gh (6.9 KB)

you can use reverse list

1 Like

Dear Seghier;

Very clever solution.

Thanks so much.

Joan

1 Like

Hi Seghir;

My definition is getting more complicated.
I need to play more with the range in a manner that I can relocate the axis of the symmetry to get as instance the following range :slight_smile:

10-9-8-7-6-5-4-5-6-7-8-9-10 or

Do you know any way to play with the range to modify the list depending on the “symmetry” axis and the number of values in the range?

Thanks,

Joan

I have special components for this in Pufferfish called “Mirror Cut Numbers”.


MirrorCutNumbers.gh (9.6 KB)

2 Likes

Hi Michael;

Your component fits on my definition to perfection.

I will make aglance to the other components of your plug in, there are many !!

Thanks so much .

Joan

1 Like