MeshSolver.fix_vertices
- MeshSolver.fix_vertices(vertices=None, targets=None, weight=100000.0)
Add closeness constraints to vertices of a COMPAS mesh.
- Parameters:
- verticeslist[int], optional
List of vertices to constrain. If None, all vertices will be constrained.
- targetslist[[float, float, float]], optional
Target positions for the vertices. Must match length of vertices if provided.
- weightfloat, optional
Weight of the constraints. Default is 1e5.
- Returns:
- list[int]
IDs of all added constraints.