Create an outline on a model with Stencils

So far I have found another way to apply this affect using Cartoon Painter, code from 13 years ago, but still works with a few modifications. I would still like to know a better way with the use of stencils.