Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Crash on .stl import from VeriCAD
11-07-2013, 02:44 PM (This post was last modified: 11-07-2013 02:45 PM by rickyspero.)
Post: #1
Bug Crash on .stl import from VeriCAD
Hi folks--

I'm new to Wings. Great to see this project supporting the Mac.

I'm trying to import an .stl created by VeriCAD. I've had success loading these types of images into the online services like Shapeways, and into 3D printer software. But Wings fails on import and produces a crash.dump (below). Any help would be appreciated! Best,

--R

Dump written 2013-11-7_9-34
Version: 1.5.1
Window: geom
Reason: function_clause

Short stack trace:
[]

Long stack trace:
[{wings,command_1,
[{'EXIT',
{{badmatch,<<"\nendsolid\r\n">>},
[{wpc_stl,read_raw_triangles,1,[{file,"wpc_stl.erl"},{line,152}]},
{wpc_stl,read_raw_triangles,1,[{file,"wpc_stl.erl"},{line,153}]},
{wpc_stl,read_stl,1,[{file,"wpc_stl.erl"},{line,135}]},
{wpc_stl,import,1,[{file,"wpc_stl.erl"},{line,126}]},
{wpa,do_import,3,[{file,"wpa.erl"},{line,121}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,110}]},
{wings_file,'-import_filename_1/2-fun-0-',3,
[{file,"wings_file.erl"},{line,61}]},
{wings_develop,time_command,2,
[{file,"wings_develop.erl"},{line,81}]}]}},
{st,{0,nil},
face,true,[],
{0,nil},
none,
{1,
{default,
[{maps,[]},
{opengl,
[{ambient,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{diffuse,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{emission,{0.0,0.0,0.0,1.0}},
{shininess,0.0},
{specular,{0.0,0.0,0.0,1.0}},
{vertex_colors,set}]}],
nil,nil}},
[],undefined,true,1,none,none,
{0,{}},
{1,{wings_shape,{no_folder,[]},nil,nil}},
ignore,none,none,
{ignore,ignore},
{'EXIT',
{{badmatch,<<"\nendsolid\r\n">>},
[{wpc_stl,read_raw_triangles,1,
[{file,"wpc_stl.erl"},{line,152}]},
{wpc_stl,read_raw_triangles,1,
[{file,"wpc_stl.erl"},{line,153}]},
{wpc_stl,read_stl,1,[{file,"wpc_stl.erl"},{line,135}]},
{wpc_stl,import,1,[{file,"wpc_stl.erl"},{line,126}]},
{wpa,do_import,3,[{file,"wpa.erl"},{line,121}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,110}]},
{wings_file,'-import_filename_1/2-fun-0-',3,
[{file,"wings_file.erl"},{line,61}]},
{wings_develop,time_command,2,
[{file,"wings_develop.erl"},{line,81}]}]}},
{[],[]},
true,[]}],
[{file,"wings.erl"},{line,680}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,81}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,566}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,825}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,796}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,698}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,612}]},
{wings,init,1,[{file,"wings.erl"},{line,148}]}]
Reply
11-07-2013, 07:04 PM
Post: #2
RE: Crash on .stl import from VeriCAD
It seems the file exported has a header greater than that is expected, since it found a text instead of numbers for the triangles as the call to read_raw_triangles suggest us.

Is there some option when you are exporting that could ensure compatibility? If so, maybe you could try.

Anyway, is it possible to make available an small/simple file with this issue in order to try work on a compatibility/workaround for it in the future?
Reply
11-07-2013, 07:10 PM
Post: #3
RE: Crash on .stl import from VeriCAD
(11-07-2013 07:04 PM)micheus Wrote:  Anyway, is it possible to make available an small/simple file with this issue in order to try work on a compatibility/workaround for it in the future?

Sure -- I tried to attach the .stl (it's only 250Kb) but the forum rejected it. Where's the best place to send it?

Thanks!
--R
Reply
11-07-2013, 08:10 PM
Post: #4
RE: Crash on .stl import from VeriCAD
If you have a google account you can use your Drive they provide.
If you have a microsoft account you can use your SkyDrive they provide.
of you can try dropbox (2GB for free) Smile
Reply


Forum Jump:


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