plot_object¶
- marxs.visualization.x3d.plot_object(obj, display=None, *, scene=None, **kwargs)[source]¶
Plot any marxs object with using X3D as a backend.
This method will inspect the object that is passed in and select the correct plotting method for its shape. The object is added to the x3d scene specified in the
scene.Parameters¶
- obj
marxs.base.MarxsElement The element that should be plotted.
- displaydict of None
Dictionary with display settings. If this is
None,obj.displayis used. If that is alsoNonethen the objects is skipped.- scene
marxs.visualization.x3d.Sceneobject A scene that this object is added to. If
None, a new scene will be created.- kwargs
All other parameters will be passed on to the individual plotting method.
Returns¶
- scene
marxs.visualization.x3d.Sceneobject Scene with object added.
- obj