I have reworked a old atomic chain builder, I found.
I have attached it below, feel free to use.
The script should be adjusted to your needs, but no worry the script should be self-explained,
and it can be edited straight forward. When you are done, you can either drag and drop into the VNL
in order to visualize it or perform a calculation on the wire.
Below is a picture from VNL of a very strained gold wire with a Hydrogen defect causing some buckling in the middle.