set_hinge_3d

Set hinge in 3D.

Parameters

edges : ShapeList
List of edges
faces : ShapeList
List of faces

Notes

Edges must be connected to at least one plate, to which the hinge will be assigned. If edges are connected to multiple plates, hinges will all be set to all of them, unless faces are specified.

See also

Examples

edges = model.get_shapes(['edge'])
faces = model.get_shapes(['face'])
model.set_hinge_3d(edges, faces)