newton.utils.create_straight_cable_points#
- newton.utils.create_straight_cable_points(start, direction, length, num_segments)[source]#
Create straight cable polyline points.
This is a convenience helper for constructing
positionsinputs forModelBuilder.add_rod.- Parameters:
- Returns:
List of
wp.vec3points of lengthnum_segments + 1.- Return type: