-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mesh with tris and quads? #142
Comments
Take a look at Meshes.jl for mixed element meshes. We have a simple
UnstructuredMesh representation and will be adding other data structures
soon for fast navigation over the faces of any kind.
…On Sat, Mar 27, 2021, 18:06 RibeiroAndre ***@***.***> wrote:
Hi!
Any way to create a mesh of mixed element types? I don't see any way of
mixing tris and quads in the same mesh.
Thanks a lot!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#142>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZQW3L3N446MJC2RF7VBVLTFZCFFANCNFSM4Z5JI7MQ>
.
|
Thanks for the quick answer. |
Not yet but we are working on recipes and trying to provide feedback to
improve the Makie recipe system.
…On Sat, Mar 27, 2021, 18:11 RibeiroAndre ***@***.***> wrote:
Thanks for the quick answer.
Would the meshes from Meshes.jl be compatible with Makie?
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#142 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZQW3ODHDA7BDZSNRJGT73TFZCYXANCNFSM4Z5JI7MQ>
.
|
Ok, thanks! |
There is an overload missing to create the correct polytope type: using GeometryBasics
using GeometryBasics: AbstractNgonFace, AbstractPoint, Ngon
function GeometryBasics.Polytope(P::Type{<:AbstractPoint{Dim,T}},
::Type{<:AbstractNgonFace{N,IT} where N}) where {Dim,T,IT}
return Ngon{Dim,T,N,P} where N
end
f = [TriangleFace(1, 2, 3), QuadFace(1, 2, 3, 4)]
p = Point2f0[(0, 1), (1, 2), (3, 4), (4, 5)]
Mesh(p, x); There seem to be some more overloads missing for when there are faces with different Ns, so display errors as well... |
Hi @SimonDanisch , I just stumbled upon this very issue, is there a plan to implement a correction for this issue ? I also tried your fix (just correcting
I'm working with
|
Hi!
Any way to create a mesh of mixed element types? I don't see any way of mixing tris and quads in the same mesh.
Thanks a lot!
The text was updated successfully, but these errors were encountered: