SatelliteGraphics3DModel#
- class ansys.stk.core.stkobjects.SatelliteGraphics3DModel#
Bases:
IGraphics3DModel
All Satelliteβs VO Model properties.
Overview#
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. |
|
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. |
|
The modelβs solar panels are defaulted to point toward the sun. |
|
Whether the point that is shown at certain viewing distances to represent an object, is visible. |
|
A size of the point (in pixels). Dimensionless. |
|
Get or set the glTF reflection map type property. A member of the ModelGltfReflectionMapType enumeration. |
|
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.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.