Hello micheus,
It happens somewhere when calling into wpc_ai and then into e3d__tri_quad.
I've attached a file with tkbd's test file and a .beam/.erl of that reproduces
the error, the setting "combine all paths" needs to be checked on:
svg_key_exists.zip
Also if it is useful, this is what i'm using to try to debug between the modules, I run it from erl command line and the vs and fs is drawn to a imagemagick vector file to make a png:
setup_fix_wpc_svg.zip
It happens somewhere when calling into wpc_ai and then into e3d__tri_quad.
I've attached a file with tkbd's test file and a .beam/.erl of that reproduces
the error, the setting "combine all paths" needs to be checked on:
svg_key_exists.zip
Code:
error: {key_exists,{120,103}}
stack trace: [{gb_trees,insert_1,4,[{file,"gb_trees.erl"},{line,319}]},
{gb_trees,insert_1,4,[{file,"gb_trees.erl"},{line,281}]},
{gb_trees,insert_1,4,[{file,"gb_trees.erl"},{line,281}]},
{gb_trees,insert,3,[{file,"gb_trees.erl"},{line,278}]},
{e3d__tri_quad,tridict1,2,
[{file,"e3d__tri_quad.erl"},{line,484}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
{e3d__tri_quad,cdt,3,[{file,"e3d__tri_quad.erl"},{line,432}]},
{e3d__tri_quad,quadrangulate_face_with_holes,3,
[{file,"e3d__tri_quad.erl"},{line,119}]},
{wpc_ai,pa2object,1,[{file,"wpc_ai.erl"},{line,574}]},
{lists,map,2,[{file,"lists.erl"},{line,1239}]},
{wpc_ai,polyareas_to_faces,1,[{file,"wpc_ai.erl"},{line,301}]},
{wpc_svg_path,'-process_islands/1-fun-0-',2,
[{file,"src/wpc_svg_path.erl"},{line,3671}]},
{lists,foldr,3,[{file,"lists.erl"},{line,1276}]},
{wpc_svg_path,try_import_svg_1,5,
[{file,"src/wpc_svg_path.erl"},{line,427}]},
{wpc_svg_path,try_import_svg,9,
[{file,"src/wpc_svg_path.erl"},{line,386}]},
{wpc_svg_path,make_svg,2,
[{file,"src/wpc_svg_path.erl"},{line,309}]},
{wpa,do_import,3,[{file,"wpa.erl"},{line,142}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,131}]},
{wings_file,'-import_filename_1/2-fun-0-',3,
[{file,"wings_file.erl"},{line,67}]},
{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,644}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,641}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1030}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]}]
Also if it is useful, this is what i'm using to try to debug between the modules, I run it from erl command line and the vs and fs is drawn to a imagemagick vector file to make a png:
setup_fix_wpc_svg.zip