LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XYZ array to intensisty map

Solved!
Go to solution

Here's how to use the original points to create the STL file. Seems trivially simple.

(and please don't use a greedy loop to waste 100% of a CPU core doing nothing until stop is pressed, see also)

 

 

altenbach_0-1759257557174.png

 

altenbach_0-1759257822269.png

 

 

Message 21 of 32
(283 Views)

Great Altenbach!
It works very well, thank you!

 

The last point: the process creates a closed surface (see image A), probably because in the last loops it creates triangulations (see image B and zoom B2).
Is it possible to try avoiding triangulation on this side, in order to open the surface?

Download All
0 Kudos
Message 22 of 32
(258 Views)

You can filter out any triangles that you don't want, of course. (In this case, you could filter any triangles where all three vertices have the same specific Z value.)

 

You posted in a pretty old version (2013). What is your actual LabVIEW version?

0 Kudos
Message 23 of 32
(253 Views)
Solution
Accepted by M_Ricci

Assuming your LabVIEW version has the conditional output tunnel, here's all you need to do. Try it!

(slightly simpler logic is possible, but harder to read)

 

altenbach_0-1759325503650.png

 

Message 24 of 32
(247 Views)

Perfect, thank you Altenbach for your huge support!

 

Max

0 Kudos
Message 25 of 32
(216 Views)

@altenbach wrote:

 

(slightly simpler logic is possible, but harder to read)


One alternative (checking it at least one is different)...

 

altenbach_0-1759346814420.png

 

Message 26 of 32
(194 Views)

On a side note, this entire method only works for a planar arrangement in x and y, i.e. if there are no multiple planes (e.g. a sphere or a donut, etc.). A more general solutions for points in 3D would involve more code (see here).

0 Kudos
Message 27 of 32
(167 Views)

Dear Altenbach,

I have seen d-dimensional Delaunay is not available in Labview, is there a method to work with 3D points in multiplanes like a sphere or a donut?

0 Kudos
Message 28 of 32
(92 Views)

@M_Ricci wrote:

Dear Altenbach,

I have seen d-dimensional Delaunay is not available in Labview, is there a method to work with 3D points in multiplanes like a sphere or a donut?


I am sure there is. You can look at the 2D LabVIEW code for some ideas (it is just a VI with exposed code!), then expand it to higher dimensions. I have not tried. Good luck!

0 Kudos
Message 29 of 32
(70 Views)

@M_Ricci wrote:

Dear Altenbach,

I have seen d-dimensional Delaunay is not available in Labview, is there a method to work with 3D points in multiplanes like a sphere or a donut?


it looks like there is a "hacky" 3d version...

https://forums.ni.com/t5/LabVIEW/Delaunay-triangulation-and-mesh-generation-in-3D/m-p/1307044#M53772...

 

at least,  VertArray from "create mesh.vi"  accepts XYZ choordinates

 

alexderjuengere_0-1759847223669.png

 

 

 

0 Kudos
Message 30 of 32
(43 Views)