Simon
Simon
I thought this was trivially supported, but can't find the correct constructor right now :D Evidence, that this should be made easier & documented...
After talking with @piever it may be a bug: https://github.com/JuliaArrays/StructArrays.jl/issues/126
Yeah, but this is supposed to "just work"... So lets see if we can have this fixed ;)
Alright, that's fair! I think GeometryBasics should just support a convenience constructor for this :)
There is an overload missing to create the correct polytope type: ```julia using GeometryBasics using GeometryBasics: AbstractNgonFace, AbstractPoint, Ngon function GeometryBasics.Polytope(P::Type{
I debugged this a bit, it's some weirdness in this constructor: https://github.com/JuliaGeometry/GeometryBasics.jl/blob/master/src/meshes.jl#L91 faces returns nothing, and therefore it tries to triangulate the triangle 😅 I guess the fix would be...
Yes, I think we can bring it back, if we document a bit better what its supposed to be used for! I think we should keep them as simple as...
No, that sounds great :) Looks like it has 0 dependencies, so that makes things a lot easier ;) I think master is fine... It's such a small diff, that...
Yeah, still planning to merge it! Need to first make sure that Makie works though, which is a work in progress: https://github.com/JuliaPlots/Makie.jl/pull/2220
That seems like a cheap enough check to just always do it, if it's required ;)