diff --git a/libsrc/csg/python_csg.cpp b/libsrc/csg/python_csg.cpp index 275c53e4..be35ad58 100644 --- a/libsrc/csg/python_csg.cpp +++ b/libsrc/csg/python_csg.cpp @@ -251,6 +251,12 @@ DLL_HEADER void ExportCSG() Solid * sol = new Solid (sp); return make_shared (sol); })); + bp::def ("Cone", FunctionPointer([](Point<3> a, Point<3> b, double ra, double rb) + { + Cone * cyl = new Cone (a, b, ra, rb); + Solid * sol = new Solid (cyl); + return make_shared (sol); + })); bp::def ("Cylinder", FunctionPointer([](Point<3> a, Point<3> b, double r) { Cylinder * cyl = new Cylinder (a, b, r);