space_ex v0.8.0 SpaceEx.SpaceCenter.Parts
Instances of this class are used to interact with the parts of a vessel.
An instance can be obtained by calling SpaceEx.SpaceCenter.Vessel.parts/1.
Link to this section Summary
Functions
A list of all of the vessels parts
A list of all antennas in the vessel
A list of all cargo bays in the vessel
A list of all control surfaces in the vessel
The part from which the vessel is controlled
A list of all decouplers in the vessel
A list of all docking ports in the vessel
A list of all engines in the vessel
A list of all science experiments in the vessel
A list of all fairings in the vessel
A list of all parts that are decoupled in the given stage
A list of all parts that are activated in the given stage
A list of all intakes in the vessel
A list of all launch clamps attached to the vessel
A list of all landing legs attached to the vessel
A list of all lights in the vessel
A list of modules (combined across all parts in the vessel) whose
SpaceEx.SpaceCenter.Module.name/1 is moduleName
A list of all parachutes in the vessel
A list of all radiators in the vessel
A list of all RCS blocks/thrusters in the vessel
A list of all reaction wheels in the vessel
A list of all resource converters in the vessel
A list of all resource harvesters in the vessel
The vessels root part
A list of all sensors in the vessel
The part from which the vessel is controlled
A list of all solar panels in the vessel
A list of all wheels in the vessel
A list of all parts that contain a SpaceEx.SpaceCenter.Module whose
SpaceEx.SpaceCenter.Module.name/1 is moduleName
A list of parts whose SpaceEx.SpaceCenter.Part.name/1 is name
A list of all parts whose SpaceEx.SpaceCenter.Part.tag/1 is tag
A list of all parts whose SpaceEx.SpaceCenter.Part.title/1 is title
Link to this section Functions
A list of all of the vessels parts.
Returns: [part, ...], where part is a reference to a SpaceEx.SpaceCenter.Part object
A list of all antennas in the vessel.
Returns: [antenna, ...], where antenna is a reference to a SpaceEx.SpaceCenter.Antenna object
A list of all cargo bays in the vessel.
Returns: [cargo_bay, ...], where cargo_bay is a reference to a SpaceEx.SpaceCenter.CargoBay object
A list of all control surfaces in the vessel.
Returns: [control_surface, ...], where control_surface is a reference to a SpaceEx.SpaceCenter.ControlSurface object
The part from which the vessel is controlled.
Returns: a reference to a SpaceEx.SpaceCenter.Part object
A list of all decouplers in the vessel.
Returns: [decoupler, ...], where decoupler is a reference to a SpaceEx.SpaceCenter.Decoupler object
A list of all docking ports in the vessel.
Returns: [docking_port, ...], where docking_port is a reference to a SpaceEx.SpaceCenter.DockingPort object
A list of all engines in the vessel.
This includes any part that generates thrust. This covers many different types of engine, including liquid fuel rockets, solid rocket boosters, jet engines and RCS thrusters.
Returns: [engine, ...], where engine is a reference to a SpaceEx.SpaceCenter.Engine object
A list of all science experiments in the vessel.
Returns: [experiment, ...], where experiment is a reference to a SpaceEx.SpaceCenter.Experiment object
A list of all fairings in the vessel.
Returns: [fairing, ...], where fairing is a reference to a SpaceEx.SpaceCenter.Fairing object
A list of all parts that are decoupled in the given stage.
stage—
Returns: [part, ...], where part is a reference to a SpaceEx.SpaceCenter.Part object
A list of all parts that are activated in the given stage.
stage—
Returns: [part, ...], where part is a reference to a SpaceEx.SpaceCenter.Part object
A list of all intakes in the vessel.
Returns: [intake, ...], where intake is a reference to a SpaceEx.SpaceCenter.Intake object
A list of all launch clamps attached to the vessel.
Returns: [launch_clamp, ...], where launch_clamp is a reference to a SpaceEx.SpaceCenter.LaunchClamp object
A list of all landing legs attached to the vessel.
Returns: [leg, ...], where leg is a reference to a SpaceEx.SpaceCenter.Leg object
A list of all lights in the vessel.
Returns: [light, ...], where light is a reference to a SpaceEx.SpaceCenter.Light object
A list of modules (combined across all parts in the vessel) whose
SpaceEx.SpaceCenter.Module.name/1 is moduleName.
module_name—
Returns: [module, ...], where module is a reference to a SpaceEx.SpaceCenter.Module object
A list of all parachutes in the vessel.
Returns: [parachute, ...], where parachute is a reference to a SpaceEx.SpaceCenter.Parachute object
A list of all radiators in the vessel.
Returns: [radiator, ...], where radiator is a reference to a SpaceEx.SpaceCenter.Radiator object
A list of all RCS blocks/thrusters in the vessel.
Returns: [rcs, ...], where rcs is a reference to a SpaceEx.SpaceCenter.RCS object
A list of all reaction wheels in the vessel.
Returns: [reaction_wheel, ...], where reaction_wheel is a reference to a SpaceEx.SpaceCenter.ReactionWheel object
A list of all resource converters in the vessel.
Returns: [resource_converter, ...], where resource_converter is a reference to a SpaceEx.SpaceCenter.ResourceConverter object
A list of all resource harvesters in the vessel.
Returns: [resource_harvester, ...], where resource_harvester is a reference to a SpaceEx.SpaceCenter.ResourceHarvester object
The vessels root part.
Returns: a reference to a SpaceEx.SpaceCenter.Part object
A list of all sensors in the vessel.
Returns: [sensor, ...], where sensor is a reference to a SpaceEx.SpaceCenter.Sensor object
The part from which the vessel is controlled.
Returns: :ok
A list of all solar panels in the vessel.
Returns: [solar_panel, ...], where solar_panel is a reference to a SpaceEx.SpaceCenter.SolarPanel object
A list of all wheels in the vessel.
Returns: [wheel, ...], where wheel is a reference to a SpaceEx.SpaceCenter.Wheel object
A list of all parts that contain a SpaceEx.SpaceCenter.Module whose
SpaceEx.SpaceCenter.Module.name/1 is moduleName.
module_name—
Returns: [part, ...], where part is a reference to a SpaceEx.SpaceCenter.Part object
A list of parts whose SpaceEx.SpaceCenter.Part.name/1 is name.
name—
Returns: [part, ...], where part is a reference to a SpaceEx.SpaceCenter.Part object
A list of all parts whose SpaceEx.SpaceCenter.Part.tag/1 is tag.
tag—
Returns: [part, ...], where part is a reference to a SpaceEx.SpaceCenter.Part object
A list of all parts whose SpaceEx.SpaceCenter.Part.title/1 is title.
title—
Returns: [part, ...], where part is a reference to a SpaceEx.SpaceCenter.Part object