Batch process Alembic(out) per csv file(in). Help.

   785   2   1
User Avatar
Member
2 posts
Joined: Oct. 2017
Online
Hello, I'm looking for help doing batch export of alembics. I am generating animated meshes based on point cloud data from a folder of .csv files.

I can successfully use a TOP network with a FilePattern node and an HDA Processor to successfully batch export stl and fbx files but am struggling to make the alembics.

Preferable out put would be named using the same name as the .csv file I'm using as an input. Fairly new to Houdini. Any pointers would be greatly appreciated.
User Avatar
Member
1737 posts
Joined: May 2006
Online
Not sure what your exact setup is, but here's the framework of what I'd setup.

Basically

  • get your csv(s) with a filepattern top
  • immediately create tops attributes for abcname and csvpath
  • inside sops use a table sop to load the csv, and an alembic rop to write the alembic, both using the tops attriubtes you just made
  • run the alembic rop with a top fetch.

Attachments:
tops_csv_to_abc.hip (124.4 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
2 posts
Joined: Oct. 2017
Online
Thanks so much for this. I actually managed to get it working late last night. Was more simple than I was anticipating. TOP is all new to me. I put the FilePattern straight into a ROPAlembic which referenced my SOP. FilePattern creates the `@filename` and `@directory` so I passed these into an exposed parameter on my SOP.

If Windows hadn't decided to update I'd have had 100+ .abcs this morning!
  • Quick Links