Skip to content

Display edges lines for Mesh3d #4485

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

Closed
emmanuelle opened this issue Jan 14, 2020 · 8 comments
Closed

Display edges lines for Mesh3d #4485

emmanuelle opened this issue Jan 14, 2020 · 8 comments
Labels
feature something new

Comments

@emmanuelle
Copy link
Contributor

See https://community.plot.ly/t/show-edges-of-the-mesh-in-a-mesh3d-plot/33614, I don't know if the geometry of the edges is already computed and it would be a question of adding an edges or lines attribute to mesh3d, or if it's more complicated than that.

@emmanuelle emmanuelle added the feature something new label Jan 14, 2020
@archmoj
Copy link
Contributor

archmoj commented Jan 14, 2020

gl-mesh3d module kind of supports this:
wireframe

@archmoj
Copy link
Contributor

archmoj commented Jan 14, 2020

What should be the API for this?

@emmanuelle
Copy link
Contributor Author

Cute :-). Maybe an edge or line object? Is it possible with gl-mesh3d to visualize both the faces and the edges?

@archmoj
Copy link
Contributor

archmoj commented Jan 14, 2020

I simply passed lines instead of triangles in a quick prototype to make use of this part of gl-mesh3d code: https://github.com/gl-vis/gl-mesh3d/blob/master/mesh.js#L492-L510

I am not sure if this should be a new trace/mode with lineColor...

@archmoj
Copy link
Contributor

archmoj commented Jan 15, 2020

@archmoj
Copy link
Contributor

archmoj commented Jan 23, 2020

@emmanuelle just noticed this wonderful post at https://plot.ly/~empet/15416 by @empet which also includes a wireframe plot using scatter3d.
Thought we should mention this neat approach in reply to those community questions.

@archmoj
Copy link
Contributor

archmoj commented Feb 4, 2020

Here is a demo: http://requirebin.com/?gist=37a8df8ace4ecafa010f
Seems like an interesting feature to add.

@gvwilson
Copy link
Contributor

Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

No branches or pull requests

3 participants