[Paraview] how to draw a mesh in preview

Neil Srinivasan neilsrini at gmail.com
Thu Feb 4 09:30:44 EST 2016


Hi I am new to Paraview

Can you help

I have data in a CSV spreadsheet. 


It contains the xyz point coordinates of a 3D shape (20,000+ nodes). 

The file also contains the triangulation coordinates in 3 separate columns for these nodes (40000 + triangulations). These create the faces of the mesh

I can work out how to plot the points, using 

Filter—Table to points. 


How do I plot the faces?
Do the 3 columns need to be turned into an array?


And how do I colour the faces or contour them by another value (called "bi" in the spreadsheet)



here is an example of the spreadsheet

nn = node number

the 3d coordinates of the points are x, y, z

and the faces of the mesh are specified by (XYZ)

I WISH TO PLOT Points (x, y, x) , draw faces (XYZ) colour by “bi"



in matlab

it would be


trisurf(Tri,X,Y,Z,C) 


where Tri = array(XYX)

X,Y,Z = (x, y, z)

c= "bi"





nn	x	y	z	X	Y	Z	uni	bi
0	39.527	28.202	160.219	3435	19658	2764	3.86942	0.74871
1	70.804	-2.966	157.578	3161	17204	9466	6.64361	0.78373
2	48.982	-25.674	109.022	18424	17467	16955	5.02491	1.0451
3	83.514	-9.096	120.988	13600	19721	2669	4.47977	0.9348
4	-16.04	-39.749	188.467	1564	10099	10091	1.90873	0.73286
5	74.526	-3.096	174.347	21598	19018	21205	8.4263	0.70594
6	54.93	-56.347	151.496	21283	11341	18399	7.53334	2.17128
7	56.936	-20.131	186.177	1171	2723	20833	7.16118	1.44875
8	-14.627	-47.1	162.185	51	15729	15865	2.13939	0.70887
9	38.207	-59.201	147.993	9331	5851	9106	5.83457	4.32971
10	50.645	-32.04	110.418	310	3513	9121	5.3741	1.14543





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160204/129d0d6e/attachment.html>


More information about the ParaView mailing list