Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wireframe on/off #82

Open
haesleinhuepf opened this issue Aug 3, 2023 · 1 comment · May be fixed by #83
Open

Wireframe on/off #82

haesleinhuepf opened this issue Aug 3, 2023 · 1 comment · May be fixed by #83

Comments

@haesleinhuepf
Copy link
Owner

It would be cool to have a Tools menu entry for turning on/off the wireframe of the current surface layer.

What do you think @jo-mueller ?

@jo-mueller
Copy link
Collaborator

@haesleinhuepf good idea, shouldn't be that hard - the function could look something like this:

def toggle_wireframe(layer: "napari.layers.Surface", viewer: 'napari.Viewer') -> None:
  viewer.layers[layer.name].wireframe.visible = True
  return None

@jo-mueller jo-mueller linked a pull request Aug 4, 2023 that will close this issue
2 tasks
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 a pull request may close this issue.

2 participants