This package provides Python bindings for specific algorithms of CGAL. The bindings are generated with PyBind11 and data is exchanged using NumPy arrays.
More information is available in the docs: https://compas.dev/compas_cgal/
compas_cgal
is available via conda-forge
for Windows, OSX, and Linux,
and can be installed using conda
.
conda create -n cgal -c conda-forge compas compas_cgal --yes
Currently, the following functions are available:
boolean_union
boolean_difference
boolean_intersection
intersection_mesh_mesh
remesh
slice_mesh
These functions can be used directly from compas_cgal
or from compas.geometry
through the plugin mechanism in COMPAS.
For examples, see https://compas.dev/compas_cgal/latest/examples.html.
See CONTRIBUTING for more information.
compas_cgal
is released under the LGPL 3.0 to be compatible with the license of CGAL.