{"action":"created","issue":{"url":"https://api.github.com/repos/OpenGeoVis/PVGeo/issues/10","repository_url":"https://api.github.com/repos/OpenGeoVis/PVGeo","labels_url":"https://api.github.com/repos/OpenGeoVis/PVGeo/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/OpenGeoVis/PVGeo/issues/10/comments","events_url":"https://api.github.com/repos/OpenGeoVis/PVGeo/issues/10/events","html_url":"https://github.com/OpenGeoVis/PVGeo/pull/10","id":336872249,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MjIxNTgz","number":10,"title":"Feat/ws3d reader","user":{"login":"banesullivan","id":22067021,"node_id":"MDQ6VXNlcjIyMDY3MDIx","avatar_url":"https://avatars2.githubusercontent.com/u/22067021?v=4","gravatar_id":"","url":"https://api.github.com/users/banesullivan","html_url":"https://github.com/banesullivan","followers_url":"https://api.github.com/users/banesullivan/followers","following_url":"https://api.github.com/users/banesullivan/following{/other_user}","gists_url":"https://api.github.com/users/banesullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/banesullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banesullivan/subscriptions","organizations_url":"https://api.github.com/users/banesullivan/orgs","repos_url":"https://api.github.com/users/banesullivan/repos","events_url":"https://api.github.com/users/banesullivan/events{/privacy}","received_events_url":"https://api.github.com/users/banesullivan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"grosenkj","id":6052367,"node_id":"MDQ6VXNlcjYwNTIzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/6052367?v=4","gravatar_id":"","url":"https://api.github.com/users/grosenkj","html_url":"https://github.com/grosenkj","followers_url":"https://api.github.com/users/grosenkj/followers","following_url":"https://api.github.com/users/grosenkj/following{/other_user}","gists_url":"https://api.github.com/users/grosenkj/gists{/gist_id}","starred_url":"https://api.github.com/users/grosenkj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosenkj/subscriptions","organizations_url":"https://api.github.com/users/grosenkj/orgs","repos_url":"https://api.github.com/users/grosenkj/repos","events_url":"https://api.github.com/users/grosenkj/events{/privacy}","received_events_url":"https://api.github.com/users/grosenkj/received_events","type":"User","site_admin":false},"assignees":[{"login":"grosenkj","id":6052367,"node_id":"MDQ6VXNlcjYwNTIzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/6052367?v=4","gravatar_id":"","url":"https://api.github.com/users/grosenkj","html_url":"https://github.com/grosenkj","followers_url":"https://api.github.com/users/grosenkj/followers","following_url":"https://api.github.com/users/grosenkj/following{/other_user}","gists_url":"https://api.github.com/users/grosenkj/gists{/gist_id}","starred_url":"https://api.github.com/users/grosenkj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosenkj/subscriptions","organizations_url":"https://api.github.com/users/grosenkj/orgs","repos_url":"https://api.github.com/users/grosenkj/repos","events_url":"https://api.github.com/users/grosenkj/events{/privacy}","received_events_url":"https://api.github.com/users/grosenkj/received_events","type":"User","site_admin":false},{"login":"banesullivan","id":22067021,"node_id":"MDQ6VXNlcjIyMDY3MDIx","avatar_url":"https://avatars2.githubusercontent.com/u/22067021?v=4","gravatar_id":"","url":"https://api.github.com/users/banesullivan","html_url":"https://github.com/banesullivan","followers_url":"https://api.github.com/users/banesullivan/followers","following_url":"https://api.github.com/users/banesullivan/following{/other_user}","gists_url":"https://api.github.com/users/banesullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/banesullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banesullivan/subscriptions","organizations_url":"https://api.github.com/users/banesullivan/orgs","repos_url":"https://api.github.com/users/banesullivan/repos","events_url":"https://api.github.com/users/banesullivan/events{/privacy}","received_events_url":"https://api.github.com/users/banesullivan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-06-29T05:56:07Z","updated_at":"2018-07-08T00:09:34Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/OpenGeoVis/PVGeo/pulls/10","html_url":"https://github.com/OpenGeoVis/PVGeo/pull/10","diff_url":"https://github.com/OpenGeoVis/PVGeo/pull/10.diff","patch_url":"https://github.com/OpenGeoVis/PVGeo/pull/10.patch"},"body":"I have reimplemented the ws3D reader in the new `VTKAlgorithmBase` format and wrapped it for use in ParaView's GUI.\r\n\r\n@grosenkj, this is ready for testing! Do you have a sample file? If so, could you run the following script in a standard Python environment to test the reader? Also, I left some `TODO` notes in `plugins/ws3d.py` for you as I am unfamiliar with this file type; would you mind taking a look?\r\n\r\n\r\n```py\r\nimport PVGeo\r\n\r\nfilename = 'model.ws3d' # TODO: an actual model file for testing\r\n\r\nwsreader = PVGeo.ws3d.wsMesh3DReader()\r\nwsreader.AddFileName(filename)\r\n\r\n# Edit Parameters as needed:\r\nwsreader.SetX0(33.33)\r\nwsreader.SetAngle(25.0)\r\nwsreader.SetOrigin(12.0, 6.5, 90.0)\r\n\r\n# Perfrom the read:\r\nwsreader.Update()\r\n\r\n# Grab the output `vtkStructuredGrid` and test\r\ngrid = wsreader.GetOutputDataObject(0)\r\nassert(grid.GetNumberOfCells() == numCells) # TODO: numCells\r\n# Or implement other means of ensuring the grid was constructed and passed out correctly\r\n\r\n```\r\n\r\nIf you would also like to test this in ParaView, you can download a nightly build of ParaView from their website and load the `plugins/ws3d.py` file through the Plugin Manager in ParaView."},"comment":{"url":"https://api.github.com/repos/OpenGeoVis/PVGeo/issues/comments/403251299","html_url":"https://github.com/OpenGeoVis/PVGeo/pull/10#issuecomment-403251299","issue_url":"https://api.github.com/repos/OpenGeoVis/PVGeo/issues/10","id":403251299,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzI1MTI5OQ==","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"created_at":"2018-07-08T00:09:33Z","updated_at":"2018-07-08T00:09:33Z","author_association":"NONE","body":"\n![Codacy](https://app.codacy.com/assets/images/favicon.png) Here is an overview of what got changed by this pull request:\n\n\n```diff\n\nIssues\n======\n- Added 22\n           \n```\n\n\nSee the complete overview on [Codacy](https://app.codacy.com/app/banesullivan/PVGeo/pullRequest?prid=1842461&bid=7846702)\n        "}}
{"actor":{"display_login":"codacy-bot"}}