From b9ab927f231619490f7e5a1d1968474c99f0e089 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Thu, 28 Apr 2011 18:33:19 +0000 Subject: [PATCH] torus --- libsrc/csg/csgeom.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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")