This is my first time using the mesh3d and I had a quick question regarding the actual triangles involved in creating the figure. I am working on financial modeling and have a set of x,y,z coordinates in a text file and have created a surface. This part is fine, but I need to be able to see the coordinates of the triangles that are within the mesh. Any ideas? My code is below. Thank you very much for your help.
import plotly.graph_objects as go import numpy as np lines = open("data.txt", "r").readlines() x =  y =  z =  for line in lines: if "%" in line: z.append(float(line[:-2])) elif "." in line: x.append(float(line[:-1])) else: y.append(float(line[:-1])) fig = go.Figure(data=[go.Mesh3d(x=x, y=y, z=z, color='green', opacity=0.50)]) fig.show()