Dimensions3D#
- class ansys.speos.core.sensor.Sensor3DEnergyDensity.Dimensions3D(dimensions, default_parameters=None, stable_ctr=False)#
Dimensions and voxel counts of an energy density volume.
- Parameters:
- dimensions
sensor_v2_pb2.SensorTemplate.EnergyDensity.Dimensions3D Protobuf dimensions to modify.
- default_parameters
EnergyDensity3DDimensionsParameters,optional Values to apply, or
Noneto preserve existing dimensions.- stable_ctrbool,
optional Internal constructor guard.
- dimensions
- Parameters:
dimensions (ansys.api.speos.sensor.v2.sensor_pb2.SensorTemplate.EnergyDensity.Dimensions3D)
default_parameters (Optional[ansys.speos.core.generic.parameters.EnergyDensity3DDimensionsParameters])
stable_ctr (bool)
Notes
Use the parent sensor’s
set_dimensions()method.
Overview#
Size along the local X axis in millimeters. |
|
Size along the local Y axis in millimeters. |
|
Size along the local Z axis in millimeters. |
|
Number of voxels along the local X axis. |
|
Number of voxels along the local Y axis. |
|
Number of voxels along the local Z axis. |
Import detail#
from ansys.speos.core.sensor.Sensor3DEnergyDensity import Dimensions3D
Property detail#
- property Dimensions3D.x_size: float#
Size along the local X axis in millimeters.
- Returns:
floatX size.
- property Dimensions3D.y_size: float#
Size along the local Y axis in millimeters.
- Returns:
floatY size.
- property Dimensions3D.z_size: float#
Size along the local Z axis in millimeters.
- Returns:
floatZ size.
- property Dimensions3D.x_sampling: int#
Number of voxels along the local X axis.
- Returns:
intX voxel count.