• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Design & Development v
1 2 3 4 5 … 11 Next »
SVG plugin additions

 
  • 0 Vote(s) - 0 Average
SVG plugin additions

edb
Offline

Member

Posts: 135
Threads: 16
Joined: Nov 2022
#23
05-07-2023, 07:50 PM (This post was last modified: 05-09-2023, 04:17 AM by edb.)
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

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
« Next Oldest | Next Newest »

Users browsing this thread: 6 Guest(s)



Messages In This Thread
SVG plugin additions - by edb - 11-30-2022, 06:56 PM
RE: SVG plugin additions [WIP] - by edb - 12-01-2022, 02:35 PM
RE: SVG plugin additions [WIP] - by micheus - 12-01-2022, 07:06 PM
RE: SVG plugin additions [WIP] - by edb - 12-02-2022, 02:09 PM
RE: SVG plugin additions [WIP] - by micheus - 12-02-2022, 02:47 PM
RE: SVG plugin additions [WIP] - by edb - 12-02-2022, 04:26 PM
RE: SVG plugin additions [WIP] - by edb - 12-06-2022, 05:43 PM
RE: SVG plugin additions [WIP] - by edb - 02-27-2023, 10:47 PM
RE: SVG plugin additions [WIP] - by micheus - 02-28-2023, 12:14 PM
RE: SVG plugin additions [WIP] - by edb - 02-28-2023, 11:58 PM
RE: SVG plugin additions [WIP] - by edb - 03-03-2023, 01:11 PM
RE: SVG plugin additions [WIP] - by edb - 03-09-2023, 01:11 PM
RE: SVG plugin additions [WIP] - by micheus - 03-09-2023, 05:55 PM
RE: SVG plugin additions [WIP] - by edb - 03-11-2023, 09:16 PM
RE: SVG plugin additions [WIP] - by tkbd - 03-15-2023, 09:28 AM
RE: SVG plugin additions [WIP] - by edb - 03-18-2023, 12:37 PM
RE: SVG plugin additions [WIP] - by tkbd - 03-23-2023, 09:15 AM
RE: SVG plugin additions [WIP] - by edb - 04-05-2023, 08:04 PM
RE: SVG plugin additions [WIP] - by tkbd - 04-26-2023, 09:18 PM
RE: SVG plugin additions [WIP] - by edb - 04-27-2023, 09:43 PM
RE: SVG plugin additions [WIP] - by edb - 05-07-2023, 01:21 PM
RE: SVG plugin additions [WIP] - by micheus - 05-07-2023, 06:48 PM
RE: SVG plugin additions [WIP] - by edb - 05-07-2023, 07:50 PM
RE: SVG plugin additions [WIP] - by edb - 05-08-2023, 02:52 PM
RE: SVG plugin additions [WIP] - by micheus - 05-08-2023, 05:03 PM
RE: SVG plugin additions [WIP] - by tkbd - 05-09-2023, 11:26 AM
RE: SVG plugin additions [WIP] - by edb - 05-09-2023, 03:50 PM
RE: SVG plugin additions [WIP] - by edb - 05-12-2023, 05:56 PM
RE: SVG plugin additions [WIP] - by edb - 05-28-2023, 08:39 PM
RE: SVG plugin additions - by edb - 10-19-2023, 09:44 PM
RE: SVG plugin additions - by edb - 04-12-2024, 10:12 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode