{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaIO/MeshIO.jl/issues/16","repository_url":"https://api.github.com/repos/JuliaIO/MeshIO.jl","labels_url":"https://api.github.com/repos/JuliaIO/MeshIO.jl/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/JuliaIO/MeshIO.jl/issues/16/comments","events_url":"https://api.github.com/repos/JuliaIO/MeshIO.jl/issues/16/events","html_url":"https://github.com/JuliaIO/MeshIO.jl/issues/16","id":141093731,"number":16,"title":"getindex() methods not working","user":{"login":"rdeits","id":591886,"avatar_url":"https://avatars.githubusercontent.com/u/591886?v=3","gravatar_id":"","url":"https://api.github.com/users/rdeits","html_url":"https://github.com/rdeits","followers_url":"https://api.github.com/users/rdeits/followers","following_url":"https://api.github.com/users/rdeits/following{/other_user}","gists_url":"https://api.github.com/users/rdeits/gists{/gist_id}","starred_url":"https://api.github.com/users/rdeits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdeits/subscriptions","organizations_url":"https://api.github.com/users/rdeits/orgs","repos_url":"https://api.github.com/users/rdeits/repos","events_url":"https://api.github.com/users/rdeits/events{/privacy}","received_events_url":"https://api.github.com/users/rdeits/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-15T20:49:00Z","updated_at":"2016-03-15T20:51:54Z","closed_at":null,"body":"I'm trying to reproduce the examples given in the Readme, but it looks like the getindex() overloads described there are not up to date:\r\n\r\n```julia\r\nusing FileIO\r\nmesh = load(\"mesh.stl\")\r\nmesh[MeshIO.Normal3{Float32}]\r\n```\r\n\r\nwhere `\"mesh.stl\"` is a file I've previously created, gives:\r\n\r\n```\r\nLoadError: UndefVarError: Normal3 not defined\r\n```\r\n\r\nSwitching to a different parameterization of `Normal`, I get a bit closer:\r\n\r\n```julia\r\nusing FileIO\r\nmesh = load(\"mesh.stl\")\r\nmesh[MeshIO.Normal{3, Float32}]\r\n```\r\n\r\ngives:\r\n\r\n```\r\nLoadError: MethodError: `getindex` has no method matching getindex(::GeometryTypes.HomogenousMesh{FixedSizeArrays.Point{3,Float32},GeometryTypes.Face{3,UInt32,-1},GeometryTypes.Normal{3,Float32},Void,Void,Void,Void}, ::Type{GeometryTypes.Normal{3,Float32}})\r\n```\r\n\r\nI've tried other variations, but as far as I can tell, the getindex() overloads no longer seem to exist. Is that correct? \r\n"},"comment":{"url":"https://api.github.com/repos/JuliaIO/MeshIO.jl/issues/comments/197014434","html_url":"https://github.com/JuliaIO/MeshIO.jl/issues/16#issuecomment-197014434","issue_url":"https://api.github.com/repos/JuliaIO/MeshIO.jl/issues/16","id":197014434,"user":{"login":"SimonDanisch","id":1010467,"avatar_url":"https://avatars.githubusercontent.com/u/1010467?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonDanisch","html_url":"https://github.com/SimonDanisch","followers_url":"https://api.github.com/users/SimonDanisch/followers","following_url":"https://api.github.com/users/SimonDanisch/following{/other_user}","gists_url":"https://api.github.com/users/SimonDanisch/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonDanisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonDanisch/subscriptions","organizations_url":"https://api.github.com/users/SimonDanisch/orgs","repos_url":"https://api.github.com/users/SimonDanisch/repos","events_url":"https://api.github.com/users/SimonDanisch/events{/privacy}","received_events_url":"https://api.github.com/users/SimonDanisch/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T20:51:54Z","updated_at":"2016-03-15T20:51:54Z","body":"Sorry this indeed has changed!\r\ntry:\r\n```Julia\r\ndecompose(Normal{3, Float32}, mesh)\r\n```"}}