Wings 3D Development Forum
Bad export - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: Bad export (/showthread.php?tid=2918)



Bad export - nigec - 04-08-2020

I downloaded the Pearce 1931 model as lwo
http://www.dmi-3d.net/modelscar10.html
First thumbnail on that page
It imports into W3D no problem but fails totally to export as obj, Wings just freezes totally, I left it 10 minutes and it never recovered.
Exporting as 3ds, only a small section exports and you can not re import back into Wings (as 3ds)
This is the error:
Quote:GPU: NVIDIA Corporation | Quadro 600/PCIe/SSE2
Window: geom
Reason: function_clause

Stack trace:
[{wings,command_1,
[{'EXIT',{{badmatch,<Love-It,0,121,40,103,41,102,41,6,...>>},
[{e3d_tds,fold_chunks,3,[{file,"e3d_tds.erl"},{line,390}]},
{e3d_tds,trimesh,3,[{file,"e3d_tds.erl"},{line,184}]},
{e3d_tds,fold_chunks,3,[{file,[...]},{line,...}]},
{e3d_tds,block,3,[{file,...},{...}]},
{e3d_tds,fold_chunks,3,[{...}|...]},
{e3d_tds,editor,3,[...]},
{e3d_tds,fold_chunks,3,...},
{e3d_tds,import_2,...},
{e3d_tds,...},
{...}|...]}},
{st,{0,nil},
face,true,[],
{0,nil},
none,
{1,{default,[{...}|...],nil,...}},
[],undefined,true,1,none,...}],
[{file,"wings.erl"},{line,760}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,87}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,636}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1016}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,982}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,883}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,792}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,681}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]

dae fails to import into Sketchup


RE: Bad export - micheus - 04-09-2020

nigec, usually this behaviour has some relationship to the model topology.
I download the model and as it is a very densy mesh I just took a look at the edges length (Select->By->Edge Length).

There is a lot of very narrow faces in the back door's handle - 0.00005 wide only and 0.013 long. This very tiny number can bring problems to wings.

I can say you it's safe to use only four decimal digits values. So, after checked the small values has five decimal digits I just set the Export Scale on the OBJ exporter dialog to a value of 10.0.

Here is the result using Assimp:


That should fix any similar problem with you can have using third part objects that very detailed and small.


RE: Bad export - nigec - 04-10-2020

i was already exporting as scale 10 (exports are tiny in sketchup) but I have managed export it now
thanks I see what you mean about this model being rather dense in places, it'll export to Kerkythea perfectly fine