mesh decimate pyvista code example
Example 1: mesh decimate pyvista
surf = pv.PolyData(vertices, faces)
Example 2: mesh decimate pyvista
target_reduction = 0.7
pro_decimated = mesh.decimate_pro(target_reduction, preserve_topology=True)
pro_decimated.plot(cpos=cpos, **dargs)