solidipes_solid_mech_plugin.loaders.abaqus module
- class solidipes_solid_mech_plugin.loaders.abaqus.Abaqus(*args, **kwargs)[source]
Bases:
CodeSnippet- class DictViewer(data=None)
Bases:
Viewer- _abc_impl = <_abc._abc_data object>
- add(data_container)
Add data to the viewer.
- show()
Show the viewer.
- class PyvistaPlotter(data_container=None, add_kwargs={}, show_kwargs={}, **kwargs)
Bases:
ViewerViewer for pyvista meshes
- Parameters:
**kwargs – keyword arguments passed to the pyvista.Plotter constructor
- _abc_impl = <_abc._abc_data object>
- _update_path_list(data_container)
- add(data_container, **kwargs)
Add mesh to the viewer
- Parameters:
**kwargs – keyword arguments passed to the pyvista.Plotter.add_mesh method
- add_mesh(data_container: DataContainer, **kwargs)
Add mesh to the viewer
- Parameters:
**kwargs – keyword arguments passed to the pyvista.Plotter.add_mesh method
- add_points(data_container, **kwargs)
Add mesh as points to the viewer
- Parameters:
**kwargs – keyword arguments passed to the pyvista.Plotter.add_points method
- plotter
Pyvista plotter
- save(path, **kwargs)
Save the view to a file
- Parameters:
path – path to the file
**kwargs – keyword arguments passed to the pyvista.Plotter.screenshot method
- show(auto_close=False, **kwargs)
Show the viewer
- Parameters:
auto_close – whether to close the viewer after showing it
**kwargs – keyword arguments passed to the pyvista.Plotter.show method
- shown
keeps track of whether the plotter has already been shown
- _compatible_viewers: list[Type[Viewer]] = [<class 'solidipes_solid_mech_plugin.viewers.pyvista_plotter.PyvistaPlotter'>, <class 'solidipes_core_plugin.viewers.dictionary.DictViewer'>]
List of compatible Viewer classes. Doesn’t need to include Viewer classes already listed in parent classes.
- _is_mesh_loadable
- property mesh
- property meshes
- property parts
- property structure
- supported_mime_types = {'application/fem/abaqus': 'inp'}
List of supported mime types and extensions. Override in subclasses. The key is the mime type and the value is one or more file extensions (string or list of strings)
- property xml