{"action":"created","issue":{"url":"https://api.github.com/repos/opensim-org/opensim-core/issues/710","labels_url":"https://api.github.com/repos/opensim-org/opensim-core/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/opensim-org/opensim-core/issues/710/comments","events_url":"https://api.github.com/repos/opensim-org/opensim-core/issues/710/events","html_url":"https://github.com/opensim-org/opensim-core/pull/710","id":117516691,"number":710,"title":"[WIP] Subclassing OpenSim classes in Python","user":{"login":"chrisdembia","id":846001,"avatar_url":"https://avatars.githubusercontent.com/u/846001?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdembia","html_url":"https://github.com/chrisdembia","followers_url":"https://api.github.com/users/chrisdembia/followers","following_url":"https://api.github.com/users/chrisdembia/following{/other_user}","gists_url":"https://api.github.com/users/chrisdembia/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdembia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdembia/subscriptions","organizations_url":"https://api.github.com/users/chrisdembia/orgs","repos_url":"https://api.github.com/users/chrisdembia/repos","events_url":"https://api.github.com/users/chrisdembia/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdembia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opensim-org/opensim-core/labels/Bindings%20(SWIG)","name":"Bindings (SWIG)","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/opensim-org/opensim-core/milestones/1","html_url":"https://github.com/opensim-org/opensim-core/milestones/OpenSim%204.0","labels_url":"https://api.github.com/repos/opensim-org/opensim-core/milestones/1/labels","id":725618,"number":1,"title":"OpenSim 4.0","description":"","creator":{"login":"jenhicks","id":4510959,"avatar_url":"https://avatars.githubusercontent.com/u/4510959?v=3","gravatar_id":"","url":"https://api.github.com/users/jenhicks","html_url":"https://github.com/jenhicks","followers_url":"https://api.github.com/users/jenhicks/followers","following_url":"https://api.github.com/users/jenhicks/following{/other_user}","gists_url":"https://api.github.com/users/jenhicks/gists{/gist_id}","starred_url":"https://api.github.com/users/jenhicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenhicks/subscriptions","organizations_url":"https://api.github.com/users/jenhicks/orgs","repos_url":"https://api.github.com/users/jenhicks/repos","events_url":"https://api.github.com/users/jenhicks/events{/privacy}","received_events_url":"https://api.github.com/users/jenhicks/received_events","type":"User","site_admin":false},"open_issues":111,"closed_issues":242,"state":"open","created_at":"2014-07-18T21:08:06Z","updated_at":"2015-11-24T22:51:06Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-11-18T05:35:59Z","updated_at":"2015-12-03T22:57:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opensim-org/opensim-core/pulls/710","html_url":"https://github.com/opensim-org/opensim-core/pull/710","diff_url":"https://github.com/opensim-org/opensim-core/pull/710.diff","patch_url":"https://github.com/opensim-org/opensim-core/pull/710.patch"},"body":"I reproduced something that @aymanhab did a few months ago: subclassing an OpenSim class in Python and using it with a tool. OpenSim can recognize the new class, etc. I think @aseth1 and @klshrinidhi have expressed interest in this.\r\n\r\nIf we want to be able to do this, there is still a lot to iron out. It'd be nice if we could register this type (`OpenSim::registerType()`), but I'm running into memory ownership issues there; perhaps @aymanhab would know how to address such memory issues."},"comment":{"url":"https://api.github.com/repos/opensim-org/opensim-core/issues/comments/161815836","html_url":"https://github.com/opensim-org/opensim-core/pull/710#issuecomment-161815836","issue_url":"https://api.github.com/repos/opensim-org/opensim-core/issues/710","id":161815836,"user":{"login":"chrisdembia","id":846001,"avatar_url":"https://avatars.githubusercontent.com/u/846001?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdembia","html_url":"https://github.com/chrisdembia","followers_url":"https://api.github.com/users/chrisdembia/followers","following_url":"https://api.github.com/users/chrisdembia/following{/other_user}","gists_url":"https://api.github.com/users/chrisdembia/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdembia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdembia/subscriptions","organizations_url":"https://api.github.com/users/chrisdembia/orgs","repos_url":"https://api.github.com/users/chrisdembia/repos","events_url":"https://api.github.com/users/chrisdembia/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdembia/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T22:57:02Z","updated_at":"2015-12-03T22:57:02Z","body":"@aymanhab , I updated this."}}