Cross section of cone, cylinder and sphere with magnets

This is an openscad project so you can easily customize it to your needs.
This project can also be found on github: https://github.com/adamwalach/openscad-projects/tree/master/geometry-teaching-aids