Elephant Repository

 From:  bemfarmer
9476.344 In reply to 9476.343 
From 2015, Dinos/Max Calculate volume from Stereolithograpy polygon triangles:
https://moi3d.com/forum/index.php?webtag=MOI&msg=7421.13
https://stackoverflow.com/questions/6518404/how-do-i-calculate-the-volume-of-an-object-stored-in-stl-files

Karsten 2017 Infonodes:
https://moi3d.com/forum/index.php?webtag=MOI&msg=7777.279

- Brian

Javascript has truncation functions. Maybe place a math node between Volume and Text, and use one of the Javascript truncate or round functions?
There is .toFixed(2)...StackOverflow has brief code to fix up .toFixed...
rounded_number = Math.round(number * 100) / 100 (from Geeks for Geeks)

To truncate an objectlist, I think there must be another node to do the truncation. An array type of node...?

Maybe Stream2Array? There is a "max" input...

EDITED: 18 Oct 2019 by BEMFARMER