diff --git a/libsrc/csg/csgeom.cpp b/libsrc/csg/csgeom.cpp index 0d1fb037..ec8125da 100644 --- a/libsrc/csg/csgeom.cpp +++ b/libsrc/csg/csgeom.cpp @@ -450,6 +450,13 @@ namespace netgen } + else if(classname == "torus") + { + Torus * torus = new Torus(dummypoint,dummyvec,dummydouble, dummydouble); + torus->SetPrimitiveData(coeffs); + AddSurface(torus); + delete_them.Append(torus); + } else if(classname == "cone")