Graphics3DDetailThreshold#

class ansys.stk.core.stkobjects.Graphics3DDetailThreshold#

Class defining detail thresholds as an aid for improving performance when viewing in 3D.

Overview#

enable_detail_threshold

Detail thresholds as an aid for improving performance when viewing in 3D. Using these thresholds, the viewer sees varying degrees of detail on the models and graphics in the 3D Graphics window, depending on the distance of the object from the viewer.

all

The maximum viewing distance at which the finest detail in the model, label and vectors, attitude sphere, and geostationary box is displayed. Uses Distance Dimension.

model_label

The maximum viewing distance at which the coarsest detail in the model, label and vectors, attitude sphere, and geostationary box is displayed. Uses Distance Dimension.

marker_label

The maximum viewing distance at which a label and marker representing the object is visible. Uses Distance Dimension.

marker

The maximum viewing distance at which a marker representing the object is visible. Uses Distance Dimension.

point

The maximum viewing distance at which a point representing the object is visible. Uses Distance Dimension.

Examples#

Modify the Detail Thresholds Levels

# Satellite satellite: Satellite object
details = satellite.graphics_3d.model.detail_threshold
details.enable_detail_threshold = True
details.all = 1  # km
details.model_label = 2  # km
details.marker_label = 40000  # km
details.marker = 500000  # km
details.point = 500000  # km

Import detail#

from ansys.stk.core.stkobjects import Graphics3DDetailThreshold

Property detail#

property Graphics3DDetailThreshold.enable_detail_threshold: bool#

Detail thresholds as an aid for improving performance when viewing in 3D. Using these thresholds, the viewer sees varying degrees of detail on the models and graphics in the 3D Graphics window, depending on the distance of the object from the viewer.

property Graphics3DDetailThreshold.all: float#

The maximum viewing distance at which the finest detail in the model, label and vectors, attitude sphere, and geostationary box is displayed. Uses Distance Dimension.

property Graphics3DDetailThreshold.model_label: float#

The maximum viewing distance at which the coarsest detail in the model, label and vectors, attitude sphere, and geostationary box is displayed. Uses Distance Dimension.

property Graphics3DDetailThreshold.marker_label: float#

The maximum viewing distance at which a label and marker representing the object is visible. Uses Distance Dimension.

property Graphics3DDetailThreshold.marker: float#

The maximum viewing distance at which a marker representing the object is visible. Uses Distance Dimension.

property Graphics3DDetailThreshold.point: float#

The maximum viewing distance at which a point representing the object is visible. Uses Distance Dimension.