I would like to mesh a cylinder surface. The mesh should include given cylinderpoints which lie on a helix.
My attempt using "IncludePoints"
zyl = ImplicitRegion[x^2 + y^2 == 1 && -Pi <= z <= Pi, {x, y, z}]
heli = ParametricRegion[{Cos[3 phi], Sin[3 phi],phi}, {{phi, -Pi, Pi}}]
Show[{Region[zyl], Region[Style[heli, {Thickness[Large], Red}]] }]
some points of the helix
heliP = Map[#[[1]] &, MeshPrimitives[DiscretizeRegion[heli], 0] ];
elementmesh
mesh = ToBoundaryMesh[zyl, "MeshElementType" -> "TriangleElement" ,
"MeshOrder" -> 1, "IncludePoints" -> heliP , "MaxCellMeasure" -> 1
]
Show[{mesh["Wireframe"], Graphics3D[{Red, Point[heliP]}]}]
Plot shows the complete triangle mesh, unfortunately the points of the helix(red) are no meshpoints!
What's wrong with my approach? Thanks!






Rectangle[]with the constraint that all meshpoints on the diagonal are predefined via "IncludePoints". – Ulrich Neumann Nov 09 '23 at 16:40