SatelliteGraphics3DModel#

class ansys.stk.core.stkobjects.SatelliteGraphics3DModel#

Bases: IGraphics3DModel

All Satellite’s VO Model properties.

Overview#

orbit_marker

Define the display of the marker to represent the selected vehicle while traveling along its actual orbit, separate from that of its ground track. The orbit is the actual path that a vehicle follows.

ground_marker

Define the display of the marker to represent the vehicle’s position along its ground track, separate from that of its orbit. The ground track of a vehicle is the portion of the central body’s surface that it covers while traveling along its track.

solar_panels_point_at_sun

The model’s solar panels are defaulted to point toward the sun.

show_point

Whether the point that is shown at certain viewing distances to represent an object, is visible.

point_size

A size of the point (in pixels). Dimensionless.

gltf_reflection_map_type

Get or set the glTF reflection map type property. A member of the ModelGltfReflectionMapType enumeration.

gltf_image_based

Get glTF Image Based properties.

Examples#

Change the 3D Model and marker properties

# Satellite satellite: Satellite object
model = satellite.graphics_3d.model
model.model_data.filename = r"STKData\VO\Models\Space\dsp.glb"
orbitmarker = model.orbit_marker
if os.name == "nt":
    installPath = r"C:\Program Files\AGI\STK 12"
else:
    installPath = os.environ["STK_INSTALL_DIR"]
orbitmarker.set_marker_image_filename(os.path.join(installPath, "STKData", "VO", "Markers", "Satellite.ppm"))
orbitmarker.marker_data.is_transparent = True
orbitmarker.pixel_size = 18
orbitmarker.orientation_mode = Graphics3DMarkerOrientation.FOLLOW_DIRECTION

Import detail#

from ansys.stk.core.stkobjects import SatelliteGraphics3DModel

Property detail#

property SatelliteGraphics3DModel.orbit_marker: Graphics3DMarker#

Define the display of the marker to represent the selected vehicle while traveling along its actual orbit, separate from that of its ground track. The orbit is the actual path that a vehicle follows.

property SatelliteGraphics3DModel.ground_marker: Graphics3DMarker#

Define the display of the marker to represent the vehicle’s position along its ground track, separate from that of its orbit. The ground track of a vehicle is the portion of the central body’s surface that it covers while traveling along its track.

property SatelliteGraphics3DModel.solar_panels_point_at_sun: bool#

The model’s solar panels are defaulted to point toward the sun.

property SatelliteGraphics3DModel.show_point: bool#

Whether the point that is shown at certain viewing distances to represent an object, is visible.

property SatelliteGraphics3DModel.point_size: Any#

A size of the point (in pixels). Dimensionless.

property SatelliteGraphics3DModel.gltf_reflection_map_type: ModelGltfReflectionMapType#

Get or set the glTF reflection map type property. A member of the ModelGltfReflectionMapType enumeration.

property SatelliteGraphics3DModel.gltf_image_based: Graphics3DModelglTFImageBased#

Get glTF Image Based properties.