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 27
(187 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 27
(162 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 27
(157 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 27
(151 Views)

Perfect, thank you Altenbach for your huge support!

 

Max

0 Kudos
Message 25 of 27
(120 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 27
(98 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 27
(71 Views)