{"action":"created","issue":{"url":"https://api.github.com/repos/pointhi/kicad-footprint-generator/issues/4","repository_url":"https://api.github.com/repos/pointhi/kicad-footprint-generator","labels_url":"https://api.github.com/repos/pointhi/kicad-footprint-generator/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pointhi/kicad-footprint-generator/issues/4/comments","events_url":"https://api.github.com/repos/pointhi/kicad-footprint-generator/issues/4/events","html_url":"https://github.com/pointhi/kicad-footprint-generator/pull/4","id":141731673,"number":4,"title":"Point grid","user":{"login":"SchrodingersGat","id":10080325,"avatar_url":"https://avatars1.githubusercontent.com/u/10080325?v=4","gravatar_id":"","url":"https://api.github.com/users/SchrodingersGat","html_url":"https://github.com/SchrodingersGat","followers_url":"https://api.github.com/users/SchrodingersGat/followers","following_url":"https://api.github.com/users/SchrodingersGat/following{/other_user}","gists_url":"https://api.github.com/users/SchrodingersGat/gists{/gist_id}","starred_url":"https://api.github.com/users/SchrodingersGat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SchrodingersGat/subscriptions","organizations_url":"https://api.github.com/users/SchrodingersGat/orgs","repos_url":"https://api.github.com/users/SchrodingersGat/repos","events_url":"https://api.github.com/users/SchrodingersGat/events{/privacy}","received_events_url":"https://api.github.com/users/SchrodingersGat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-03-17T23:16:17Z","updated_at":"2018-03-11T11:18:22Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pointhi/kicad-footprint-generator/pulls/4","html_url":"https://github.com/pointhi/kicad-footprint-generator/pull/4","diff_url":"https://github.com/pointhi/kicad-footprint-generator/pull/4.diff","patch_url":"https://github.com/pointhi/kicad-footprint-generator/pull/4.patch"},"body":"One of requirements for the courtyard is that it falls on an 0.05mm grid. I've added a \"grid=\" keyword (optional) to point/line/polygoneline/rectline to force the points of the lines to fall on the grid.\n"},"comment":{"url":"https://api.github.com/repos/pointhi/kicad-footprint-generator/issues/comments/372107515","html_url":"https://github.com/pointhi/kicad-footprint-generator/pull/4#issuecomment-372107515","issue_url":"https://api.github.com/repos/pointhi/kicad-footprint-generator/issues/4","id":372107515,"user":{"login":"pointhi","id":1652144,"avatar_url":"https://avatars0.githubusercontent.com/u/1652144?v=4","gravatar_id":"","url":"https://api.github.com/users/pointhi","html_url":"https://github.com/pointhi","followers_url":"https://api.github.com/users/pointhi/followers","following_url":"https://api.github.com/users/pointhi/following{/other_user}","gists_url":"https://api.github.com/users/pointhi/gists{/gist_id}","starred_url":"https://api.github.com/users/pointhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointhi/subscriptions","organizations_url":"https://api.github.com/users/pointhi/orgs","repos_url":"https://api.github.com/users/pointhi/repos","events_url":"https://api.github.com/users/pointhi/events{/privacy}","received_events_url":"https://api.github.com/users/pointhi/received_events","type":"User","site_admin":false},"created_at":"2018-03-11T11:18:22Z","updated_at":"2018-03-11T11:18:22Z","author_association":"OWNER","body":"@SchrodingersGat\r\nI added a ```round_to``` method to the Point class to support such things like aligning to a grid (as long as no transformations are applied). Is this Pull Request still of relevance?\r\n\r\nhttps://kicad-footprint-generator.readthedocs.io/en/latest/KicadModTree.html#KicadModTree.Point.Point2D.round_to"}}
{"actor":{"display_login":"pointhi"}}