Added torus support to the DSL exporter