The proposed code makes it possible to generate different types and sizes of 3D bottles in order to train Pixel2mesh algorithm on these synthetic data and adapt it to reconstruct 3D shapes of bottles using a single RGB image input. Check the results for different parameters: Bottle 1, Bottle 2 and Bottle 3.
Please find Here the documentation for CADQuery.