Generated the different files in a openscad file to import the stl, scale them and place the opening for the key chain. Call with another python script the openscad script and Cura to generate automatically the stl files and gcode for the different sizes. [The script included is good enough for me, i am not a programmer, but i am able to change just enough to fit my needs]