Hi! Can you attach the affected model (or part of it) for people to take a look? Else more information is needed: e.g. material setup, normal map used, mesh had transform applied + no inverted faces?, ...
try this (convex only though so concave would need to split into convex then recombined after being wrapped individually)... -- creates a ray point along the edge fn getEdgeRay msh edg =
( ze = edg - 1; a = (mod ze 3) + 1; b = mod a 3; fverts = getface msh (ze/3 + 1); v0 = getvert msh fverts[a]; v1 = getvert msh fverts[b +…