newton.sim.Style3DModel#
- class newton.sim.Style3DModel(device=None)[source]#
Bases:
Model
Style3DModel derived from newton model, contains extended simulation attributes.
Note
Use the Style3DModelBuilder to construct a simulation rather than creating your own Model object directly, however it is possible to do so if desired.
- __init__(device=None)#
Initializes the Model object.
- Parameters:
device (wp.Device) – Device on which the Model’s data will be allocated.
- edge_bending_cot#
Bending edge cotangents, shape [edge_count, 4], float.
- edge_rest_area#
Bending edge area, sum area of adjacent two triangles, shape [edge_count], float.
- tri_aniso_ke#
Triangle element aniso stretch stiffness(weft, warp, shear), shape [tri_count, 3], float.