def clear_edgelabels(self): set_objects_show_names(objects=self.edge_objects, show=False)
def draw_edgelabels(self): set_objects_show_names(objects=self.edge_objects, show=True)
def draw_vertexlabels(self): set_objects_show_names(objects=self.vertex_objects, show=True)
def clear_vertexlabels(self): set_objects_show_names(objects=self.vertex_objects, show=False)
def draw_facelabels(self, text=None, color=None): set_objects_show_names(objects=self.face_objects, show=True)
def clear_facelabels(self): set_objects_show_names(objects=self.face_objects, show=False)
pos=[0, 0, 0], text='text', layer='Collection 2', color=[1, 0, 0]) xdraw_points(points=points) xdraw_lines(lines=lines, layer='Collection 2') xdraw_cylinders(cylinders=cyls, layer='Collection 2') xdraw_spheres(spheres=spheres) xdraw_cubes(cubes=cubes, layer='Collection 2') xdraw_texts(texts=texts, layer='Collection 2') draw_plane(Lx=2, Ly=1, dx=0.5, dy=0.5, name='plane', layer=None, color=[1, 0, 1]) vertices = [[-1, 0, 1], [-2, 0, 2], [-2, 1, 1], [-1, 1, 0]] faces = [[0, 1, 2], [2, 3, 0]] mesh = xdraw_mesh(name='mesh', vertices=vertices, faces=faces, layer='Collection 2', color=[1, 0, 1]) objects = xdraw_pointcloud(points=points) set_objects_show_names(objects=objects, show=True)