ModelPrimitiveFactory#
- class ansys.stk.core.graphics.ModelPrimitiveFactory#
The model primitive loads and renders COLLADA (DAE) and AGI MDL (MDL) models.
Overview#
Initialize a default model primitive. |
|
For convenience. Initializes a model primitive with the specified file path. |
|
For convenience. Initializes a model primitive with the specified file path and up axis. |
Import detail#
from ansys.stk.core.graphics import ModelPrimitiveFactory
Method detail#
- ModelPrimitiveFactory.initialize(self) ModelPrimitive #
Initialize a default model primitive.
- Returns:
ModelPrimitive
- ModelPrimitiveFactory.initialize_with_string_uri(self, uri: str) ModelPrimitive #
For convenience. Initializes a model primitive with the specified file path.
- Parameters:
uri :
str
- Returns:
ModelPrimitive
- ModelPrimitiveFactory.initialize_with_string_uri_and_up_axis(self, uri: str, up_axis: ModelUpAxis) ModelPrimitive #
For convenience. Initializes a model primitive with the specified file path and up axis.
- Parameters:
uri :
str
up_axis :
ModelUpAxis
- Returns:
ModelPrimitive