10.10.4.4. Geometry

If a mutable has attribute type as geometry, it’s a geometry. A geometry is a substance in space.

Available attributes of geometry:

Name

Type

Description

subtype

string

see below sections

physics

string

collision or rigidbody

If physics is set to rigidbody, the object is a dynamic object that responds to physics; if it’s set to collision, the object is a static object that dynamic objects interact with. For example, a wall can have collision and a ping-pong ball bouncing off of it has rigidbody.

Basic shapes

If subtype is one of cone, cube, cylinder, disk, torus, plane, sphere, it defines the corresponding basic geometry.

Deformed shape

If subtype is bottle, it defines a bottle shape, which is a parameterized deformed geometry controlled by the following parameters.

Name

Type

Description

base_effector

string

vertical position of the base effector

neck_effector

string

vertical position of the neck effector

horizontal_effector

string

horizontal position of the body effector

vertical_effector

string

vertical position of the body effector

This image illustrates how the shape of the bottle is controlled by these 4 effectors.

../../_images/geometry-bottle.png

We currently don’t support physics simulation for bottles.

Mesh loaded from USD

If subtype is mesh, it defines a mesh loaded from USD.

Additional attribute of mesh:

Name

Type

Description

usd_path

string

The path to the USD in disk