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