There are very good resources for coins outside of feeecad, Google for inventor mentor. It explains all the principles and has lot of examples. C++, but they are basically 1:1 translatable to python. As for a shape: you need to get the tesselation of the shape from its build in function "tesselate" ...