[Therion] 3D export from ParaView to MeshLab - data with coordinates

2015-11-09 Thread Martin Sluka
An HTML attachment was scrubbed...
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: Sni?mek obrazovky 2015-11-01 v?7.52.00.png
Type: image/png
Size: 125756 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: Sni?mek obrazovky 2015-11-01 v?7.52.16.png
Type: image/png
Size: 78487 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: Sni?mek obrazovky 2015-11-01 v?7.48.49.png
Type: image/png
Size: 57568 bytes
Desc: not available
URL: 



[Therion] 3D export from ParaView to MeshLab - data with coordinates

2015-11-01 Thread Martin Sluka
It is solution of thickheaded man, not exactly I want to be. :)

Paraview:

1. Open VTK file exported from Loch
2. use Filter Calculator:
 (coordsX-XXX000)*iHat+(coordsY-000)*jHat+coordsZ*kHat 

 Replace XXX000 and 000 with your big part of X and Y coordinates

 Press Apply
3. Save data VTK - ASCII
4. In plain text editor:

Replace part (only numbers!!!):



with part:



5. Open in ParaView and Export Scene as .x3d

6. Open file in MeshLab

7. Filters -> Quality Measure and Computations -> Compute Geometric Measures

Result:

Mesh Bounding Box Size 3.968994 5.50 1.700012
Mesh Bounding Box Diag 6.992350 
Mesh Volume is 13.290228
Mesh Surface is 55.864479
Thin shell barycenter 939.219910 1057.403076 927.209839
Center of Mass is 939.140137 1057.342285 927.172058
Inertia Tensor is :
| 729.754761 -248.443680 -105.337669 |
| -248.443680 500.675079 -451.711975 |
| -105.337669 -451.711975 323.904358 |
Principal axes are :
| -0.276003 -0.636824 -0.719915 |
| -0.770395 -0.301299 0.561881 |
| 0.574729 -0.709700 0.407447 |
axis momenta are :
| -117.115318 710.396851 961.000488 |



-- next part --
An HTML attachment was scrubbed...
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: Sni?mek obrazovky 2015-11-01 v?7.52.00.png
Type: image/png
Size: 125756 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: Sni?mek obrazovky 2015-11-01 v?7.52.16.png
Type: image/png
Size: 78487 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: Sni?mek obrazovky 2015-11-01 v?7.48.49.png
Type: image/png
Size: 57568 bytes
Desc: not available
URL: