what you think of simplifying the API to specify spacing. Something along the lines of:
spacing='oct6'
spacing='ico5'
spacing='all'
spacing='7mm'

The API would be a bit different from the C code but I find it much simpler.