Molecular modeling often requires building complex structures, such as nanotubes, biomolecular assemblies, or materials with precise arrangements. Creating these patterns manually can be tedious and time-consuming, but with SAMSON’s Pattern Editors, this process becomes intuitive and efficient. In this blog post, we’ll delve into how to leverage these editors to create molecular patterns for your projects.
The Power of Pattern Editors
SAMSON provides three specialized tools for generating molecular patterns:
- Linear Pattern Editor (shortcut: L)
- Circular Pattern Editor (shortcut: W)
- Curved Pattern Editor (shortcut: Q)
Accessible through the Editors Toolbar or the “Find everything…” bar, these tools allow you to arrange molecules in linear, circular, or curved distributions. Whether you’re modeling nanotubes, larger biosystems, or even material grids, these editors simplify repetitive, intricate tasks by automating them.
Tackling Common Modeling Challenges
Creating patterns can solve key problems in molecular design, such as:
- Generating structures with hundreds of thousands of atoms in just a few steps.
- Visualizing nanoscale architectures in fields like nanotechnology, biomolecular modeling, and material science.
- Simplifying the replication and precise alignment of molecular units.
The editors come with intuitive widgets for live, visual feedback, interactive transformations, and even precise controls for advanced modeling configurations.
How to Create Your First Pattern
Let’s break down the steps for using a Pattern Editor, such as the Linear Pattern Editor:
- Prepare a structure: Start by creating or loading an atomic structure in SAMSON. Select the molecules, atoms, or other components you want to replicate.
- Activate the editor: Open the Linear Pattern Editor using the toolbar or the keyboard shortcut L.
- Use the on-screen widget: Drag handles to position and rotate the duplicated structures. Hold Ctrl (Windows/Linux) or Cmd (macOS) to input precise values for translations or rotational angles. Enable snapping to control distances and angles effectively.
- Adjust the number of copies: Hover over the central widget and scroll your mouse wheel to increase or decrease the number of duplicates. Use Ctrl + scroll for faster changes.
- Finalize the pattern: Click the “Accept” button to finalize your pattern, and it will automatically be incorporated into your molecular design.
Customization and Advanced Features
You can refine pattern creation further by exploring the preferences in Edit > Preferences > Create pattern to:
- Automatically merge atoms in close proximity.
- Adjust hydrogens or bond configurations.
- Group or combine structures into larger assemblies.
Additionally, the alignment and distribution tools in the Edit > Align / Distribute menu provide further flexibility for organizing complex assemblies accurately.
Example: Constructing a Nanotube
One common use case for the pattern editors is designing nanotubes:
- Create a ring: Build a molecular ring, remove hydrogen atoms, and align edges using rotation tools.
- Form a closed circle: Use the Circular Pattern Editor (W) to generate a circular arrangement, setting a proper radius and number of instances (e.g., 12).
- Stack the rings: Apply the Linear Pattern Editor to translate and stack the rings along the Z-axis, ensuring proper alignment and bond connections.
- Finalize the nanotube: Minimize the structure to relax its geometry, making it suitable for further simulations.

Start Exploring Patterns Today
Whether you’re a researcher in nanotechnology or a student exploring molecular modeling, using SAMSON’s Pattern Editors can save you hours of effort while improving precision. You can learn more about creating patterns and explore all available features by visiting the official documentation page.
SAMSON and all SAMSON Extensions are free for non-commercial use. You can get SAMSON at samson-connect.net.
