space_ex v0.5.1 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 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.

A list of all antennas in the vessel.

Link to this function cargo_bays(this)

A list of all cargo bays in the vessel.

Link to this function control_surfaces(this)

A list of all control surfaces in the vessel.

Link to this function controlling(this)

The part from which the vessel is controlled.

Link to this function decouplers(this)

A list of all decouplers in the vessel.

Link to this function docking_ports(this)

A list of all docking ports in the vessel.

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.

Link to this function experiments(this)

A list of all science experiments in the vessel.

A list of all fairings in the vessel.

Link to this function in_decouple_stage(this, stage)

A list of all parts that are decoupled in the given stage.

  • stage
Link to this function in_stage(this, stage)

A list of all parts that are activated in the given stage.

  • stage

A list of all intakes in the vessel.

Link to this function launch_clamps(this)

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.

Link to this function modules_with_name(this, module_name)

A list of modules (combined across all parts in the vessel) whose SpaceEx.SpaceCenter.Module.name/1 is moduleName.

  • module_name
Link to this function parachutes(this)

A list of all parachutes in the vessel.

Link to this function radiators(this)

A list of all radiators in the vessel.

A list of all RCS blocks/thrusters in the vessel.

Link to this function reaction_wheels(this)

A list of all reaction wheels in the vessel.

Link to this function resource_converters(this)

A list of all resource converters in the vessel.

Link to this function resource_harvesters(this)

A list of all resource harvesters in the vessel.

The vessels root part.

A list of all sensors in the vessel.

Link to this function set_controlling(this, value)

The part from which the vessel is controlled.

Link to this function solar_panels(this)

A list of all solar panels in the vessel.

A list of all wheels in the vessel.

Link to this function with_module(this, module_name)

A list of all parts that contain a SpaceEx.SpaceCenter.Module whose SpaceEx.SpaceCenter.Module.name/1 is moduleName.

  • module_name
Link to this function with_name(this, name)

A list of parts whose SpaceEx.SpaceCenter.Part.name/1 is name.

  • name
Link to this function with_tag(this, tag)

A list of all parts whose SpaceEx.SpaceCenter.Part.tag/1 is tag.

  • tag
Link to this function with_title(this, title)

A list of all parts whose SpaceEx.SpaceCenter.Part.title/1 is title.

  • title