add_connector

Add a connector between two points.

Parameters

p0 : list[float]
Start point [x, y] or [x, y, z].
p1 : list[float]
End point [x, y] or [x, y, z].
material : ConnectorMaterial
Connector material.

Examples

model.add_connector(p0=[2,0], p1=[5,3], material=conn_mat)