{"action":"created","issue":{"url":"https://api.github.com/repos/greenmoss/PyWavefront/issues/16","repository_url":"https://api.github.com/repos/greenmoss/PyWavefront","labels_url":"https://api.github.com/repos/greenmoss/PyWavefront/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/greenmoss/PyWavefront/issues/16/comments","events_url":"https://api.github.com/repos/greenmoss/PyWavefront/issues/16/events","html_url":"https://github.com/greenmoss/PyWavefront/issues/16","id":247948584,"number":16,"title":"import .obj without material file","user":{"login":"muha321","id":17256924,"avatar_url":"https://avatars1.githubusercontent.com/u/17256924?v=4","gravatar_id":"","url":"https://api.github.com/users/muha321","html_url":"https://github.com/muha321","followers_url":"https://api.github.com/users/muha321/followers","following_url":"https://api.github.com/users/muha321/following{/other_user}","gists_url":"https://api.github.com/users/muha321/gists{/gist_id}","starred_url":"https://api.github.com/users/muha321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muha321/subscriptions","organizations_url":"https://api.github.com/users/muha321/orgs","repos_url":"https://api.github.com/users/muha321/repos","events_url":"https://api.github.com/users/muha321/events{/privacy}","received_events_url":"https://api.github.com/users/muha321/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-08-04T09:15:37Z","updated_at":"2018-02-07T02:39:38Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am trying to run a simple example looking like this:\r\n\r\nimport pywavefront\r\nmesh = pywavefront.Wavefront('path_to_obj/test.obj')\r\n  \r\nRunning this I get the following error that I'm not able to solve:\r\n\r\n  File \"/Library/Python/2.7/site-packages/pywavefront/__init__.py\", line 53, in __init__\r\n    ObjParser(self, self.file_name)\r\n  File \"/Library/Python/2.7/site-packages/pywavefront/__init__.py\", line 75, in __init__\r\n    self.read_file(file_name)\r\n  File \"/Library/Python/2.7/site-packages/pywavefront/parser.py\", line 44, in read_file\r\n    self.parse(line, dir=os.path.dirname(file_name))\r\n  File \"/Library/Python/2.7/site-packages/pywavefront/parser.py\", line 67, in parse\r\n    parse_function(args)\r\n  File \"/Library/Python/2.7/site-packages/pywavefront/__init__.py\", line 120, in parse_f\r\n    self.material = material.Material()\r\nTypeError: __init__() takes exactly 2 arguments (1 given)\r\n\r\nIs there a way to load .obj files without a material file?"},"comment":{"url":"https://api.github.com/repos/greenmoss/PyWavefront/issues/comments/363637449","html_url":"https://github.com/greenmoss/PyWavefront/issues/16#issuecomment-363637449","issue_url":"https://api.github.com/repos/greenmoss/PyWavefront/issues/16","id":363637449,"user":{"login":"Marxlp","id":14075954,"avatar_url":"https://avatars0.githubusercontent.com/u/14075954?v=4","gravatar_id":"","url":"https://api.github.com/users/Marxlp","html_url":"https://github.com/Marxlp","followers_url":"https://api.github.com/users/Marxlp/followers","following_url":"https://api.github.com/users/Marxlp/following{/other_user}","gists_url":"https://api.github.com/users/Marxlp/gists{/gist_id}","starred_url":"https://api.github.com/users/Marxlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marxlp/subscriptions","organizations_url":"https://api.github.com/users/Marxlp/orgs","repos_url":"https://api.github.com/users/Marxlp/repos","events_url":"https://api.github.com/users/Marxlp/events{/privacy}","received_events_url":"https://api.github.com/users/Marxlp/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T02:39:38Z","updated_at":"2018-02-07T02:39:38Z","author_association":"NONE","body":"Yes, I have made a pull request."}}
{"actor":{"display_login":"Marxlp"}}