I have also posted this script under the Q&A, but I think I would share it in here as well.
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.
The script can build any mono-atomic wires, it will also allow your create defects/donor atoms into the
wire. It will also make you able to create a buckling of the wire. Futhermore you can also put a strain on
your wire, if it is that you are desired.
Please feel free to use - I would like ideas to improvements!