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:
dimensionssensor_v2_pb2.SensorTemplate.EnergyDensity.Dimensions3D

Protobuf dimensions to modify.

default_parametersEnergyDensity3DDimensionsParameters, optional

Values to apply, or None to preserve existing dimensions.

stable_ctrbool, optional

Internal constructor guard.

Parameters:

Notes

Use the parent sensor’s set_dimensions() method.

Overview#

x_size

Size along the local X axis in millimeters.

y_size

Size along the local Y axis in millimeters.

z_size

Size along the local Z axis in millimeters.

x_sampling

Number of voxels along the local X axis.

y_sampling

Number of voxels along the local Y axis.

z_sampling

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:
float

X size.

property Dimensions3D.y_size: float#

Size along the local Y axis in millimeters.

Returns:
float

Y size.

property Dimensions3D.z_size: float#

Size along the local Z axis in millimeters.

Returns:
float

Z size.

property Dimensions3D.x_sampling: int#

Number of voxels along the local X axis.

Returns:
int

X voxel count.

property Dimensions3D.y_sampling: int#

Number of voxels along the local Y axis.

Returns:
int

Y voxel count.

property Dimensions3D.z_sampling: int#

Number of voxels along the local Z axis.

Returns:
int

Z voxel count.