Wings 3D Development Forum
[fixed] .eps / .svg export - Printable Version

+- Wings 3D Development Forum (http://www.wings3d.com/forum)
+-- Forum: Wings 3D (/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (/forumdisplay.php?fid=12)
+--- Thread: [fixed] .eps / .svg export (/showthread.php?tid=2868)



[fixed] .eps / .svg export - Hank - 12-09-2019 04:51 PM

hello,

when exporting file to .eps / .svg get:

wings-2.2.4
Reading preferences from: /home/marcone/.config/Wings3D/Preferences.txt
OpenCL not available: {opencl_failed_previously,
"/home/marcone/.cache/Wings3D/opencl_tmp.txt"}
Could not initialize OpenCL: env lighting limited
Import: "//home/marcone/Desktop/zawias i daszek.dae"
wings_wm:743: Grabbed focus lost: {wx_ref,562,wxGLCanvas,[]} geom
wings_wm:743: Grabbed focus lost: {wx_ref,562,wxGLCanvas,[]} geom
Removed 24 isolated vertices
Start
Exporter crashed: badarg

[{io,format,
[<0.83.0>,"Reading object ~B of ~B \"~s\"...",
[1,3,[107,261,116,32,111,119,97,114,99|...]]],
[]},
{wpc_hlines,'-do_export/3-fun-9-',14,[{file,"wpc_hlines.erl"},{line,576}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
{wpc_hlines,do_export,3,[{file,"wpc_hlines.erl"},{line,566}]},
{wings_export,export,4,[{file,"wings_export.erl"},{line,40}]},
{wings_file,'-export_filename_1/2-fun-0-',3,
[{file,"wings_file.erl"},{line,97}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,87}]},
{wings_plugin,command,3,[{file,"wings_plugin.erl"},{line,147}]},
{wings,raw_command_1,3,[{file,"wings.erl"},{line,631}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,628}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,985}]},
{wings_wm,send_event,2,[{file,[...]},{line,...}]},
{wings_wm,do_dispatch,2,[{file,...},{...}]},
{wings_wm,dispatch_event,1,[{...}|...]},
{wings_wm,get_and_dispatch,0,[...]},
{wings,init_part2,2,...},
{proc_lib,init_p_do_apply,...}]

it's not very common, but already get it once or twice.
BTW. I love this plugin.
It helps with easy 3D -> 2D conversion, so all technical drawing are easy to achieve,


BR, Hank


RE: .eps / .svg export - Hank - 12-09-2019 07:01 PM

you will not believe me, but this issue is related with using diacritical marks
Whenever object has name including the mark, then it will generate the error.
If you want, I can share with file including that sample.

BR, Hank


RE: .eps / .svg export - micheus - 12-09-2019 07:59 PM

Hank, thanks for the info.
Please take a look if this fixed the issue: wpc_hlines.beam (use the option File->Install Plug-in or Patch to update it)


RE: .eps / .svg export - Hank - 12-10-2019 06:31 PM

(12-09-2019 07:59 PM)micheus Wrote:  Hank, thanks for the info.
Please take a look if this fixed the issue: wpc_hlines.beam (use the option File->Install Plug-in or Patch to update it)

yes, now is OK
Thank you for fixing.

BR, Hank