|
Convert obj to wrl from command line (wings_convert escript)
|
|
05-28-2017, 04:19 PM
Post: #1
|
|||
|
|||
|
Convert obj to wrl from command line (wings_convert escript)
Hi,
I am trying to use Wings 3D to convert from obj format to wrl (VRML) format on the command line. Searching has revealed some previous threads (one and two) that indicate that this should be possible using the wings_convert escript included with the Wings 3D source, however I haven't been able to get this to work. System: I'm running 64 bit Windows 10 Downloads: I've downloaded & installed the following software versions: Erlang/OTP 19.3 64-bit Wings 3D 2.1.5 64-bit stable release Wings 3D 2.1.5 source wings_convert is located under the src folder in the source download. I have tried running the script with the following command: Code: "C:\Program Files\erl8.3\bin\escript.exe" wings_convertAt first this was giving me the following error: Code: **** Error: Compiled wings files not foundThe WINGS_DIR can be set by changing line 14 in wings_convert or setting an environment variable, however I'm not sure what the correct directory is. Also, apparently only fwd slashes work in the path. Through some trial and error, setting line 14 to the below seems to resolve the error: Code: -define(WINGS_DIR, "C:/Program Files/wings3d_2.1.5/lib/wings-2.1.5").However, this then throws the following: Code: escript: exception error: bad argumentAny help for where to go from here would be greatly appreciated. I have not modified my PATH or set any other environmental variables, although I found some hints that I may need to set ERL_LIBS as well. In addition, the script is reporting that it only supports .ndo and .wings formats for input and output. Is this acurate, or is this only because I haven't got it working yet? I.e., can this actually be used to convert from obj to wrl? |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Convert obj to wrl from command line (wings_convert escript) - TimAyres - 05-28-2017 04:19 PM
RE: Convert obj to wrl from command line (wings_convert escript) - dgud - 05-29-2017, 02:04 PM
RE: Convert obj to wrl from command line (wings_convert escript) - TimAyres - 05-29-2017, 02:57 PM
RE: Convert obj to wrl from command line (wings_convert escript) - dgud - 05-30-2017, 05:37 AM
RE: Convert obj to wrl from command line (wings_convert escript) - TimAyres - 06-02-2017, 05:39 PM
RE: Convert obj to wrl from command line (wings_convert escript) - dgud - 06-05-2017, 08:51 AM
RE: Convert obj to wrl from command line (wings_convert escript) - TimAyres - 06-09-2017, 03:43 PM
|
User(s) browsing this thread: 1 Guest(s)



