QRendererAnalysis¶
- class QRendererAnalysis(design: QDesign, initiate=False, options: Dict | None = None)[source]¶
Abstract base class for all Renderers intended for Analysis.
- Parameters:
design (QDesign) – The design.
initiate (bool) – True to initiate the renderer (Default: False).
settings (Dict, optional) – Used to override default settings. Defaults to None.
Attributes
Return a reference to the parent design object.
Element extensions dictionary
Element table data.
Returns the logger.
Name
Options for the QRenderer.
Methods
During init of renderer, this needs to happen.
Returns an already loaded and instantiated renderer.
Creates template options for the Metal QRenderer class required for the class to function, based on the design template; i.e., be created, made, and rendered.
Confirm the list doesn't have names of components repeated.
Abstract method.
Load the renderer and register all its extensions.
Same as design.parse_value.
Populate cls.element_extensions which will be used to create columns for tables in QGeometry tables.
Abstract method.
Abstract method.
QRendererAnalysis.render_component
(component)Abstract method.
QRendererAnalysis.render_components
([selection])Abstract method.
Abstract method.
QRendererAnalysis.render_element
(element)Abstract method.
Abstract method.
Abstract method.
QRendererAnalysis.save_screenshot
([path, show])Save the screenshot.
QRendererAnalysis.start
([force])Call any initialization (single run) step required to setup the renderer for the first execution, such as connecting to some API or COM, or importing the correct material libraries, etc.
Any calls that one may want to make after a rendering is complete.
If template options has not been set for this renderer, then gather all the default options for children and add to design.