elasticityproject.plots3d
Module Contents
Functions
|
Generates the surface plot based on the data generated by the DirectionalProperties class |
|
|
|
- elasticityproject.plots3d.mayaviplot(property, smoothness, auto_extent=True, axes_extent=4, labels=['x (GPa)', 'y (GPa)', 'z (GPa)'], offscreen=False, filename='PlottedImage.png', *args, **kwargs)[source]
Generates the surface plot based on the data generated by the DirectionalProperties class :param property: a instance of the object created by the DirectionalProperties class :type property: object :param smoothness: degree of smoothness of the generated surface :type smoothness: int :param auto_extent: flag to determine the axes extenxt will be generated automatically or via input :type auto_extent: bool, optional :param axes_extent: extent of the axes, auto extent will override this parameter :type axes_extent: int, optional :param labels: labels of each axis, [0] element is x, [1] element is y, [2] element is z :type labels: array of str, optional :param offscreen: flag to determine whether the graphics will be renderized in a GUI window or saved in a file :type offscreen: bool, optional :param filename: name of the generated file if offscren is true :type filename: str, optional
- Returns:
Example
———-
DirProp = DirectionalProperties(‘orthorhombic’, 26.47, 29.77, 21.71, 74.54, 29.76, 70.52, 23.63, 21.40, 30.71)
YoungModulus3DPlot(DirProp, smoothness=N,auto_extent=True)