Open arjung128 opened 2 years ago
I use normally something like this:
import meshcat
import meshcat.geometry as g
points = [List of 3d points]
color = 0xffffff
vis = meshcat.Visualizer()
l = g.Line(
geometry=g.PointsGeometry(position=np.array(points).astype(np.float32).T),
material=g.LineBasicMaterial(color=color)
)
vis.set_object(geometry=l)
Hi, is it possible to draw a line connecting a sequence of 3d points? Thanks!