diff --git a/libsrc/csg/python_csg.cpp b/libsrc/csg/python_csg.cpp index 18e42029..59dd4e9c 100644 --- a/libsrc/csg/python_csg.cpp +++ b/libsrc/csg/python_csg.cpp @@ -99,8 +99,13 @@ void ExportCSG() bp::scope local_scope(module); - bp::class_> ("Point3d", bp::init()) ; - bp::class_> ("Vec3d", bp::init()) ; + bp::class_> ("Point3d", bp::init()) + .def(bp::self+Vec<3>()) + ; + bp::class_> ("Vec3d", bp::init()) + .def(bp::self+bp::self) + ; + bp::class_, boost::noncopyable> ("Solid", bp::no_init) ;