I cannot run the CylinderMesh function of MeshTools in Mathematica version 12.3.1.
$Version
(*Install MeshTools*)
ResourceFunction["GitHubInstall"]["c3m-labs", "MeshTools"];
(*Load MeshTools package*)
Needs["MeshTools`"]
mesh = CylinderMesh[{6, 4}]
(* "12.3.1 for Microsoft Windows (64-bit) (June 19, 2021)" *)
(* $Failed *)
Can anybody reproduce the error or suggest what might be wrong with the code?
Update
After some investigation, I discovered that the problematic function call is in FindGeometricTransform. The following shows the automatic determination of the transformation class for FindGeometricTransform fails for a simple 3D translation.
FindGeometricTransform[{{0, 0, -1}, {0, 0, 1}}, {{0, 0,
0}, {0, 0, 2}}]
(* FindGeometricTransform[{{0, 0, -1}, {0, 0, 1}}, {{0, 0,
0}, {0, 0, 2}}] *)
One can remedy the problem by explicitly defining transformation class like so:
FindGeometricTransform[{{0, 0, -1}, {0, 0, 1}}, {{0, 0, 0}, {0, 0,
2}}, TransformationClass -> "Translation"]
@user21 filed this as a bug report as indicated in his comment to his answer. I also submitted a support request [CASE:4846569].




