{"action":"created","issue":{"url":"https://api.github.com/repos/pytrip/pytrip/issues/403","repository_url":"https://api.github.com/repos/pytrip/pytrip","labels_url":"https://api.github.com/repos/pytrip/pytrip/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/pytrip/pytrip/issues/403/comments","events_url":"https://api.github.com/repos/pytrip/pytrip/issues/403/events","html_url":"https://github.com/pytrip/pytrip/issues/403","id":268778437,"number":403,"title":"vdx files created by pytrip cannot be loaded by pytrip","user":{"login":"nbassler","id":7140398,"avatar_url":"https://avatars2.githubusercontent.com/u/7140398?v=4","gravatar_id":"","url":"https://api.github.com/users/nbassler","html_url":"https://github.com/nbassler","followers_url":"https://api.github.com/users/nbassler/followers","following_url":"https://api.github.com/users/nbassler/following{/other_user}","gists_url":"https://api.github.com/users/nbassler/gists{/gist_id}","starred_url":"https://api.github.com/users/nbassler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbassler/subscriptions","organizations_url":"https://api.github.com/users/nbassler/orgs","repos_url":"https://api.github.com/users/nbassler/repos","events_url":"https://api.github.com/users/nbassler/events{/privacy}","received_events_url":"https://api.github.com/users/nbassler/received_events","type":"User","site_admin":false},"labels":[{"id":393101155,"url":"https://api.github.com/repos/pytrip/pytrip/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-26T14:18:56Z","updated_at":"2017-10-26T14:30:21Z","closed_at":null,"author_association":"OWNER","body":"to reproduce:\r\n```\r\nimport pytrip as pt\r\nfrom pytrip.vdx import create_sphere\r\n\r\nctx = pt.CtxCube()\r\n\r\nctx.create_empty_cube(0, 501, 501, 501, 0.4, 0.4)\r\n\r\nvdx = pt.VdxCube(ctx)\r\n\r\nv0 = create_sphere(ctx, \"sph0\", [100, 100, 100], 10.2)\r\nv1 = create_sphere(ctx, \"sph1\", [100 - 8, 100 + 4, 100], 6.2)\r\nv2 = create_sphere(ctx, \"sph2\", [100 + 8, 100 + 6, 100], 5.0)\r\n\r\nvdx.add_voi(v0)\r\nvdx.add_voi(v1)\r\nvdx.add_voi(v2)\r\n\r\nctx.write(\"emely000.ctx\")\r\nvdx.write(\"emely000.vdx\")\r\n```\r\n\r\nthen run pytripgui to inspect resulting file. Loading .vdx fails with pytrip error:\r\n![image](https://user-images.githubusercontent.com/7140398/32058049-47ec609a-ba69-11e7-8cb7-a689645898f9.png)\r\n"},"comment":{"url":"https://api.github.com/repos/pytrip/pytrip/issues/comments/339685058","html_url":"https://github.com/pytrip/pytrip/issues/403#issuecomment-339685058","issue_url":"https://api.github.com/repos/pytrip/pytrip/issues/403","id":339685058,"user":{"login":"grzanka","id":7374733,"avatar_url":"https://avatars0.githubusercontent.com/u/7374733?v=4","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false},"created_at":"2017-10-26T14:30:21Z","updated_at":"2017-10-26T14:30:21Z","author_association":"CONTRIBUTOR","body":"@nbassler I agree "}}
{"actor":{"display_login":"grzanka"}}