Skip to content

Scattering Sample

Scattering Sample icon

Lab ยท Sample

A surface sample for the virtual scattering lab: a relief mesh, a Brep, a surface or a SubD, as drawn or as a tile repeated over a disc, with the flat reference it is measured against. The object lies on the World XY plane facing +Z (the direction the sound comes from), unless the 'plane' input gives its mounting plane. Meters.

Scattering Sample on the Grasshopper canvas

Inputs

Name Type Access Default Description
geometry geometrybase item The relief: a mesh, Brep, surface or SubD. In disc mode, the tile to repeat. It lies on XY, +Z facing the sound, unless 'plane' is given.
mode str item "as_drawn" 'as_drawn' measures the geometry as drawn; 'disc' repeats it as a tile over a disc of the given diameter. Optional.
diameter float item Disc mode only, and required there: the diameter of the disc in m. Optional.
reference geometrybase item Optional. As-drawn mode only: a mesh, Brep, surface or SubD to take as the reference instead of the flat footprint of the relief. It lies on XY, +Z facing the sound, unless 'plane' is given. Optional.
baseplate float item 0.01 Thickness of the plate below the relief, in m. Optional.
symmetry str item "none" 'none' or 'rotational' (the sample repeats under rotation about its centre). Optional.
plane plane item Mounting plane of the object: its origin on the mounting surface and its Z axis pointing out into the room, where the sound comes from. Leave empty when the object already lies on the World XY plane facing +Z. Optional.

Outputs

Name Description
sample ScatteringSample object, for Scattering Lab.

Python equivalent

compas_acoustics.lab.ScatteringSample