These settings are found on the "Appearance" page of the
Scene
editor.
The label
setting will, if non-empty, display a
character string displayed at the top left. This is useful for screen
shots. The font is the default Scene font and cannot be changed. For
more elaborated text and font options, refer to Section 2.2. Example:
s.label = 'Post-buckling of abcd-panel'
The background colour is white by default, to make for environment- and cost-friendly printing. It can be changed by clicking on the coloured button: A dialog window appears, allowing to select a new colour. The colour can be entered as HSV- or RGB-values. In the Python environment, the "colour" property accepts RGB-values and the colour names defined by the X Consortium (like black, white, yellow, DarkSeaGreen, CornflowerBlue etc.). The RGB-values are integers between 0 and 255. Thus,
s.background_colour = 'light grey'
The scene axes are displayed in the upper
right corner whenever a 3D object (e.g. NPart
)
has been added. The display of these scene axes can be toggled by
activating the respective check box, or in Python
s.scene_axes_show = False
The model axes are displayed at the origin and in the units of the mesh data, if 3D objects have been added. Sometimes, the size is too small or too big; this can be adjusted with slider widget, or in Python
s.scene_axes_size *= 10
Note that the slider is acting exponentially with a base of 10, whereas the Python setting takes the actual value.
A 3D grid can be displayed around the 3D objects that are present. This is enabled by activating the respective check box, or in Python,
s.grid_show = True
The 3D grid computes the combined bounding box of all 3D objects and performs (heuristic) rounding algorithm to have "nice" values. It displays the values for the x-coordinates in red, those for the y-coordinates in green, and those for the z-coordinates in blue.