set_hinge_2d
Set hinge in 2D.
Parameters
- vertices : ShapeList
- List of vertices
- edges : ShapeList
- List of edges
Notes
Vertices must be connected to at least one plate, to which the hinge will be assigned. If vertices are connected to multiple plates, hinges will all be set to all of them, unless edges are specified.
See also
Examples
vertices = model.get_shapes(['vertex'])
edges = model.get_shapes(['edge'])
model2d.set_hinge_2d(vertices, edges)