{"id":16359551,"url":"https://github.com/vygr/python-pcb","last_synced_at":"2025-10-11T08:06:36.950Z","repository":{"id":24972563,"uuid":"28390822","full_name":"vygr/Python-PCB","owner":"vygr","description":"Python PCB autorouter","archived":false,"fork":false,"pushed_at":"2015-07-16T19:05:40.000Z","size":588,"stargazers_count":24,"open_issues_count":3,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T16:40:29.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vygr.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-23T09:57:33.000Z","updated_at":"2025-03-09T00:37:33.000Z","dependencies_parsed_at":"2022-07-12T07:17:03.376Z","dependency_job_id":null,"html_url":"https://github.com/vygr/Python-PCB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vygr%2FPython-PCB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vygr%2FPython-PCB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vygr%2FPython-PCB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vygr%2FPython-PCB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vygr","download_url":"https://codeload.github.com/vygr/Python-PCB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245044114,"owners_count":20551879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T02:08:43.772Z","updated_at":"2025-10-11T08:06:31.908Z","avatar_url":"https://github.com/vygr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Python-PCB\n==========\n\nPython PCB router and viewer.\n\nThere are two viewer apps, view.py requires aggDraw module to be installed, view_mpl.py\nrequires matplotlib module to be installed. The matplotlib viwer is much more heavyweight\nthan the former.\n\nExample command line would be:\n\npypy pcb.py --v 1 netlist.pcb | python view.py\n\nYou can drop the output to a file and view it as an animation with:\n\npypy pcb.py --v 1 netlist.pcb \u003e anim\npython view.py anim\n\n-h or --help for help on either app.\n\nFormat of .pcb input file or stdin is:\n\n[width, height, depth]\n[track_radius, via_radius, gap_width, [(terminal_radius, terminal_gap, (x, y, z), [(x, y), ...]), ...]...]\n\nYou can stop a netlist early by just putting:\n\n[]\n\nFor example:\n\n[width, height, depth]\n[track_radius, via_radius, track_gap, [(terminal_radius, terminal_gap, (x, y, z), [(x, y), ...]), ...]...]\n[track_radius, via_radius, track_gap, [(terminal_radius, terminal_gap, (x, y, z), [(x, y), ...]), ...]...]\n[]\n[track_radius, via_radius, track_gap, [(terminal_radius, terminal_gap, (x, y, z), [(x, y), ...]), ...]...]\n[track_radius, via_radius, track_gap, [(terminal_radius, terminal_gap, (x, y, z), [(x, y), ...]), ...]...]\n\nFormat of the view.py input is similar but has the track paths appended:\n\n[width, height, depth]\n[track_radius, via_radius, track_gap, [(terminal_radius, terminal_gap, (x, y, z), [(x, y), ...]), ...]...], [(x, y, z), ...]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvygr%2Fpython-pcb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvygr%2Fpython-pcb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvygr%2Fpython-pcb/lists"}