Link Search Menu Expand Document

arena-py API v1.3.0

arena.attributes.model_container

class ModelContainer(arena.attributes.attribute.Attribute):

ModelContainer attribute class to manage its properties in the ARENA: Overrides absolute size for a 3D model. The model can be a glTF, glb, obj, or any other supported format. The model will be rescaled to fit to the sizes specified for each axes. Usage: model_container=ModelContainer(...)

Parameters
  • bool uniform: Whether to scale the model uniformly. Defaults to 'True' (optional)
  • float x: Size of the model in the x-axis. Defaults to '1' (optional)
  • float y: Size of the model in the y-axis. Defaults to '1' (optional)
  • float z: Size of the model in the z-axis. Defaults to '1' (optional)
ModelContainer(**kwargs)