hertzforge.service.show¶
show
¶
What a selection in the project tree shows.
The window draws whatever is selected in its tree: one
object by its kind, records picked inside one, or several together when
the combination means something. project.show answers that from the
operations the service already has, so the shell draws a selection the
way a result is drawn.
One object: a geometry draws; a data object is its waterfall, or the records picked as curves; a shape set is its modes on the geometry of its group (or the active one) with its mode table, or the table and its MAC against itself without one; a channel table and matched modes are their tables. Two together: data on a geometry animates it (a shape set's modes; a time history played back sample by sample; an FRF's or a spectrum's operating deflection shape at its loudest line; a PSD's envelope); a channel table on a geometry marks its channels; two shape sets give their MAC; a measurement beside its requirement gives the comparison's spectra; two PSDs overlay. Data objects on one abscissa (frequency, time) are drawn together to be compared, the records picked in each when any are. Anything else shows each object on its own, and the note says what was left out.
Functions:
| Name | Description |
|---|---|
averaging_drawn |
(regions, note) for an averaging drawn on the time history |
element_coloring |
How a modal motion colors the elements of the element shape set |
modal_motion_of |
|
show |
What |
Classes¶
Functions:¶
averaging_drawn
¶
(regions, note) for an averaging drawn on the time history name: what
draft holds of the Averaging form's fields, the history's own for the rest
(ops_settings.averaging_regions: each frame with its window and its row,
then the span that drags them). No regions, and why, when it cannot be drawn.
element_coloring
¶
element_coloring(name: str, quantity: str = 'stress', component: str = 'von_mises', groups: str = '', color_max: float = 0.0) -> dict[str, Any]
How a modal motion colors the elements of the element shape set name: by
component of its quantity (ops_element_shapes.color_scalar), the elements of
the element groups groups (all for blank), on a scale up to color_max in SI (the
clip's largest value for 0).
modal_motion_of
¶
modal_motion_of(project: Any, geometry_name: str, data_name: str, picks: list[int], shapes_name: str | None = None, coloring: dict[str, Any] | None = None) -> tuple[list[dict], list[str]] | None
_modal_motion, with the elements colored as coloring (element_coloring) says, and
the geometry's own view as its camera, as show gives it.
show
¶
show(project: Any, objects: list[str], records: dict[str, list[int]], part: dict[str, Any] | None, prefs: dict[str, Any] | None = None) -> dict[str, Any]
What objects show together: {'title', 'views', 'note', 'offers'},
read as prefs ask (PREFS).