Import/Export files in VNL

VNL: simple files handling

Platforms:
Links: video

In this tutorial you will learn how to import and/or export files
in Virtual NanoLab (VNL) using the Builder.

The list of supported file types/formats is extended. At the time of
writting, the following files are supported:
extensions: .py, .nc, .xyz, .car, .in, .cell, .geon, .cif, POSCAR, CONTCAR, .traj, .fdf
ieVNL
  • Open VNL and click the Builder icon at the top left column of the vertical menu.
  • The Builder window appears:

snap0

Stash Items

Attention

The Stash is like a small desktop for all your structures! You can delete, add, and copy structures. Double-click any of the structures in your Stash to visualize it.

The Stash functionality is simple and intuitive. The illustration below highlights a few main options and functionlity.

snap5

Add from Database

One of the easiest ways to set up structures is by using the VNL database.

  • Simply use Add ‣ From Database to add a known structure to the Stash:

snap1

The available structures are grouped into three different categories: Crystals, Molecules, Fullerenes.

  • You can search for structures and choose them from a list of matches.
  • Use the plus_icon button or double click the name of the structure to add it to the Stash.

Add from Files

If you have files from previous VNL projects, or from a database or some other software, it is easy to load them in VNL:

  • Use Add ‣ From Files and load structures from the relevant files.

Remember to choose also the file type or extension of your file (see picture below).

snap2

Add from Plugins

The VNL Builder provides a range of convenient plugins for creating structures.

  • Use Add ‣ From Plugin to find a list of helpful plugins.

The list of plugins is extendable:

  • Use Help ‣ AddOn Manager to find new plugins for VNL.

Note

The plugins database keeps expanding, and you can even write your own (Python) plugins, and add them to the existing ones.

snap3

Save and Export Structures

  • Save a structure by right-clicking on it and choosing File.

The two most important options are Save as and Export configuration. Many export formats are available, apart from the VNL/ATK native .nc format:

snap4