Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Latest commit

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Build CNT

Build armchair carbon nanotube (CNT) structures with optional functionalization. Output format: MOL2.

Requirements

  • Python 3
  • NumPy
  • RDKit (optional, for enhanced bond perception)

Usage

python buildcnt.py [options] output.mol2

Options

OptionDescriptionDefault
-n, --indexNanotube index n8
-l, --lengthCNT backbone length (Å)20.0
-f, --functionalizationType: none, oh, cooh, coo, amidenone
--amide-angleTilt angle for amide bond axis (degrees)60.0
--no-staggerDisable staggered amide plane arrangement-
--use-rdkitUse RDKit for bond perception-

Examples

python buildcnt.py -n 8 -l 20.0 output.mol2
python buildcnt.py -n 6 -l 15.0 -f amide --amide-angle 45.0 cnt_amide.mol2
python buildcnt.py -n 8 -l 20.0 -f oh cnt_oh.mol2

License

Freeware. You can use, modify and redistribute the source.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages