Is it possible to change the number of 3D face markers? I would like to put a different number on each face. Attached is a notebook.
Regards,
Sinval
In the documentation for ToBoundaryMesh I see an option called "BoundaryMarkerFunction". Did you try it?
Thank you for your attention Gianluca. I found the “BoundaryMarkerFunction” option in the documentation, but I couldn’t adapt it to the mesh created in the attached document. I will keep searching.
Sinval Santos,
since your mesh visualization
meshgraphics =
bmesh["Wireframe"[PlotRange -> {All, All, {0, 10}},
"MeshElementMarkerStyle" -> Directive[FaceForm[Red]],
"MeshElementStyle" -> Directive[FaceForm[Opacity[0.5, Green]]]]];
is just a Graphics3D, a simple hack is possible:
i = 1;
Replace[meshgraphics, Text[_, p__] :> Text[i++, p], All]
Hello Henrik, thanks for your attention.
This procedure replaces all markers. I’m creating a routine to replace just a few specific markers.
