BoundingBox#
- class ansys.meshing.prime.BoundingBox(model=None, xmin=None, ymin=None, zmin=None, xmax=None, ymax=None, zmax=None, json_data=None, **kwargs)#
Provides information about the definition of a bounding box.
- Parameters:
- model: Model
Model to create a
BoundingBox
object with default parameters.- xmin: float, optional
Minimal X coordinate of the bounding box.
- ymin: float, optional
Minimal Y coordinate of the bounding box.
- zmin: float, optional
Minimal Z coordinate of the bounding box.
- xmax: float, optional
Maximal X coordinate of the bounding box.
- ymax: float, optional
Maximal Y coordinate of the bounding box.
- zmax: float, optional
Maximal Z coordinate of the bounding box.
- json_data: dict, optional
JSON dictionary to create a
BoundingBox
object with provided parameters.
Examples
>>> bounding_box = prime.BoundingBox(model = model)
Methods
Print the default values of
BoundingBox
object.BoundingBox.set_default
([xmin, ymin, zmin, ...])Set the default values of the
BoundingBox
object.Attributes
Maximal X coordinate of the bounding box.
Minimal X coordinate of the bounding box.
Maximal Y coordinate of the bounding box.
Minimal Y coordinate of the bounding box.
Maximal Z coordinate of the bounding box.
Minimal Z coordinate of the bounding box.
Examples using BoundingBox#
Mesh a set of solder balls (beta)