Thanks, all. I was sort of hoping that there might be a way to do this with imported meshes, primarily. I'm not sure how other applications do this, as it's a built-in function or (in renderers like Arnold) a shader. You'd have to compare each face normal with its neighbors, I would guess, so it's probably not a simple problem.