Commit 3f77b585 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[python][occwrapper] remove function to create empty compound

OCCCompundWrapper is default constructible, which makes this
construction function obsolete.
parent d1f45c5c
......@@ -69,9 +69,6 @@ namespace Detail {
cls.def("add", &Wrapper::add<SolidWrapper>, "Add a solid to the compound");
}
// convenience function to create wrapper around compound shape
CompoundWrapper makeCompoundWrapper() { return {}; }
} // end namespace Detail
void registerBRepWrappers(pybind11::module& module)
......@@ -84,8 +81,6 @@ void registerBRepWrappers(pybind11::module& module)
Detail::registerBRepWrapper<TopoDS_Shell>(module, "OCCShellWrapper");
Detail::registerBRepWrapper<TopoDS_Solid>(module, "OCCSolidWrapper");
Detail::registerCompoundWrapper(module);
module.def("makeCompoundWrapper", &Detail::makeCompoundWrapper, "Creates an empty compound to which shapes can be added");
}
} // end namespace Frackit::Python
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment