Skip to content

Edge lines

Edge lines draw lines (edge lines) along the outlines of rendered objects. This is a common property of all Renderers, set in the Edge lines section of the property inspector. However, this setting is not shown for Renderers that have no faces and therefore no outline to draw (simple / trace / spline / contour / gpu_mapmesh, selection highlights, unit cells, namelabel).

Edge lines example 1 Edge lines example 2

Also shown in the molecular view

Edge lines are drawn in both the molecular view (real-time display) and the rendering result. The two use different drawing methods, but they are tuned to look as similar as possible. Details do not match exactly, so check the rendering result for the final appearance.

Properties

Edge type

None
No edge lines (default)
Edges
Draws edge lines
Silhouette
Draws silhouette lines. Lines are drawn only along the outline

The lines for each setting look as follows.

  • Edges (0.06 Å)
    Edges
  • Silhouette (0.03 Å)
    Silhouette

Width

Specifies the line width in Å. Because the unit is not pixels, lines get thicker accordingly when the image size is increased at rendering time.

Commonly used widths are as follows.

Width Value Example
Normal 0.06 Å normal
Thick 0.15 Å thick
Thin 0.03 Å thin

Color

Specifies the line color. Black is usually used, but any color can be specified, such as white lines on a black background.

Red lines Green lines Blue lines

Edge line accuracy and the detail value

How accurately edge lines are extracted and drawn depends largely on the Renderer's polygon subdivision (the detail value). The figures below use a line width of 0.1 Å and show, from left to right, the ballstick detail value increased to 2, 5, 10 and 20.

detail = 2 detail = 5 detail = 10 detail = 20

The larger the detail value, the smoother and more continuous the lines. With a small detail value, lines tend to be broken, and this is more noticeable the thicker the line is. When making lines thicker, also increase the detail value.

The default detail value of ballstick is 5, but the example above shows that with a line width of 0.1 Å, a value of 10 or more is preferable.

Setting by style

Edge line settings are also provided as styles, and can be applied together from the right-click menu of the scene tree (→ Styles).

See also


Verified against: CueMol3 3.0.2.560