Background
Particles of specified geometries are typically created by the lattice command in LAMMPS, which can lead to rough surfaces when the particle spacing is not small enough. However, too small spacing can result in too many particles and thus increase the computational cost.
The case is the same when one creates atoms based on an external STL file (an example STL file exported by COMSOL is shown below):
To resolve this problem, I developed this package for easy construction of geometries where smooth surfaces are required.