Building a nanotube atom by atom—or positioning every ring by hand—can turn a simple structural idea into a tedious alignment task. Small inconsistencies in spacing or orientation become especially noticeable when the structure is extended. A more controlled approach is to build a repeating unit, arrange copies in a circle to form a ring, and then repeat that ring along an axis.
In SAMSON, the Circular and Linear Pattern Editors provide interactive controls for creating those repetitions. The workflow below uses a ring as the starting unit. The example values are starting points from the SAMSON guide, not universal dimensions: the right spacing and rotation depend on the structure you are modeling.
1. Prepare a clean repeating unit
Create or load a ring, then remove its hydrogen atoms if they would interfere with aligning or joining the repeating units. Rotate the ring so its edges are oriented as needed for the circular arrangement. It is worth checking this orientation before making copies: a pattern editor can repeat a placement efficiently, but it cannot decide whether the starting geometry is chemically appropriate.

2. Form the ring with circular repetition
Select the ring and activate the Circular Pattern Editor with W. Increase the number of instances—for example, try 12—and adjust the radius while watching the live preview. The goal is to bring neighboring edges into the intended alignment. Treat the preview as a way to inspect the geometry before committing, rather than relying on the copy count alone to guarantee a closed, well-aligned ring.
When the arrangement looks right, accept it. If you want nearby atoms to be merged, review the pattern preferences first: SAMSON provides an option to automatically merge nearby atoms. This setting matters because overlapping copies may otherwise remain separate rather than becoming a connected structure. After accepting, inspect the resulting ring and confirm that its geometry matches your intended design.
3. Extend the ring into a tube
Align the completed ring—for example, with the XY plane using Edit > Align. Then select it and activate the Linear Pattern Editor with L. Set the translation along the Z-axis; 2 Å is one example given in the documentation. If the bonding pattern calls for it, add an incremental rotation between successive copies. Use the preview to judge whether the repeated rings line up as intended.
Once the arrangement is satisfactory, accept the pattern to create the extended structure. The editor’s widgets can be dragged for interactive adjustments. For more precise translations or rotations, hold Ctrl on Windows or Linux, or Cmd on macOS, and click a widget to enter values. Snapping can also help keep movements consistent. These controls are useful when a visual adjustment needs to become a repeatable numeric setting.
4. Check the result, then relax it
Before treating the tube as finished, inspect the joins and the spacing between repeated units. If the structure contains unintended gaps, overlaps, or misaligned edges, revisit the radius, translation, or incremental rotation rather than adding more copies and hoping the issue disappears. When the pattern is in place, minimize the geometry to relax it, and add hydrogens if appropriate for your model.
The broader lesson is to separate the task into two manageable questions: first, how should one repeating unit be arranged around the circumference? Second, how should that completed ring repeat along the tube’s axis? This makes it easier to adjust one part of the construction without manually repositioning every copy.
For the full editor instructions and additional examples, see the SAMSON guide to creating patterns.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
