flow360.MeshSliceOutput#

class MeshSliceOutput[source]#

Bases: Flow360BaseModel

MeshSliceOutput class for mesh slice output settings.

Example

>>> fl.MeshSliceOutput(
...     slices=[
...         fl.Slice(
...             name="Slice_1",
...             normal=(0, 1, 0),
...             origin=(0, 0.56, 0)*fl.u.m
...         ),
...     ],
... )

name: str = 'Mesh slice output'#

Name of the MeshSliceOutput.

entities: EntityList[Slice] [Required] (alias 'slices')#

List of output Slice entities.

include_crinkled_slices: bool = False#

Generate crinkled slices in addition to flat slices.

cutoff_radius: Annotated[_Constrained, PlainSerializer(func=_dimensioned_type_serializer, return_type=PydanticUndefined, when_used=always)] | None = None#

Cutoff radius of the slice output. If not specified, the slice extends to the boundaries of the volume mesh.

output_type: Literal['MeshSliceOutput'] = 'MeshSliceOutput'#