Hello. I need help. I need to round geometry size, position and rotation values.
Before:
Example of 3D geometry with non-rounded size:
X 200,134 cm
Y 200,321 cm
Z 200,432 cm
After:
Example of 3D geometry with rounded size:
X 200 cm
Y 200cm
Z 200 cm
or
x 200.1cm
Y 200.3 cm
Z 200.4cm
I need to round the size by controlling the number of decimals, using VEX or Python in Houdini.
When exporting in FBX, USD or ABC, 3D geometry in CAD/3D software appears with rounded size, position and rotation.
The script should work for all geometries of various sizes, position and rotation. Not just the example.