Geometric algorithm implementation for clipping and capping solid triangle meshes. See this for more information.
These instructions will get you a copy of the project up and running on your local machine.
$ git clone https://github.com/nickyvanurk/capping
$ cd ./capping
$ npm i
$ npm run dev