space_ex v0.1.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.get_parts/2.

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 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 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

A list of all solar panels in the vessel

A list of all wheels 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 modules (combined across all parts in the vessel) whose SpaceEx.SpaceCenter.Module.get_name/2 is moduleName

The part from which the vessel is controlled

Link to this section Functions

Link to this function get_all(conn, this)

A list of all of the vessels parts.

Link to this function get_antennas(conn, this)

A list of all antennas in the vessel.

Link to this function get_cargo_bays(conn, this)

A list of all cargo bays in the vessel.

Link to this function get_control_surfaces(conn, this)

A list of all control surfaces in the vessel.

Link to this function get_controlling(conn, this)

The part from which the vessel is controlled.

Link to this function get_decouplers(conn, this)

A list of all decouplers in the vessel.

Link to this function get_docking_ports(conn, this)

A list of all docking ports in the vessel.

Link to this function get_engines(conn, this)

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 get_experiments(conn, this)

A list of all science experiments in the vessel.

Link to this function get_fairings(conn, this)

A list of all fairings in the vessel.

Link to this function get_intakes(conn, this)

A list of all intakes in the vessel.

Link to this function get_launch_clamps(conn, this)

A list of all launch clamps attached to the vessel.

Link to this function get_legs(conn, this)

A list of all landing legs attached to the vessel.

Link to this function get_lights(conn, this)

A list of all lights in the vessel.

Link to this function get_parachutes(conn, this)

A list of all parachutes in the vessel.

Link to this function get_radiators(conn, this)

A list of all radiators in the vessel.

Link to this function get_rcs(conn, this)

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

Link to this function get_reaction_wheels(conn, this)

A list of all reaction wheels in the vessel.

Link to this function get_resource_converters(conn, this)

A list of all resource converters in the vessel.

Link to this function get_resource_harvesters(conn, this)

A list of all resource harvesters in the vessel.

Link to this function get_root(conn, this)

The vessels root part.

Link to this function get_sensors(conn, this)

A list of all sensors in the vessel.

Link to this function get_solar_panels(conn, this)

A list of all solar panels in the vessel.

Link to this function get_wheels(conn, this)

A list of all wheels in the vessel.

Link to this function in_decouple_stage(conn, this, stage)

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

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

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

  • stage
Link to this function modules_with_name(conn, this, moduleName)

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

  • moduleName
Link to this function set_controlling(conn, this, value)

The part from which the vessel is controlled.

Link to this function with_module(conn, this, moduleName)

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

  • moduleName
Link to this function with_name(conn, this, name)

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

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

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

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

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

  • title