surface

marxs.visualization.x3d.surface(obj, display, *, scene)[source] [edit on github]

Plot a parametric surface.

The parameter boundaries are taken from the coo1 and coo2 in the display dictionary. The plotting routine is generic. It calls the parametric_surface() method of the object that is plotted; see there for a detailed description of parameters.

Parameters:
objmarxs.base.MarxsElement

The element that should be plotted.

displaydict of None

Dictionary with display settings.

scenemarxs.visualization.x3d.Scene object

A scene that this object is added to. If None, a new scene will be created.

Returns:
scenemarxs.visualization.x3d.Scene object

Scene with object added.