Thanks alot Paul!
Its good to see that my math skills are as sharp as ever.
Completely ignored the possibility of recieving 0 as a value.
I hope you don't mind me asking a follow up question.
This time its about material variation. I'm trying to generate a pattern on the scales created but with some random elements. I apologize up front because I think what I'm going to write will be confusing.
I have two main categories as materials go: No Symbol and With Symbol Each of those categories has 3 veriation in terms of dirt blend masks.
No Symbol Material ID group = 1-3
With Symbol Material ID group = 7-9
Inside the RC Object which places my scales on the ring I used 2 material operators and a conditional node using "when X segment multiple of 2 = true"
When true the material operator with the sequence 1-3 gets used. When false 7-9. So I get a symbol on every second copy with different masks.
So far this works
Now I use the same approach in the RailClone object which places the rings along my splin. Again the 2 material nodes with the same settings and a conditional this time using "when X segment multiple of 3 = true"
Which almost gives me what I want (marked in red) but the effect I anticipated is only 2displayed on 2 rows and ignored on the others(marked in blue).
What I'd like to have is basically seeing a symbol every third ring and than 2 scales apart.
I hope this is at least somewhat clear of what I want to achive, if not I can upload the scene file tomorrow.