{"action":"created","issue":{"url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/205","labels_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/205/comments","events_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/205/events","html_url":"https://github.com/helix-toolkit/helix-toolkit/issues/205","id":105881331,"number":205,"title":"ObjExporter appears to be broken","user":{"login":"bsee08","id":1036162,"avatar_url":"https://avatars.githubusercontent.com/u/1036162?v=3","gravatar_id":"","url":"https://api.github.com/users/bsee08","html_url":"https://github.com/bsee08","followers_url":"https://api.github.com/users/bsee08/followers","following_url":"https://api.github.com/users/bsee08/following{/other_user}","gists_url":"https://api.github.com/users/bsee08/gists{/gist_id}","starred_url":"https://api.github.com/users/bsee08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsee08/subscriptions","organizations_url":"https://api.github.com/users/bsee08/orgs","repos_url":"https://api.github.com/users/bsee08/repos","events_url":"https://api.github.com/users/bsee08/events{/privacy}","received_events_url":"https://api.github.com/users/bsee08/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/labels/unconfirmed%20bug","name":"unconfirmed bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/labels/WPF","name":"WPF","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-10T19:29:07Z","updated_at":"2016-01-06T06:16:01Z","closed_at":null,"body":"This is sample code I'm using to test ObjExporter. I get an exception from the stream that the path parameter is null.  Am I misunderstanding how to use the function?\r\n\r\n\tvar modelImporter = new ModelImporter();\r\n\tModel3DGroup modelGroup = new Model3DGroup();\r\n\tmodelGroup.Children.Add(modelImporter.Load(@\"C:\\Users\\bsee\\Downloads\\simpleExistingModel.obj\"));\r\n\r\n\tObjExporter exporter = new ObjExporter();\r\n\texporter.ExportNormals = true;\r\n\r\n\r\n\t//Todo: Why is this showing that the stream path is null?\r\n\tusing (Stream filestream = File.Create(@\"C:\\Users\\bsee\\Downloads\\exportedModel.obj\"))\r\n\t{\r\n\t\texporter.Export(modelGroup, filestream);\r\n\t}"},"comment":{"url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/comments/169243388","html_url":"https://github.com/helix-toolkit/helix-toolkit/issues/205#issuecomment-169243388","issue_url":"https://api.github.com/repos/helix-toolkit/helix-toolkit/issues/205","id":169243388,"user":{"login":"Preffer","id":4303296,"avatar_url":"https://avatars.githubusercontent.com/u/4303296?v=3","gravatar_id":"","url":"https://api.github.com/users/Preffer","html_url":"https://github.com/Preffer","followers_url":"https://api.github.com/users/Preffer/followers","following_url":"https://api.github.com/users/Preffer/following{/other_user}","gists_url":"https://api.github.com/users/Preffer/gists{/gist_id}","starred_url":"https://api.github.com/users/Preffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Preffer/subscriptions","organizations_url":"https://api.github.com/users/Preffer/orgs","repos_url":"https://api.github.com/users/Preffer/repos","events_url":"https://api.github.com/users/Preffer/events{/privacy}","received_events_url":"https://api.github.com/users/Preffer/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T06:16:01Z","updated_at":"2016-01-06T06:16:01Z","body":"I have update the patch that if it is a `FileStream`, now it is safe to get the filename, or else it will keep the old behavior."}}