Skip to main content

python bindings for cgal for implicit model meshing

Project description

Loop-cgal

Loop-cgal is a Python package for mesh processing operations using the CGAL (Computational Geometry Algorithms Library). It is designed for efficient geometric computations using pyvista objects.

Features

  • Python bindings for CGAL using pybind11.
  • Current features:
    • clipping of 3D triangular surfaces
  • Future features:
    • Marching cubes algorithm for isosurface extraction
    • Boolean operations on marching cube meshes.

Installation

Prerequisites

  • C++17 or later
  • Python 3.11 or later
  • CGAL library
  • Boost library
  • CMake 3.15 or later
  • pybind11
  • scikit-build
  • pyvista

Build and Install

  1. Clone the repository:
    git clone https://github.com/Loop3D/loop-cgal.git
    cd loop-cgal
    pip install .
    
  2. Alternatively, you can install it directly from PyPI:
    pip install loop-cgal
    

Windows using vcpkg

To install dependencies using vcpkg:

  1. Install vcpkg following the official guide.
  2. Install required libraries:
    vcpkg install yasm-tool:x86-windows cgal:x64-windows
    
  3. Set the VCPKG_ROOT environment variable to point to your vcpkg installation directory.
  4. Set the CMAKE_ARGS to include -DCMAKE_TOOLCHAIN_FILE and -DVCPKG_ROOT e.g. CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=$Env:VCPKG_ROOT\scripts\buildsystems\vcpkg.cmake -DVCPKG_ROOT=$Env:VCPKG_ROOT"
  5. Proceed with the build and installation steps as described above.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loop_cgal-0.1.8.tar.gz (31.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

loop_cgal-0.1.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

loop_cgal-0.1.8-cp313-cp313-macosx_15_0_x86_64.whl (858.1 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

loop_cgal-0.1.8-cp313-cp313-macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

loop_cgal-0.1.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

loop_cgal-0.1.8-cp312-cp312-macosx_15_0_x86_64.whl (858.0 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

loop_cgal-0.1.8-cp312-cp312-macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

loop_cgal-0.1.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

loop_cgal-0.1.8-cp311-cp311-macosx_15_0_x86_64.whl (854.5 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

loop_cgal-0.1.8-cp311-cp311-macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

loop_cgal-0.1.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

loop_cgal-0.1.8-cp310-cp310-macosx_15_0_x86_64.whl (853.2 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

loop_cgal-0.1.8-cp310-cp310-macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

loop_cgal-0.1.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

loop_cgal-0.1.8-cp39-cp39-macosx_15_0_x86_64.whl (853.2 kB view details)

Uploaded CPython 3.9macOS 15.0+ x86-64

loop_cgal-0.1.8-cp39-cp39-macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 15.0+ ARM64

File details

Details for the file loop_cgal-0.1.8.tar.gz.

File metadata

  • Download URL: loop_cgal-0.1.8.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for loop_cgal-0.1.8.tar.gz
Algorithm Hash digest
SHA256 80bd93ae1ce64636df4c0e51872c1067f1fe34a85e7819ea931a7fa4a361a5e2
MD5 a0460c7453a23e12a657bdddea07a570
BLAKE2b-256 f0cb8aab6d64d0e097b7e6a0d6b7c8d35a8c27a82d9bae5416be994465b04384

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8.tar.gz:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e4ec20c0b5f62b7f6a6257c989d27e589f6b54f8e8e6e5df424972530fce956c
MD5 9362ed56546630940fb59a92b0dbfbba
BLAKE2b-256 b28d6b66f5f649802ffb47f33c6c184e1f20c68c4fd558b6e8472b815f06d43d

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 3dbd48e60897a20bf4c239e4369281e5e245b69f6410668543331dccd44a7290
MD5 97efdfd35099d99ec73ddd93e017a671
BLAKE2b-256 dc8eba22f292d8ddbc32a5310a356e1aed6faceb2cec1fd8e74b016021a04a45

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp313-cp313-macosx_15_0_x86_64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4c534ea9e147068fbb1b5157326069ca9f5867385a03739986e2d97a74c87d12
MD5 9a3cc53e718515baae373e244f3c42bf
BLAKE2b-256 d27ed741ee459e619c605cd762aef5c5a2cf7fe1db21f037b552832b2ce8896d

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp313-cp313-macosx_15_0_arm64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc9f9540a1d99ba25878a2de6051fa5b340bb093026079632320c8907d2fde76
MD5 5b081b9c4e83ebc49d0ffe502b9633a3
BLAKE2b-256 5db1cab88602474a9985ab5cd6c3451f9873369097fb91d2f251832806e42eeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 eaa2a72da3d46e550e33300d90298a5e96cbccd6652613f976d57e167b7f88a5
MD5 0033eed29fd72fce293a1bbda52f4cdd
BLAKE2b-256 e3010f821e6173e115381c50e6fa9f608322210947bb39f6f03ed18641e44743

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp312-cp312-macosx_15_0_x86_64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3ad2a783401b1f565505452f0054a7f3944d2d7314086229a7e9ed07d43d4a0b
MD5 da3d64534787aa39083fa5d129d257e3
BLAKE2b-256 4716fa4913735b248fe6bbea1d871f0179b1eee3b0da4c0e7f56e250292b6214

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp312-cp312-macosx_15_0_arm64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c85b432cf5ad9c1569d024b6c5450f2aff75ac3825bb1cda5f89470b50eed3f9
MD5 b50a0e053d05be0cdb79e5d4c6e6f45a
BLAKE2b-256 09b055874e72e835e32ca88efac504b42c61f38696ca1615e0538cef260d6286

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 69744f575a6b3b6e5629d8f0455d8c27d8fca430422ec75b7def899ae92d8375
MD5 4751469cd9820c3d2a7f30d1d30044d3
BLAKE2b-256 a73bfa8370660620eb17bfa4139a668ecb8b00581012306d8f7dd8347741882d

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp311-cp311-macosx_15_0_x86_64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d239ceb9202786aaf3cb33242257b60beaef2c8411debb6c61a3e58b69ff693b
MD5 98015e36204ca5f637a2ea8683a4b66a
BLAKE2b-256 ffb68cf0877d3468a2552115be6eda1e4c9af129577f49d55f26a13f301e76be

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp311-cp311-macosx_15_0_arm64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f6610b19a449609a987ed2e5288aa307d621d1c715e2224bdbea7260e34ae459
MD5 0a03c36061d6bf2c17f739fbd761b6ac
BLAKE2b-256 d43abf9dc6390f09f8b286f2ac0686e99ba931116a08b442ceadcfb4977634df

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp310-cp310-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 b50f7983687daaea5ae9328048d3c524daddf51c6bf5a446dabcc7bb65d16bec
MD5 fd094226b207d9854fa8fffb0d15d57a
BLAKE2b-256 15bd689df18c9e3d66f50afa1c1213f42510ad4d75275a1d7c8299cc674c8603

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp310-cp310-macosx_15_0_x86_64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 915a6fb9042dfe4887febe54b944300ace033e686f7dd4413da6df79475ae50c
MD5 572ba7b1224a01a0f7ebd9fee13be703
BLAKE2b-256 03184510f23e646406d9c88b4b99bd048f0dc3d6af52db9cd76a1289db94ef98

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp310-cp310-macosx_15_0_arm64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7a9dba0b6b545a7c4633530c8ea1940077ca08a936e44e04cdcc866b1af731b4
MD5 fa11b5433e53492db45f8c3a7aa9feff
BLAKE2b-256 15ff01ecfc81b9f0e712dadc353812d22118c8d07e71bd942e205dd66d3c23f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp39-cp39-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp39-cp39-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 368dd5736f87be08bcc2da47bd3f8b8b760d179524f78ad93bd272004b2e3865
MD5 80981570aad18533f7d33e6a1783ecc2
BLAKE2b-256 b233cb4756c3a546a0d5de22829f1609da45b26deb366c390d51e2a99cbe86f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp39-cp39-macosx_15_0_x86_64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file loop_cgal-0.1.8-cp39-cp39-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for loop_cgal-0.1.8-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8cbda9521f18495373a822a3441cc0eec331b1cad4e94bbf299f0e514d89ae08
MD5 b603f7d7c43775c6afb1052f4229d02b
BLAKE2b-256 8d94d71672e3b352f03bedd5b243782ea8cbd1670b666eea4c50a3a9642e789c

See more details on using hashes here.

Provenance

The following attestation bundles were made for loop_cgal-0.1.8-cp39-cp39-macosx_15_0_arm64.whl:

Publisher: pypi.yml on Loop3D/loop-cgal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page