pyskyfire.viz.scene.Scene¶
- class pyskyfire.viz.scene.Scene(*, title='Pyskyfire 3D', color_by=None, clim=None, show_axes=False)¶
Assemble components for desktop or standalone HTML display.
anchornames the added component’s local anchor;attach_tois a world-space Anchor. Attachment mates their outward x axes in opposition. It is a one-time placement calculation, with no fluid-network constraints. Explicit placement and anchor placement are mutually exclusive.tagslabels the added node, a string or an iterable of them. Nodes sharing a tag appear together as one group in the HTML viewer, so a grouping written into the script survives regenerating the results.show_axesadds a corner orientation triad marking the scene axes (x red, y green, z blue). It is an orientation cue only, not a measuring grid: it carries no ticks and does not indicate the origin or scale.- add(component, *, name=None, transform=None, position=None, rotation=None, parent=None, anchor=None, attach_to=None, tags=())¶
- save_html(path)¶
- show()¶
- to_html()¶
- to_plotter(*, off_screen=False)¶
Create a PyVista plotter; the caller owns and closes it (also for GUI embedding).
- walk()¶
- property data_url¶
Interactive HTML for Report.add_iframe().