{"action":"created","comment":{"url":"https://api.github.com/repos/pydy/pydy/pulls/comments/35977612","id":35977612,"diff_hunk":"@@ -0,0 +1,16 @@\n+from sympy import Symbol\n+from pydy.bodies import Body\n+from pydy.joints import PinJoint\n+from pydy.joints_method import JointsMethod\n+\n+parent = Body('parent')\n+child = Body('child')\n+\n+gravity = Symbol('gravity')\n+child.add_force((0, child.get_mass() * gravity, 0), child.get_masscenter())\n+\n+pin_joint = PinJoint('pin_joint', parent, child, parent_point_pos=(1, 1, 1),\n+                     child_point_pos=(1, 1, 1))\n+\n+JM = JointsMethod([pin_joint], parent)\n+print JM.get_kanes()","path":"examples/Joints/Ingen/pinjoint.py","position":16,"original_position":16,"commit_id":"ccfa1e2d500ce53535f3d598bfa3f88e9647a4a6","original_commit_id":"ccfa1e2d500ce53535f3d598bfa3f88e9647a4a6","user":{"login":"moorepants","id":276007,"avatar_url":"https://avatars.githubusercontent.com/u/276007?v=3","gravatar_id":"","url":"https://api.github.com/users/moorepants","html_url":"https://github.com/moorepants","followers_url":"https://api.github.com/users/moorepants/followers","following_url":"https://api.github.com/users/moorepants/following{/other_user}","gists_url":"https://api.github.com/users/moorepants/gists{/gist_id}","starred_url":"https://api.github.com/users/moorepants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moorepants/subscriptions","organizations_url":"https://api.github.com/users/moorepants/orgs","repos_url":"https://api.github.com/users/moorepants/repos","events_url":"https://api.github.com/users/moorepants/events{/privacy}","received_events_url":"https://api.github.com/users/moorepants/received_events","type":"User","site_admin":false},"body":"Avoid \"get\" methods.","created_at":"2015-07-31T14:21:47Z","updated_at":"2015-07-31T14:21:47Z","html_url":"https://github.com/pydy/pydy/pull/258#discussion_r35977612","pull_request_url":"https://api.github.com/repos/pydy/pydy/pulls/258","_links":{"self":{"href":"https://api.github.com/repos/pydy/pydy/pulls/comments/35977612"},"html":{"href":"https://github.com/pydy/pydy/pull/258#discussion_r35977612"},"pull_request":{"href":"https://api.github.com/repos/pydy/pydy/pulls/258"}}},"pull_request":{"url":"https://api.github.com/repos/pydy/pydy/pulls/258","id":40723893,"html_url":"https://github.com/pydy/pydy/pull/258","diff_url":"https://github.com/pydy/pydy/pull/258.diff","patch_url":"https://github.com/pydy/pydy/pull/258.patch","issue_url":"https://api.github.com/repos/pydy/pydy/issues/258","number":258,"state":"open","locked":false,"title":"Examples for Joints","user":{"login":"sahilshekhawat","id":5890452,"avatar_url":"https://avatars.githubusercontent.com/u/5890452?v=3","gravatar_id":"","url":"https://api.github.com/users/sahilshekhawat","html_url":"https://github.com/sahilshekhawat","followers_url":"https://api.github.com/users/sahilshekhawat/followers","following_url":"https://api.github.com/users/sahilshekhawat/following{/other_user}","gists_url":"https://api.github.com/users/sahilshekhawat/gists{/gist_id}","starred_url":"https://api.github.com/users/sahilshekhawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahilshekhawat/subscriptions","organizations_url":"https://api.github.com/users/sahilshekhawat/orgs","repos_url":"https://api.github.com/users/sahilshekhawat/repos","events_url":"https://api.github.com/users/sahilshekhawat/events{/privacy}","received_events_url":"https://api.github.com/users/sahilshekhawat/received_events","type":"User","site_admin":false},"body":"Will include examples of creating system in two ways:\r\n1. by using Joints implemented in other PRs.\r\n2. by using current API to show how Joints will be implemented.\r\n\r\n- [ ] There are no merge conflicts.\r\n- [ ] A figure (preferrably SVG) has been added for the example.\r\n- [ ] The required versions of all dependencie have been noted. (For\r\n  notebooks, the [version information\r\n  extension](https://github.com/jrjohansson/version_information) is helpful\r\n  for this.)\r\n- [ ] A `run.py` file that executes the example is included.\r\n- [ ] All reviewer comments have been addressed.","created_at":"2015-07-23T22:05:45Z","updated_at":"2015-07-31T14:21:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41a4251ebed11e2d62b251f90d8acc5ad70525b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pydy/pydy/pulls/258/commits","review_comments_url":"https://api.github.com/repos/pydy/pydy/pulls/258/comments","review_comment_url":"https://api.github.com/repos/pydy/pydy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pydy/pydy/issues/258/comments","statuses_url":"https://api.github.com/repos/pydy/pydy/statuses/ccfa1e2d500ce53535f3d598bfa3f88e9647a4a6","head":{"label":"sahilshekhawat:joints_examples","ref":"joints_examples","sha":"ccfa1e2d500ce53535f3d598bfa3f88e9647a4a6","user":{"login":"sahilshekhawat","id":5890452,"avatar_url":"https://avatars.githubusercontent.com/u/5890452?v=3","gravatar_id":"","url":"https://api.github.com/users/sahilshekhawat","html_url":"https://github.com/sahilshekhawat","followers_url":"https://api.github.com/users/sahilshekhawat/followers","following_url":"https://api.github.com/users/sahilshekhawat/following{/other_user}","gists_url":"https://api.github.com/users/sahilshekhawat/gists{/gist_id}","starred_url":"https://api.github.com/users/sahilshekhawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahilshekhawat/subscriptions","organizations_url":"https://api.github.com/users/sahilshekhawat/orgs","repos_url":"https://api.github.com/users/sahilshekhawat/repos","events_url":"https://api.github.com/users/sahilshekhawat/events{/privacy}","received_events_url":"https://api.github.com/users/sahilshekhawat/received_events","type":"User","site_admin":false},"repo":{"id":30242917,"name":"pydy","full_name":"sahilshekhawat/pydy","owner":{"login":"sahilshekhawat","id":5890452,"avatar_url":"https://avatars.githubusercontent.com/u/5890452?v=3","gravatar_id":"","url":"https://api.github.com/users/sahilshekhawat","html_url":"https://github.com/sahilshekhawat","followers_url":"https://api.github.com/users/sahilshekhawat/followers","following_url":"https://api.github.com/users/sahilshekhawat/following{/other_user}","gists_url":"https://api.github.com/users/sahilshekhawat/gists{/gist_id}","starred_url":"https://api.github.com/users/sahilshekhawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahilshekhawat/subscriptions","organizations_url":"https://api.github.com/users/sahilshekhawat/orgs","repos_url":"https://api.github.com/users/sahilshekhawat/repos","events_url":"https://api.github.com/users/sahilshekhawat/events{/privacy}","received_events_url":"https://api.github.com/users/sahilshekhawat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sahilshekhawat/pydy","description":"Multibody dynamics tool kit.","fork":true,"url":"https://api.github.com/repos/sahilshekhawat/pydy","forks_url":"https://api.github.com/repos/sahilshekhawat/pydy/forks","keys_url":"https://api.github.com/repos/sahilshekhawat/pydy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sahilshekhawat/pydy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sahilshekhawat/pydy/teams","hooks_url":"https://api.github.com/repos/sahilshekhawat/pydy/hooks","issue_events_url":"https://api.github.com/repos/sahilshekhawat/pydy/issues/events{/number}","events_url":"https://api.github.com/repos/sahilshekhawat/pydy/events","assignees_url":"https://api.github.com/repos/sahilshekhawat/pydy/assignees{/user}","branches_url":"https://api.github.com/repos/sahilshekhawat/pydy/branches{/branch}","tags_url":"https://api.github.com/repos/sahilshekhawat/pydy/tags","blobs_url":"https://api.github.com/repos/sahilshekhawat/pydy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sahilshekhawat/pydy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sahilshekhawat/pydy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sahilshekhawat/pydy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sahilshekhawat/pydy/statuses/{sha}","languages_url":"https://api.github.com/repos/sahilshekhawat/pydy/languages","stargazers_url":"https://api.github.com/repos/sahilshekhawat/pydy/stargazers","contributors_url":"https://api.github.com/repos/sahilshekhawat/pydy/contributors","subscribers_url":"https://api.github.com/repos/sahilshekhawat/pydy/subscribers","subscription_url":"https://api.github.com/repos/sahilshekhawat/pydy/subscription","commits_url":"https://api.github.com/repos/sahilshekhawat/pydy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sahilshekhawat/pydy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sahilshekhawat/pydy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sahilshekhawat/pydy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sahilshekhawat/pydy/contents/{+path}","compare_url":"https://api.github.com/repos/sahilshekhawat/pydy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sahilshekhawat/pydy/merges","archive_url":"https://api.github.com/repos/sahilshekhawat/pydy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sahilshekhawat/pydy/downloads","issues_url":"https://api.github.com/repos/sahilshekhawat/pydy/issues{/number}","pulls_url":"https://api.github.com/repos/sahilshekhawat/pydy/pulls{/number}","milestones_url":"https://api.github.com/repos/sahilshekhawat/pydy/milestones{/number}","notifications_url":"https://api.github.com/repos/sahilshekhawat/pydy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sahilshekhawat/pydy/labels{/name}","releases_url":"https://api.github.com/repos/sahilshekhawat/pydy/releases{/id}","created_at":"2015-02-03T13:02:45Z","updated_at":"2015-05-04T13:12:40Z","pushed_at":"2015-07-31T12:04:36Z","git_url":"git://github.com/sahilshekhawat/pydy.git","ssh_url":"git@github.com:sahilshekhawat/pydy.git","clone_url":"https://github.com/sahilshekhawat/pydy.git","svn_url":"https://github.com/sahilshekhawat/pydy","homepage":"http://pydy.org","size":9556,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pydy:master","ref":"master","sha":"c133def808554a8c59c92518f0fb670223b2f357","user":{"login":"pydy","id":5125293,"avatar_url":"https://avatars.githubusercontent.com/u/5125293?v=3","gravatar_id":"","url":"https://api.github.com/users/pydy","html_url":"https://github.com/pydy","followers_url":"https://api.github.com/users/pydy/followers","following_url":"https://api.github.com/users/pydy/following{/other_user}","gists_url":"https://api.github.com/users/pydy/gists{/gist_id}","starred_url":"https://api.github.com/users/pydy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydy/subscriptions","organizations_url":"https://api.github.com/users/pydy/orgs","repos_url":"https://api.github.com/users/pydy/repos","events_url":"https://api.github.com/users/pydy/events{/privacy}","received_events_url":"https://api.github.com/users/pydy/received_events","type":"Organization","site_admin":false},"repo":{"id":12165060,"name":"pydy","full_name":"pydy/pydy","owner":{"login":"pydy","id":5125293,"avatar_url":"https://avatars.githubusercontent.com/u/5125293?v=3","gravatar_id":"","url":"https://api.github.com/users/pydy","html_url":"https://github.com/pydy","followers_url":"https://api.github.com/users/pydy/followers","following_url":"https://api.github.com/users/pydy/following{/other_user}","gists_url":"https://api.github.com/users/pydy/gists{/gist_id}","starred_url":"https://api.github.com/users/pydy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydy/subscriptions","organizations_url":"https://api.github.com/users/pydy/orgs","repos_url":"https://api.github.com/users/pydy/repos","events_url":"https://api.github.com/users/pydy/events{/privacy}","received_events_url":"https://api.github.com/users/pydy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pydy/pydy","description":"Multibody dynamics tool kit.","fork":false,"url":"https://api.github.com/repos/pydy/pydy","forks_url":"https://api.github.com/repos/pydy/pydy/forks","keys_url":"https://api.github.com/repos/pydy/pydy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pydy/pydy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pydy/pydy/teams","hooks_url":"https://api.github.com/repos/pydy/pydy/hooks","issue_events_url":"https://api.github.com/repos/pydy/pydy/issues/events{/number}","events_url":"https://api.github.com/repos/pydy/pydy/events","assignees_url":"https://api.github.com/repos/pydy/pydy/assignees{/user}","branches_url":"https://api.github.com/repos/pydy/pydy/branches{/branch}","tags_url":"https://api.github.com/repos/pydy/pydy/tags","blobs_url":"https://api.github.com/repos/pydy/pydy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pydy/pydy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pydy/pydy/git/refs{/sha}","trees_url":"https://api.github.com/repos/pydy/pydy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pydy/pydy/statuses/{sha}","languages_url":"https://api.github.com/repos/pydy/pydy/languages","stargazers_url":"https://api.github.com/repos/pydy/pydy/stargazers","contributors_url":"https://api.github.com/repos/pydy/pydy/contributors","subscribers_url":"https://api.github.com/repos/pydy/pydy/subscribers","subscription_url":"https://api.github.com/repos/pydy/pydy/subscription","commits_url":"https://api.github.com/repos/pydy/pydy/commits{/sha}","git_commits_url":"https://api.github.com/repos/pydy/pydy/git/commits{/sha}","comments_url":"https://api.github.com/repos/pydy/pydy/comments{/number}","issue_comment_url":"https://api.github.com/repos/pydy/pydy/issues/comments{/number}","contents_url":"https://api.github.com/repos/pydy/pydy/contents/{+path}","compare_url":"https://api.github.com/repos/pydy/pydy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pydy/pydy/merges","archive_url":"https://api.github.com/repos/pydy/pydy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pydy/pydy/downloads","issues_url":"https://api.github.com/repos/pydy/pydy/issues{/number}","pulls_url":"https://api.github.com/repos/pydy/pydy/pulls{/number}","milestones_url":"https://api.github.com/repos/pydy/pydy/milestones{/number}","notifications_url":"https://api.github.com/repos/pydy/pydy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pydy/pydy/labels{/name}","releases_url":"https://api.github.com/repos/pydy/pydy/releases{/id}","created_at":"2013-08-16T18:16:29Z","updated_at":"2015-07-14T07:34:20Z","pushed_at":"2015-07-31T12:04:37Z","git_url":"git://github.com/pydy/pydy.git","ssh_url":"git@github.com:pydy/pydy.git","clone_url":"https://github.com/pydy/pydy.git","svn_url":"https://github.com/pydy/pydy","homepage":"http://www.pydy.org","size":13639,"stargazers_count":32,"watchers_count":32,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":62,"forks":27,"open_issues":62,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pydy/pydy/pulls/258"},"html":{"href":"https://github.com/pydy/pydy/pull/258"},"issue":{"href":"https://api.github.com/repos/pydy/pydy/issues/258"},"comments":{"href":"https://api.github.com/repos/pydy/pydy/issues/258/comments"},"review_comments":{"href":"https://api.github.com/repos/pydy/pydy/pulls/258/comments"},"review_comment":{"href":"https://api.github.com/repos/pydy/pydy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pydy/pydy/pulls/258/commits"},"statuses":{"href":"https://api.github.com/repos/pydy/pydy/statuses/ccfa1e2d500ce53535f3d598bfa3f88e9647a4a6"}}}}