Hi I'm trying to implement meshlabserver script in Houdini to process multiple pointcloud sequences with poisson reconstruction.
I got it working with this code, that read a ply file (created upstream with a filecache sop) and output a new ply file temp_out_$F.ply after applying a meshlab script.
Obviously the python sop passes to the next node the geo that receives form its input, which is the unprocessed -filecached- one. How can I clear the geometry and load the geo from the processed ply file (temp_out_$F.ply) inside the python sop?
thanks for any kind of help!
node = hou.pwd()
geo = node.geometry()
import os
os.system('C:/Programmi/VCG/MeshLab/meshlabserver -i C:/temp_in.ply -o C:/temp_out_$F.ply -m vc -s C:/poisson_sa_da_base.mlx -l C:/log.txt' )