Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
batch importer
09-08-2018, 04:12 PM
Post: #1
batch importer
I am trying to figure out how to batch import multiple obj and collada files when wings starts up.
I'm new to erlang, and taken a look at the code in: e3d_obj.erl, wings_console.erl, wings_start.erl, wpa.erl, wpc_collada.erl, and wings_plugin.erl.

So far i have this code, which loads my obj, but then fails to update the view or show it in the Wings UI. What am i missing?

Code:
{ok, E3DFile} = e3d_obj:import("/home/username/test.obj").
St0 = wpa:get_state().
wings_import:import(E3DFile, St0).

https://github.com/dgud/wings/issues/298
Reply


Messages In This Thread
batch importer - hartsantler - 09-08-2018 04:12 PM
RE: batch importer - micheus - 09-08-2018, 08:31 PM
RE: batch importer - hartsantler - 09-08-2018, 09:00 PM
RE: batch importer - micheus - 09-08-2018, 09:12 PM
RE: batch importer - hartsantler - 09-08-2018, 09:53 PM
RE: batch importer - micheus - 09-08-2018, 10:58 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)