Skip to content

How to generate mesh from point coordinates or Points #784

Answered by marcomusy
DRLing2021 asked this question in Q&A
Discussion options

You must be logged in to vote

In principle you can also create a Mesh object from 3D coordinates with eg:

from vedo import *
pts = np.random.randn(100,3)
msh = Mesh(Points(pts), c='black').point_size(10)
show(msh, axes=1)

what are the method which you need from the Mesh class? In theory there should be none..
Hope this helps!

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by marcomusy
Comment options

You must be logged in to vote
4 replies
@DRLing2021
Comment options

@marcomusy
Comment options

@DRLing2021
Comment options

@marcomusy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants