I would like to apply the Uniform Mesh Resampling filter automatically to a set of meshes, each with different geometry. I obtained a .mlx script for this by saving the output from Filters:Show current filter script
. However, the parameters in the script seem to be set for the specific geometry of the mesh I used:
<filter name="Uniform Mesh Resampling">
<Param type="RichAbsPerc" value="1.1632" min="0" name="CellSize" max="232.648"/>
<Param type="RichAbsPerc" value="0.93059" min="-46.5296" name="Offset" max="46.5296"/>
<Param type="RichBool" value="true" name="mergeCloseVert"/>
<Param type="RichBool" value="false" name="discretize"/>
<Param type="RichBool" value="true" name="multisample"/>
<Param type="RichBool" value="true" name="absDist"/>
</filter>
What I would like is to set the Cell size to 0.5% and the Offset to 51%, and get Meshlab to figure min and max from the geometry of each of the meshes I'm processing. How could I do it?
Thanks in advance!