Skip to content

Conversation

@prmukherj
Copy link
Collaborator

No description provided.

prmukherj and others added 22 commits June 21, 2024 12:29
Comment on lines +70 to +88
def plot_mesh(index, field_name, data):
raise RuntimeError("*****")
global mesh_data, active_window, overlay
if active_window is None:
return
if data is not None:
if index in mesh_data:
mesh_data[index].update({field_name: data})
else:
mesh_data[index] = {field_name: data}
if "vertices" in mesh_data[index] and "faces" in mesh_data[index]:
active_window.set_data(FieldDataType.Meshes, mesh_data)
graphics_windows_manager.refresh_windows(
session_id, [active_window_id], overlay=overlay
)
mesh_data = {}
overlay = True
else:
overlay = False
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prmukherj The complex logic here deserves some explanatory comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants