Working with the repeat split

This method is used to repeat geometry within a given scope. It can be used to insert repetitive elements to create sophisticated design patterns.

Simple Repeat

In the first example a scope of length 10 is filled repetitively with a floating X and length 2. The asterisk "*" after the bracket denotes the repetitive split.

...
repeat_example01 --> split(x){ ~2: X }* 
...

A simple variation with borders:

...
repeat_example01 --> split(x){ 1: X(2) | {2.7 : X}* | 1: X(3) }
...

The following example rules will produce the same resulting geometry: five cuboids each with a length of 2.

...
repeat_example01a --> split(x){ { 2 : X }* | ~1: X(2) } 
repeat_example01b --> split(x){ ~1: X(2) | {2 : X}* } 
...

The repetitive X will be evaluated first independently on which side of the split the repetition is denoted. The float value X does not get any space to be generated.

The following shows that a repeat with absolute values can be ordered by neighboring float controlled X.

...
repeat_example01 --> split(x){ ~1: X | { 2: X(.5) }* | ~1: X  }
...

Repeat Pattern Examples

Repeat operations can be used to create patterns. The following example shows that geometric objects can be grouped into a bracket and repeated.

...
repeat_example01 --> split(x){ ~1: Y | 0.25: X | ~1: Y }*
...

Finally, repeating objects can be inserted within any other geometries like the following example shows.

...
repeat_example01 --> split(x){ 1: X(3) | { ~1: Y | 0.2 : X | ~1: Y }* | 1: X(3) }  
...

Copyright ©2008-2016 Esri R&D Center Zurich. All rights reserved.