Wings 3D Development Forum
Export Wings files to OBJ from command line (because I have a lot of wings files) - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Interface & Usage (https://www.wings3d.com/forum/forumdisplay.php?fid=3)
+--- Thread: Export Wings files to OBJ from command line (because I have a lot of wings files) (/showthread.php?tid=1164)



Export Wings files to OBJ from command line (because I have a lot of wings files) - raisinsgmc - 04-29-2015

Hi! I want to export my wings 3d designs from a command line. I'm a game developer and I deal with 3D models in batches. At the moment my procedure involves opening wings, selecting file menu and exporting the file into an obj. It takes a lot of my time. I thought I could cut down that time by interfacing with Wings from a command line to export all the wings files inside a folder to objs. Is this possible?

TLDR; I want to be able to export all the wings files in a folder in 1 go through windows/linux command line. Is this possible?

Thanks!


RE: Export Wings files to OBJ from command line (because I have a lot of wings files) - dgud - 05-05-2015

There is a erlang-script called wings_convert I used in the wings src that does that.
I have not tested in a while though should work from mingw/msys or a linux shell, provided you have an erlang installation in your PATH and ERL_LIBS points to your directory below wings directory.

You should probably use build wings from github, which is how I have tested it.