Hello,
I just learned from my co-worker that I need to remesh 934 objects with a crappy topology (scanned objects) for next week. Yay.
As there is no way I’m cleaning these objects one by one, I want to create a Zscript allowing me to import an object, do a dynamesh to clean holes and n-gones, a ZRemesher to have a nice quad mesh, then re-export it as an OBJ.
(Well, it will be a bit more complicated as I need to export a low-def, mid-def and high-def version of each object, but one thing at a time…)
I’m a bit familiar with scripting, but not with ZScript. I see perfectly what I need to do, except I can’t figure out how to loop through a folder’s content. All my OBJs are stored in subfolders, and I need to open them one at a time. Is there a way to fill a list with all the OBJs fullpaths and loop through it, given the top folder name ?
Thanks in advance !
(sorry for mistakes, I’m french)