diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 1c3ff74deba..9ae3b3bfce5 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -214,6 +214,8 @@ jobs: env: BUILD_CUDA_MODULE: OFF + # TensorFlow v2.16 does not support Python 3.8 + BUILD_TENSORFLOW_OPS: ${{ matrix.python_version == '3.8' && 'OFF' || 'ON' }} OPEN3D_ML_ROOT: ${{ github.workspace }}/Open3D-ML steps: - name: Checkout source code diff --git a/.github/workflows/ubuntu-wheel.yml b/.github/workflows/ubuntu-wheel.yml index c55bc1d65c6..411fe6a37bb 100644 --- a/.github/workflows/ubuntu-wheel.yml +++ b/.github/workflows/ubuntu-wheel.yml @@ -153,7 +153,6 @@ jobs: uses: actions/checkout@v4 with: repository: isl-org/Open3D-ML - ref: ss/python-3.12 # remove before merge path: ${{ env.OPEN3D_ML_ROOT }} - name: Download wheels uses: actions/download-artifact@v4 diff --git a/3rdparty/googletest/googletest.cmake b/3rdparty/googletest/googletest.cmake index dd84c07c32c..afde49e2014 100644 --- a/3rdparty/googletest/googletest.cmake +++ b/3rdparty/googletest/googletest.cmake @@ -12,5 +12,5 @@ FetchContent_Declare( INSTALL_COMMAND "" ) -FetchContent_Populate(ext_googletest) +FetchContent_MakeAvailable(ext_googletest) FetchContent_GetProperties(ext_googletest SOURCE_DIR GOOGLETEST_SOURCE_DIR) diff --git a/cpp/pybind/t/geometry/lineset.cpp b/cpp/pybind/t/geometry/lineset.cpp index fe5bdb8ad33..c37fad0c964 100644 --- a/cpp/pybind/t/geometry/lineset.cpp +++ b/cpp/pybind/t/geometry/lineset.cpp @@ -257,12 +257,9 @@ transformation as :math:`P = R(P) + t`)"); Args: angle (float): The rotation angle in degree. - axis (open3d.core.Tensor): The rotation axis. - resolution (int): The resolution defines the number of intermediate sweeps about the rotation axis. - translation (float): The translation along the rotation axis. Returns: @@ -270,7 +267,6 @@ transformation as :math:`P = R(P) + t`)"); Example: - This code generates a spring from a single line:: import open3d as o3d @@ -286,9 +282,7 @@ transformation as :math:`P = R(P) + t`)"); R"(Sweeps the line set along a direction vector. Args: - vector (open3d.core.Tensor): The direction vector. - scale (float): Scalar factor which essentially scales the direction vector. Returns: @@ -296,8 +290,8 @@ transformation as :math:`P = R(P) + t`)"); Example: - This code generates an L-shaped mesh:: + import open3d as o3d lines = o3d.t.geometry.LineSet([[1.0,0.0,0.0],[0,0,0],[0,0,1]], [[0,1],[1,2]]) @@ -326,7 +320,7 @@ matrices. Camera reference frame is shown with XYZ axes in RGB. Example: - Draw a purple camera frame with XYZ axes in RGB. + Draw a purple camera frame with XYZ axes in RGB:: import open3d.core as o3c from open3d.t.geometry import LineSet