Customizable cylindrical holder for coins (and other stuff).

I was looking for a cylindrical holder for collectable coins, but didn't like the options I had found. I, however, liked a lot the customizable Screw-Top Container II from M_D_K, but I felt it was too overkill for my needs.

So, largely inspired by it and borrowing some code snipplets, I have created this simpler container that better fits my needs. The main diferences are:

  • Size customizable either by diameter, height and number of coins to store, or inner diameter and total height for more generic use.
  • Customizable thread size (I felt that in the original the thread was too long).
  • No ring.
  • No knurling.
  • Optional labels on container sides and/or cap.
  • Customizable text size.
  • Slightly smaller overall size.

The available parameters for customization are:

  • coin_diameter: (mm) diameter of the coins to store.
  • coin_height: (mm) height of the coins to store.
  • n_coins: number of coins to store.
  • use_total_height: Wheter use total innner heigh or not. If true, coin_height and n_coins will be ignored and only total_height will be considered (default=false).
  • total_height: inner height (when using use_total_height).
  • v_padding: (mm) vertical extra padding (e.g. to put cotton pads for extra protection).
  • h_padding: (mm) horizontal padding (e.g. add a small padding so coins don't get stuck inside).
  • thread_height: (mm) height of the thread (the default 5mm has worked OK for me).
  • label: Text to label the container.
  • text_size: Size of the font of the label.
  • label_on_side: Show label on the 4 sides of the container (default=true).
  • label_on_cap: Show label on the cap (default=true).