File size: 570 Bytes
ba246bb
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from mesh_model.mesh_analysis.quadmesh_analysis import QuadMeshTopoAnalysis
from view.mesh_plotter.mesh_plots import plot_dataset, plot_mesh, save_dataset_plot
from mesh_model.reader import read_dataset, read_gmsh, read_json

# dataset = read_dataset("../../training/dataset/results/bunny-3darts")
# #plot_dataset(dataset)
# save_dataset_plot(dataset, "Supplementary_plots/.png")
# print("File saved")
cmap = read_gmsh("../../mesh_files/imr3.msh") # ../../training/dataset/results/imr3_results/mesh_0.json
ma = QuadMeshTopoAnalysis(cmap)
plot_mesh(ma.mesh, scores=True)