From 52610551430fa60f34b28f884e5e21b32b82dac9 Mon Sep 17 00:00:00 2001 From: "Joseph S." <11660030+joseph-sch@users.noreply.github.com> Date: Mon, 13 Jan 2025 12:40:25 +0200 Subject: [PATCH 1/2] Fix for #7135 * Add the missing comma before the first argument's name * Add the missing spaces in the function description --- cpp/pybind/t/geometry/trianglemesh.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/pybind/t/geometry/trianglemesh.cpp b/cpp/pybind/t/geometry/trianglemesh.cpp index b1fed27bc08..100d26a8162 100644 --- a/cpp/pybind/t/geometry/trianglemesh.cpp +++ b/cpp/pybind/t/geometry/trianglemesh.cpp @@ -344,9 +344,9 @@ This example shows how to create a hemisphere from a sphere:: // Triangle Mesh's creation APIs. triangle_mesh .def_static("create_box", &TriangleMesh::CreateBox, - "Create a box triangle mesh. One vertex of the box" - "will be placed at the origin and the box aligns" - "with the positive x, y, and z axes." + "Create a box triangle mesh. One vertex of the box " + "will be placed at the origin and the box aligns " + "with the positive x, y, and z axes.", "width"_a = 1.0, "height"_a = 1.0, "depth"_a = 1.0, "float_dtype"_a = core::Float32, From 35773ac9536af114d0508061528cbb2679b37d39 Mon Sep 17 00:00:00 2001 From: Joseph S <11660030+joseph-sch@users.noreply.github.com> Date: Thu, 23 Jan 2025 10:37:37 +0200 Subject: [PATCH 2/2] Apply style --- cpp/pybind/t/geometry/trianglemesh.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/pybind/t/geometry/trianglemesh.cpp b/cpp/pybind/t/geometry/trianglemesh.cpp index 100d26a8162..2f7dd067ea0 100644 --- a/cpp/pybind/t/geometry/trianglemesh.cpp +++ b/cpp/pybind/t/geometry/trianglemesh.cpp @@ -347,8 +347,7 @@ This example shows how to create a hemisphere from a sphere:: "Create a box triangle mesh. One vertex of the box " "will be placed at the origin and the box aligns " "with the positive x, y, and z axes.", - "width"_a = 1.0, - "height"_a = 1.0, "depth"_a = 1.0, + "width"_a = 1.0, "height"_a = 1.0, "depth"_a = 1.0, "float_dtype"_a = core::Float32, "int_dtype"_a = core::Int64, "device"_a = core::Device("CPU:0"))