Backend namespace

inPy comes with two backends currently used to preview the structure that you are working on you can choose between Matplotlib (https://matplotlib.org/) which widely available but you might encounter performance issues and Mayavi (https://docs.enthought.com/mayavi/mayavi/) which features far better performance but you might have compatibility issues (if, for example did not work for me when using remote desktop in windows)

if the future, I would like to provide an “inp” and “APDL” backend choice so that the end user can generate structures both for Abaqus and Ansys

Backend.BackendPlot module

Backend.BackendPlot.Plot_Path(Lx, Ly, Lz, fig_axes_Tuple=None, tube_radius=None, **kwargs)[source]

if matplotlib is the backend, this function is just a wrapper for matplotlib’s plot in a 3d case

Backend.BackendPlot.Plot_surface(x, y, z, fig_axes_Tuple=None, **kwargs)[source]

if mayavi is the backend, the mlab.mesh function is used to plot the surface

Backend.BackendPlot.show()[source]