compas_shapeop
COMPAS ShapeOp provides Python bindings for ShapeOp, a robust and efficient C++ implementation of a physics solver for geometry processing. The binding is generated with Nanobind and offers zero-copy memory sharing between Python and C++ for high-performance simulations.
Key features include:
Mesh planarization and regularization
Physically-based cloth and cable simulations
Geometry optimization with constraints
Zero-copy integration with NumPy and Eigen
Seamless integration with COMPAS meshes
Interactive mesh manipulation in real-time
Table of Contents
- Introduction
- Installation
- Development Guide
- Tutorial
- Examples
- API Reference
- compas_shapeop
- MeshSolver
- MeshSolver.from_obj
- MeshSolver.from_grid
- MeshSolver.constrain_edge_lengths
- MeshSolver.constrain_face_diagonals
- MeshSolver.constrain_face_planarity
- MeshSolver.constrain_face_regularization
- MeshSolver.constrain_triface_bending
- MeshSolver.fix_vertex
- MeshSolver.fix_vertices
- MeshSolver.add_gravity
- MeshSolver.inflate
- MeshSolver.solve
- compas_shapeop
- License