This is a 3D version of a spiro-graph pattern. It is generated mathematically through Openscand from a few parameters.