{"action":"created","issue":{"url":"https://api.github.com/repos/IfcOpenShell/IfcOpenShell/issues/30","repository_url":"https://api.github.com/repos/IfcOpenShell/IfcOpenShell","labels_url":"https://api.github.com/repos/IfcOpenShell/IfcOpenShell/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/IfcOpenShell/IfcOpenShell/issues/30/comments","events_url":"https://api.github.com/repos/IfcOpenShell/IfcOpenShell/issues/30/events","html_url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/30","id":133709097,"number":30,"title":"Missing colors for IfcMappedItem-geometry","user":{"login":"larsmoa","id":6741854,"avatar_url":"https://avatars.githubusercontent.com/u/6741854?v=3","gravatar_id":"","url":"https://api.github.com/users/larsmoa","html_url":"https://github.com/larsmoa","followers_url":"https://api.github.com/users/larsmoa/followers","following_url":"https://api.github.com/users/larsmoa/following{/other_user}","gists_url":"https://api.github.com/users/larsmoa/gists{/gist_id}","starred_url":"https://api.github.com/users/larsmoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsmoa/subscriptions","organizations_url":"https://api.github.com/users/larsmoa/orgs","repos_url":"https://api.github.com/users/larsmoa/repos","events_url":"https://api.github.com/users/larsmoa/events{/privacy}","received_events_url":"https://api.github.com/users/larsmoa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-15T13:14:29Z","updated_at":"2016-02-15T17:00:54Z","closed_at":"2016-02-15T16:59:46Z","body":"I have a case where colors are missing for some geometry. I have not been able to pinpoint the issue, but I have been able to create a minimal example file that reproduces the issue. The file can be opened in e.g. Solibri Model Viewer and here the color is correct. IfcConvert outputs the default gray material - even though there is a keyword IFCCOLOUR which should have been picked up by IfcConvert.\r\n\r\nI created an illustration of how the material is associated with the geometry in the failing example, and how it is associated in a working file, see [colormapping.pdf](https://github.com/IfcOpenShell/IfcOpenShell/files/130799/colormapping.pdf).\r\n\r\nNote! The file is an exempt from a full model. I cannot share this file here, but if it will help I can send it to you by email.\r\n\r\n[GreenOnlyColour.ifc.zip]\r\n(https://github.com/IfcOpenShell/IfcOpenShell/files/130790/GreenOnlyColour.ifc.zip)"},"comment":{"url":"https://api.github.com/repos/IfcOpenShell/IfcOpenShell/issues/comments/184301483","html_url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/30#issuecomment-184301483","issue_url":"https://api.github.com/repos/IfcOpenShell/IfcOpenShell/issues/30","id":184301483,"user":{"login":"aothms","id":1096535,"avatar_url":"https://avatars.githubusercontent.com/u/1096535?v=3","gravatar_id":"","url":"https://api.github.com/users/aothms","html_url":"https://github.com/aothms","followers_url":"https://api.github.com/users/aothms/followers","following_url":"https://api.github.com/users/aothms/following{/other_user}","gists_url":"https://api.github.com/users/aothms/gists{/gist_id}","starred_url":"https://api.github.com/users/aothms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aothms/subscriptions","organizations_url":"https://api.github.com/users/aothms/orgs","repos_url":"https://api.github.com/users/aothms/repos","events_url":"https://api.github.com/users/aothms/events{/privacy}","received_events_url":"https://api.github.com/users/aothms/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T17:00:53Z","updated_at":"2016-02-15T17:00:53Z","body":"Thanks again. This was a trivial fix. Let me know if you encounter other issues."}}