pip(3) install Volmdlr
Before using Volmdlr, be sure to have a compiler C/C++ (not necessary on Linux). N.B : With Windows you have to download one and allows it to read Python’s code.
The following picture is here to show you about the power of Volmdlr.
This engine is made from ExtrudedProfile and RoundedLineSegment2D. With CylindricalFace3D and ToroidalFace3D too. You can see Sweep as presented before. If you want to load it, run the code above, and if you are curious, check on Primitives3D how to create Faces.