Starting to implement B-rep extraction algorithm - needs some further thought as to data structures to represent the topology of the boundary, but commiting as it's time to make dinner...