Right now, the code generates a RP unit which is a pair of two Pots and the description has a boolean that rotates the whole unit by 90 degrees. The description also allows for variable detector insertion depth, and support, detector and frame dimensions (the frame is not yet implemented in code - I have to meditate a bit more on that).
It compiles but throws a runtime error, probably because of the XML parsing (there's a FIXME in the code). That should be fixed soon.
The next step is to add layers into a single detector. That will be easy once I'm happy with the current state.
Just so you're notified, @whit.