.. default-domain:: py .. highlight:: py .. currentmodule:: Drawing OrbitPath ========= .. class:: OrbitPath The path of an orbit. Created using :meth:`add_orbit`. | Base class: :class:`Path` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Path`: :attr:`~Path.colors`, :attr:`~Path.thickness`, :attr:`~Path.start_arrow`, :attr:`~Path.end_arrow`, :attr:`~Path.arrow_size`, :attr:`~Path.dashed`, :attr:`~Path.label` * From :class:`Drawable`: :attr:`~Drawable.visible`, :attr:`~Drawable.color`, :attr:`~Drawable.material`, :meth:`~Drawable.remove` .. attribute:: orbit The orbit. :Attribute: Can be read or written :rtype: :class:`SpaceCenter.Orbit` :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. attribute:: whole_orbit Whether the whole orbit is drawn, up to where it leaves the sphere of influence of its body. When false, the orbit is drawn from :attr:`OrbitPath.start_true_anomaly` to :attr:`OrbitPath.end_true_anomaly`. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. attribute:: start_true_anomaly The true anomaly at which the path starts, in radians. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Setting this sets :attr:`OrbitPath.whole_orbit` to false. .. attribute:: end_true_anomaly The true anomaly at which the path ends, in radians. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Setting this sets :attr:`OrbitPath.whole_orbit` to false.