MeshLabXML
MeshLabXML copied to clipboard
Poisson disc sampling in 3D mesh
Hi all, I am trying to using Poisson disc sampling in a 3D mesh (a file in .off format) My goal is to do Poisson disc sampling and save the file again in .off format. Can you help me how can I do that? import meshlabxml as mlx import os
meshlabserver_path = 'C:\Program Files\VCG\MeshLab' os.environ['PATH'] = meshlabserver_path + os.pathsep + os.environ['PATH']
out = mlx.FilterScript(file_out='avent.off', ml_version='2016.12')
mlx.sampling.poisson_disk('input.off', sample_num=10000)
out.run_script()
Hi, Were you able to resolve this issue? I'm trying to do the exact same thing. I think run_script() executes these commands and opens the output in meshlab as opposed to saving them into another file.