Skip to content
Snippets Groups Projects
Commit ad086892 authored by Djalim Simaila's avatar Djalim Simaila
Browse files

fixed cross_sections not showing up

parent d3136a12
No related branches found
No related tags found
1 merge request!11fixed cross_sections not showing up
...@@ -231,10 +231,10 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): ...@@ -231,10 +231,10 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
graph_type = slot[1] graph_type = slot[1]
if graph_type == "Mesh3D": if graph_type == "Mesh3D":
current_slot.addWidget(render3D(obj,False).native) current_slot.addWidget(render3D(obj,False).native)
if graph_type == "CoupeX": if graph_type == "CoupeXZ":
current_slot.addWidget(cross_section(obj.get_x(),obj.get_z(),"Coupe X",False).native) current_slot.addWidget(cross_section(obj.get_x(),obj.get_z(),"Coupe XZ",False).native)
if graph_type == "CoupeY": if graph_type == "CoupeYZ":
current_slot.addWidget(cross_section(obj.get_y(),obj.get_z(),"Coupe Y",False).native) current_slot.addWidget(cross_section(obj.get_y(),obj.get_z(),"Coupe YZ",False).native)
if graph_type == "EvolutionRayon": if graph_type == "EvolutionRayon":
current_slot.addWidget(render2D(list(zip(discrete_data['Z moy (en mm)'],discrete_data['Rayon moyen (en mm)'])),"Evolution du rayon moyen",False).native) current_slot.addWidget(render2D(list(zip(discrete_data['Z moy (en mm)'],discrete_data['Rayon moyen (en mm)'])),"Evolution du rayon moyen",False).native)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment