{"action":"created","issue":{"url":"https://api.github.com/repos/Traumflug/Visolate/issues/4","labels_url":"https://api.github.com/repos/Traumflug/Visolate/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Traumflug/Visolate/issues/4/comments","events_url":"https://api.github.com/repos/Traumflug/Visolate/issues/4/events","html_url":"https://github.com/Traumflug/Visolate/issues/4","id":9492815,"number":4,"title":"Does not support ground polygon","user":{"login":"joe9","id":1084520,"avatar_url":"https://avatars.githubusercontent.com/u/1084520?v=3","gravatar_id":"","url":"https://api.github.com/users/joe9","html_url":"https://github.com/joe9","followers_url":"https://api.github.com/users/joe9/followers","following_url":"https://api.github.com/users/joe9/following{/other_user}","gists_url":"https://api.github.com/users/joe9/gists{/gist_id}","starred_url":"https://api.github.com/users/joe9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joe9/subscriptions","organizations_url":"https://api.github.com/users/joe9/orgs","repos_url":"https://api.github.com/users/joe9/repos","events_url":"https://api.github.com/users/joe9/events{/privacy}","received_events_url":"https://api.github.com/users/joe9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2012-12-23T19:50:23Z","updated_at":"2015-09-27T14:30:29Z","closed_at":null,"body":"Hello,\r\n\r\nIt appears that Visolate fails with the below exception when there are any polygons in the pcb.\r\n\r\njava -jar /tmp/Visolate/releases/visolate-3.1.1.jar              \r\ngraphics device: :0.0\r\nlibGL error: failed to load driver: r600\r\nlibGL error: Try again with LIBGL_DEBUG=verbose for more details.\r\npixel format 8:8:8 24-bit depth\r\nWARNING: ignoring offset OFA0.0B0.0\r\nWARNING: ignoring image polarity IPPOS\r\nWARNING: ignoring layer polarity LPD\r\ncomputing inch coords...\r\nmaking nets...\r\n102 nets\r\nmaking half edge loops...\r\n66 loops\r\ncomputing inch coords...\r\nmaking nets...\r\n102 nets\r\nmaking half edge loops...\r\n70 loops\r\nComment at line 1:  start of page 2 for group 0 idx 0 \r\nComment at line 2:  Title: (unknown), top \r\nComment at line 3:  Creator: pcb 1.99z \r\nComment at line 4:  CreationDate: Sun 23 Dec 2012 07:41:20 PM GMT UTC \r\nComment at line 5:  For: joe \r\nComment at line 6:  Format: Gerber/RS-274X \r\nComment at line 7:  PCB-Dimensions (mm): 152.40 127.00 \r\nComment at line 8:  PCB-Coordinate-Origin: lower left \r\nlayer name: TOP\r\nException in thread \"AWT-EventQueue-0\" java.lang.UnsupportedOperationException: TBD polygon mode\r\n\tat visolate.simulator.Simulator.setPosition(Simulator.java:232)\r\n\tat visolate.parser.Parser.CoordinateDCode(Parser.java:351)\r\n\tat visolate.parser.Parser.DCode(Parser.java:316)\r\n\tat visolate.parser.Parser.Code(Parser.java:219)\r\n\tat visolate.parser.Parser.Input(Parser.java:98)\r\n\tat visolate.Visolate.load(Visolate.java:722)\r\n\tat visolate.Visolate.loadFile(Visolate.java:698)\r\n\tat visolate.Visolate$2.actionPerformed(Visolate.java:144)\r\n\tat javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)\r\n\tat javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)\r\n\tat javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)\r\n\tat javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)\r\n\tat javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)\r\n\tat java.awt.Component.processMouseEvent(Component.java:6505)\r\n\tat javax.swing.JComponent.processMouseEvent(JComponent.java:3321)\r\n\tat java.awt.Component.processEvent(Component.java:6270)\r\n\tat java.awt.Container.processEvent(Container.java:2229)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4861)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2287)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4687)\r\n\tat java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)\r\n\tat java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)\r\n\tat java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2273)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2719)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4687)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)\r\n\tat java.awt.EventQueue.access$200(EventQueue.java:103)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:682)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:680)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:696)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:694)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:693)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:91)\r\n\r\ntest files used:\r\n\r\ntest.sch: schematic file: http://codepad.org/7EfApPjh\r\ntest.pcb: pcb file: http://codepad.org/5JusexrR\r\ngerber file, output of the command:  pcb -x gerber --verbose --metric --gerberfile test_board test.pcb: test_board.top.gbr: http://codepad.org/XVquxoKx\r\n\r\nbtw, it works without the polygon in the pcb.\r\n\r\nJoe"},"comment":{"url":"https://api.github.com/repos/Traumflug/Visolate/issues/comments/143563023","html_url":"https://github.com/Traumflug/Visolate/issues/4#issuecomment-143563023","issue_url":"https://api.github.com/repos/Traumflug/Visolate/issues/4","id":143563023,"user":{"login":"Traumflug","id":318581,"avatar_url":"https://avatars.githubusercontent.com/u/318581?v=3","gravatar_id":"","url":"https://api.github.com/users/Traumflug","html_url":"https://github.com/Traumflug","followers_url":"https://api.github.com/users/Traumflug/followers","following_url":"https://api.github.com/users/Traumflug/following{/other_user}","gists_url":"https://api.github.com/users/Traumflug/gists{/gist_id}","starred_url":"https://api.github.com/users/Traumflug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Traumflug/subscriptions","organizations_url":"https://api.github.com/users/Traumflug/orgs","repos_url":"https://api.github.com/users/Traumflug/repos","events_url":"https://api.github.com/users/Traumflug/events{/privacy}","received_events_url":"https://api.github.com/users/Traumflug/received_events","type":"User","site_admin":false},"created_at":"2015-09-27T14:30:29Z","updated_at":"2015-09-27T14:30:29Z","body":"> Is there workaround using polygons?\r\n\r\nYes. Two of them:\r\n\r\n1. Change your design to not have polygons. When milling with Voronoi paths, polygons make not too much sense anyways. If you want to cover an area with copper, simply draw its outline with regular tracks, the Voronoi algorithm will make it one surface, then.\r\n\r\n2. Write the code which handles polygons."}}