Note
Go to the end to download the full example code.
Visualize Sphere#
import numpy as np
import pytransform3d.visualizer as pv
fig = pv.figure()
fig.plot_sphere(radius=0.5)
fig.plot_transform(A2B=np.eye(4))
if "__file__" in globals():
fig.show()
else:
fig.save_image("__open3d_rendered_image.jpg")
Total running time of the script: (0 minutes 0.911 seconds)