A design world describes knowledge about possible designs. The characteristics of design worlds in engineering and architecture are compared. An implementation of three-dimensional shape grammars is outlined and the description of composite spatial relations which arise in generated shapes is considered.