Wings 3D Development Forum
Multiple files importing/exporting - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Gripes & Grumbles (https://www.wings3d.com/forum/forumdisplay.php?fid=4)
+--- Thread: Multiple files importing/exporting (/showthread.php?tid=2910)



Multiple files importing/exporting - gap - 03-04-2020

Hi guys,

the other day I was editing the frames of an animated mesh. Just importing every single obj mesh into W3d and exporting it back, took to me about one hour for 100 frames.

I was wondering how difficult would be for the W3d developing team making Wings able to import multiple files at once? Currently, in the import interface, we can only select one file at a time.

Likewise, would it be possible exporting/saving automatically all the geometries currently open as separate files (maybe by taking geometry names as file names)?


RE: Multiple files importing/exporting - nigec - 03-04-2020

I made a tool to import mesh sequences into Thea render but it was C# not Erlang
But in theory you just need something that can loop through a list of contents of a folder usually looking for a suffix sequence and extension then a batch operation to import, do stuff and save, then next

W3D's merge options look promising, its very similar to how Thea could merge/replace models and materials

I'll take a look, but hopefully someone a bit more Wings/Erlang savvy will be along soon


RE: Multiple files importing/exporting - micheus - 05-26-2020

gap, that is not what you are looking for, but it can save some time if you have only meshes in your files.
You can select all of them in your file browser (like Windows Explorer) and then drag&drop them on the Wings3D workspace (Geometry window).

If they are Wings3D files then you will get a Merge dialog for each one (which you need to click in OK button). If they are other format (like .obj) they will be just imported to the workspace.
Of course if the object inside the files have all the same name you can get confused with Object Geometry showing dozen objects with the same name.

Just saying it's possible to load multiple files at once.