Point cloud to Mesh/Surface/Grid to STL

141 Ansichten (letzte 30 Tage)
Isabella
Isabella am 24 Jan. 2012
Kommentiert: Zhaowei Liu am 12 Apr. 2024 um 10:45
I have a data set of (x,y,z) coordinates for several points that form a point cloud in the form of the bones in a human leg. I want to use nearest neighbor interpolation of these points in order to create a grid and eventually an stl file to export to solid works. Thanks

Akzeptierte Antwort

Caleb Williams
Caleb Williams am 10 Jul. 2017
Five years later, but may still be relevant...
Try using the "boundary" function. You can input a point cloud of (x,y,z) coordinates and it will return the solid formed by them. You can graph it using "trisurf."
Hope this helps!
  6 Kommentare
Ankit
Ankit am 8 Dez. 2022
Wow thats great!
Zhaowei Liu
Zhaowei Liu am 12 Apr. 2024 um 10:45
It still works in 2024!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (5)

Andrew
Andrew am 24 Jan. 2012
... it has lots of tools for creating meshes from various types of data.

KSSV
KSSV am 24 Jan. 2012
Check the following file in mathworks file exchange...It will convert the mesh to stl file, which you can export to other wares..
Sreenu
  1 Kommentar
Isabella
Isabella am 24 Jan. 2012
i need a way to convert the point cloud to a mesh. That is the step i am hung up on. There is also a function in the file exchange that converts surfaces to stl so i need to convert my point cloud to these forms first.

Melden Sie sich an, um zu kommentieren.


Walter Roberson
Walter Roberson am 24 Jan. 2012
I suggest you look in the FEX for John D'Errico's work on Alpha Shapes.
  2 Kommentare
Isabella
Isabella am 24 Jan. 2012
Could you post a link to the specific file you are referring to? Thank you
Walter Roberson
Walter Roberson am 24 Jan. 2012
Darn, I get confused sometimes about what John has released or not. He has spoken of his code in the past, but it looks like he has not put it on the FEX.

Melden Sie sich an, um zu kommentieren.


Anil Kamat
Anil Kamat am 22 Apr. 2021
Bearbeitet: Anil Kamat am 22 Apr. 2021
You can also do it using tri and trimesh function:
example:
DefoNodes--> x,y and z coordinates of each Node
tri = delaunay(DefoNodes(1,:),DefoNodes(2,:));
trimesh(tri, DefoNodes(1,:), DefoNodes(2,:), DefoNodes(3,:),'EdgeColor','k');

mars bim
mars bim am 21 Dez. 2021
Hi, Great writing! I have a question about using PointCab Suite. I read introduction of Point cloud to BIM on an article https://www.marsbim.com/blog/scan-to-bim-introduction-from-technology-to-the-bim-model/ and understand about PointCab Suite Revit. And I know that PointCab Suite is powerfull tool for point cloud modeling and easily manage .LAS files and covert it into .RCP format. But when to load that file in Revit, I received some issue on that process. Is there any other format to directly open point cloud files in to Revit? Thanks.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by