flow360.RenderOutputGroup#

class RenderOutputGroup[source]#

Bases: Flow360BaseModel

RenderOutputGroup for defining a render output group - i.e. a set of entities sharing a common material (display options) settings.

Example

Define two RenderOutputGroup objects, one assigning all boundaries of the uploaded geometry to a flat metallic material, and another assigning a slice and an isosurface to a material which will display a scalar field on the surface of the entity.

>>> fl.RenderOutputGroup(
...     surfaces=geometry["*"],
...     material=fl.PBRMaterial.metal(shine=0.8)
... ),
... fl.RenderOutputGroup(
...     slices=[
...         fl.Slice(name="Example slice", normal=(0, 1, 0), origin=(0, 0, 0))
...     ],
...     isosurfaces=[
...         fl.Isosurface(name="Example isosurface", iso_value=0.1, field="T")
...     ],
...     material=fl.FieldMaterial.rainbow(field="T", min_value=0, max_value=1, alpha=0.4)
... )
====
surfaces: EntityList[Surface, MirroredSurface] | None = None#

List of of Surface entities.

slices: EntityList[Slice] | None = None#

List of of Slice entities.

isosurfaces: UniqueItemList[Isosurface] | None = None#

List of Isosurface entities.

material: PBRMaterial | FieldMaterial [Required]#

Materials settings (color, surface field, roughness etc..) to be applied to the entire group