v13.geometry.Geometry

Warning

This class is autogenerated. More detailed documentation can be found in the SDFormat spec.

class v13.geometry.Geometry(box=None, sphere=None, cylinder=None, mesh=None, plane=None, image=None, heightmap=None, empty=None)

The shape of the visual or collision object.

Parameters
box: Box shape
sphere: Sphere shape
cylinder: Cylinder shape
mesh: Mesh shape
plane: Plane shape
image: Extrude a set of boxes from a grayscale image.
heightmap: A heightmap based on a 2d grayscale image.
empty: You can use the empty tag to make empty geometries.

Nested Elements

Note that only complex elements are listed here. Elements that resolve to simple types (int, str, bool) are inlined.

v13.geometry.Geometry.Box([size])

Box shape.

v13.geometry.Geometry.Cylinder([radius, length])

Cylinder shape.

v13.geometry.Geometry.Heightmap([uri, size, ...])

A heightmap based on a 2d grayscale image.

v13.geometry.Geometry.Image([uri, scale, ...])

Extrude a set of boxes from a grayscale image.

v13.geometry.Geometry.Mesh([uri, submesh, scale])

Mesh shape.

v13.geometry.Geometry.Plane([normal, size])

Plane shape.

v13.geometry.Geometry.Sphere([radius])

Sphere shape.