This tool produces piece filters that can be added to HyperSpeedCube by adding them to the presets list (Edit as plaintext).
Cube size:
Filter strings, one per line:


Each line should have one filter of the form `filter-name: filter-expression`. The filter expression can have the following syntax:

1, 2, 3, 4: pieces with 1, 2, 3, or 4 stickers

R, O, Y, G, B, V, N, W: pieces with Red, Orange, Yellow, Green, Blue, Violet, piNk, or White stickers

XZ: the intersection of X and Z

!X: the complement of X

!XZ: the intersection of the complements of X and Z (arbitrary arity)

X+Z: The union of X and Z

(X): grouping

^: the filter from the previous line