{"action":"created","issue":{"url":"https://api.github.com/repos/curtacircuitos/pcb-tools/issues/32","labels_url":"https://api.github.com/repos/curtacircuitos/pcb-tools/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/curtacircuitos/pcb-tools/issues/32/comments","events_url":"https://api.github.com/repos/curtacircuitos/pcb-tools/issues/32/events","html_url":"https://github.com/curtacircuitos/pcb-tools/issues/32","id":96525050,"number":32,"title":"holes in inner copper layer","user":{"login":"CreativeSoftware","id":8124627,"avatar_url":"https://avatars.githubusercontent.com/u/8124627?v=3","gravatar_id":"","url":"https://api.github.com/users/CreativeSoftware","html_url":"https://github.com/CreativeSoftware","followers_url":"https://api.github.com/users/CreativeSoftware/followers","following_url":"https://api.github.com/users/CreativeSoftware/following{/other_user}","gists_url":"https://api.github.com/users/CreativeSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/CreativeSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CreativeSoftware/subscriptions","organizations_url":"https://api.github.com/users/CreativeSoftware/orgs","repos_url":"https://api.github.com/users/CreativeSoftware/repos","events_url":"https://api.github.com/users/CreativeSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/CreativeSoftware/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-07-22T09:54:34Z","updated_at":"2015-09-13T15:20:23Z","closed_at":"2015-08-10T01:20:12Z","body":"When it has to handle internal holes in inner copper layers , pcb-tools uses lines instead of arcs. So the geometry becomes odd. Probably it is a problem with a gerber keyword"},"comment":{"url":"https://api.github.com/repos/curtacircuitos/pcb-tools/issues/comments/139886954","html_url":"https://github.com/curtacircuitos/pcb-tools/issues/32#issuecomment-139886954","issue_url":"https://api.github.com/repos/curtacircuitos/pcb-tools/issues/32","id":139886954,"user":{"login":"hamiltonkibbe","id":1652994,"avatar_url":"https://avatars.githubusercontent.com/u/1652994?v=3","gravatar_id":"","url":"https://api.github.com/users/hamiltonkibbe","html_url":"https://github.com/hamiltonkibbe","followers_url":"https://api.github.com/users/hamiltonkibbe/followers","following_url":"https://api.github.com/users/hamiltonkibbe/following{/other_user}","gists_url":"https://api.github.com/users/hamiltonkibbe/gists{/gist_id}","starred_url":"https://api.github.com/users/hamiltonkibbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamiltonkibbe/subscriptions","organizations_url":"https://api.github.com/users/hamiltonkibbe/orgs","repos_url":"https://api.github.com/users/hamiltonkibbe/repos","events_url":"https://api.github.com/users/hamiltonkibbe/events{/privacy}","received_events_url":"https://api.github.com/users/hamiltonkibbe/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T15:20:23Z","updated_at":"2015-09-13T15:20:23Z","body":"Can you try with the current version of master? A bunch of changes got merged in that affect rendering.  The code to generate that image would be nearly identical to the cairo_examply.py script in the examples folder. Something like this should work:\r\n\r\n    from gerber import read\r\n    from gerber.render import GerberCairoContext\r\n    ctx = GerberCairoContext()\r\n    layer = read('LA1.gbx')\r\n    layer.render(ctx)\r\n    ctx.dump('LA1.png')\r\n"}}