diff --git a/libsrc/occ/python_occ_shapes.cpp b/libsrc/occ/python_occ_shapes.cpp index 8d0d2821..432ec531 100644 --- a/libsrc/occ/python_occ_shapes.cpp +++ b/libsrc/occ/python_occ_shapes.cpp @@ -2035,6 +2035,8 @@ tangents : Dict[int, gp_Vec2d] m.def("Glue", [] (const std::vector shapes) -> TopoDS_Shape { + if(shapes.size() == 1) + return shapes[0]; BOPAlgo_Builder builder; for (auto & s : shapes) {