Simplification with modern MeshLab version
hummat opened this issue · comments
Matthias Humt commented
The 3_simplify.py
script doesn't run with modern MeshLab versions. The reason is a change in the filter definition. The name is now Simplification: Quadric Edge Collapse Decimation
and there is an additional parameter PlanarWeight
with default value 0.001. Here is the complete simplification.mlx
with those changes:
<!DOCTYPE FilterScript>
<FilterScript>
<filter name="Simplification: Quadric Edge Collapse Decimation">
<Param type="RichInt" value="5000" name="TargetFaceNum"/>
<Param type="RichFloat" value="0" name="TargetPerc"/>
<Param type="RichFloat" value="0.5" name="QualityThr"/>
<Param type="RichBool" value="false" name="PreserveBoundary"/>
<Param type="RichFloat" value="1" name="BoundaryWeight"/>
<Param type="RichBool" value="true" name="PreserveNormal"/>
<Param type="RichBool" value="false" name="PreserveTopology"/>
<Param type="RichBool" value="true" name="OptimalPlacement"/>
<Param type="RichBool" value="true" name="PlanarQuadric"/>
<Param type="RichFloat" value="0.001" name="PlanarWeight"/>
<Param type="RichBool" value="false" name="QualityWeight"/>
<Param type="RichBool" value="true" name="AutoClean"/>
<Param type="RichBool" value="false" name="Selected"/>
</filter>
</FilterScript>
Jeonghwan Kim commented
Using this along with pymeshlab worked for me!
David Stutz commented
Thanks for sharing, will highlight that in the README!