Read and display the structure

Compare the projection and the 3D representations, atoms, bonds and conformers.

Choose the Dataset and read the structure

In Structure, open the Molecular Dataset selector. Select the Dataset you have just imported or go back to a source already available in the Session. Check the summary below the commands. It reports the ID, the number of atoms and bonds and, when available, the name and formal charge. To check the origin, open Source.

Switch between conformers

The Conformer selector uses indices starting from 0. A single geometry exposes only 0. Import the teaching SDF chain (ZIP) to compare 0 and 1. Index 1 moves atom 4 from (1.500; 1.500; 1.500) to (0.750; 1.500; −1.299) Å. The indices, elements and connectivity of the example stay the same. Reselect the atoms and recheck the dihedral for the active geometry.

Conformer 1 changes the Cartesian coordinates of atom 4 in the table.
Conformer 1 changes the Cartesian coordinates of atom 4 in the table.

Consult atoms and bonds

The Atoms table lists the index, the element, the formal charge and the Cartesian coordinates X [Å], Y [Å], Z [Å]. Select an atom to read the detail below the buttons. The Bonds table shows the indices Atom1 and Atom2 and the Order. In a MOL or SDF the order can come from the file. In a coordinate-only structure without bonds, such as the XYZ of the exercise, the viewer can infer single bonds.

Use the projection and the labels

The Coordinate projection draws the positions in the XY plane and uses coloured symbols for the elements. Atoms with the same X and Y can overlap while having different Z. In that case, select the index directly in Atoms. Click in the projection near an atom to select it in the table and read its full position. The selection gets a heavier outline. Atom labels shows or hides the symbol with the index, for example C4. Changing the labels affects the projection.

A click in the projection selects the atom index in the table and shows the full Cartesian coordinates.
A click in the projection selects the atom index in the table and shows the full Cartesian coordinates.
With Atom labels turned off, the bonds and symbols of the projection stay visible.
With Atom labels turned off, the bonds and symbols of the projection stay visible.

Choose the 3D representation

With the Dataset and conformer active, choose a value in Display and press Open 3D structure. On a Session Dataset, repeat the command to see the scene again after changing the representation.

ball_and_stick
This is the initial setting of a new view. It renders atoms as spheres and bonds as volumetric segments. Use it to make out the connectivity.
space_filling
Renders atoms as space-filling spheres. The occupied volume is more evident and the connections can be hidden. Go back to the Bonds table to read individual bonds.
With ball_and_stick you can make out the two bonds and the spheres of the three water atoms.
With ball_and_stick you can make out the two bonds and the spheres of the three water atoms.
With space_filling the larger spheres show the space occupied by the same structure.
With space_filling the larger spheres show the space occupied by the same structure.

Open the 3D scene and recover a new Session

Open 3D structure prepares a surface from the source and opens the scene in Native 3D. When the Session is new and the Workspace database is missing, this patch can show Read-only Workspace database must already exist as a regular file. The tables, measurements and projection remain available.

  1. Download the empty Workspace template. In the same Session open the Worksheet tile.
  2. In Worksheet open Workspace → Import…, select the ZIP, type a name and press Apply. The import creates the registry. You can close the Worksheet after the confirmation.
  3. Go back to Molecules and press Open 3D structure again. Bring GX-TXT Scientific 3D Scene to the front. The GX-TXT Native 3D Viewer panel is a second control window.
The new Session holds a valid molecule, but opening the scene reports the missing Workspace database.
The new Session holds a valid molecule, but opening the scene reports the missing Workspace database.

Fit and reset the framing

With a scene active, Fit 3D view fits the extent of the scene to the window. Reset 3D view restores a default framing. Changing the camera does not modify the coordinates of the molecule. You can compare the indices and coordinates in Atoms before and after navigating the scene. Click a visible sphere to select the atom closest to the point you clicked. In the test, clicking the oxygen selected row 1 and showed its coordinates in the Molecules viewer.

In the scene window, drag with the left button to rotate, with the middle button to pan the view, and use the wheel to change the magnification. In Native 3D, Front and Back, Left and Right, Top and Bottom give opposite framings in pairs. The four arrows move the orientation in steps. Projection switches between perspective, which foreshortens more distant objects, and orthographic, a parallel projection.

Dragging with the left button changes the orientation of the scene.
Dragging with the left button changes the orientation of the scene.
Dragging with the middle button moves the structure within the frame.
Dragging with the middle button moves the structure within the frame.

Recognise the Native 3D panel controls

The molecule is loaded as a scientific surface. The panel can show Render Dataset disabled when its selector for generic models is empty, while the molecular scene is already available. The separate panel also contains generic tools for imported models, XYZ plots, VTU layers and points, STEP parts and repeated components. These tools need sources and selections of their own in the Native 3D viewer. To choose how to represent a molecule, go back to the Display selector in Molecules.

In the Native 3D panel, Display offers surface, wireframe and surface_edges for the surface, the mesh and the surface with edges of the generic model. LOD exposes auto, preview, low, medium, high and full. With auto the renderer chooses the level. The other values request everything from the preview up to full resolution. In the test with the molecule, changing these options in the panel left its rendering unchanged. Visible, Lighting and Clip model with axis x, y or z did not change the molecular surface of the example either.

Save view PNG… opens the destination dialog and saves an image of the scene. The example produced a PNG of 1,100 × 750 pixels. Hide control panel hides the panel. To make it reappear, go back to Molecules and use Open 3D structure again.

The Native 3D panel controls the camera and offers generic tools for other kinds of source.
The Native 3D panel controls the camera and offers generic tools for other kinds of source.