RailButtons Class#

class rocketpy.RailButtons[source]#

Class that defines a rail button pair or group.

Variables:
  • RailButtons.buttons_distance (int, float) – Distance between the two rail buttons closest to the nozzle.

  • RailButtons.angular_position (int, float) – Angular position of the rail buttons in degrees measured as the rotation around the symmetry axis of the rocket relative to one of the other principal axis.

__init__(buttons_distance, angular_position=45, name='Rail Buttons')[source]#

Initializes RailButtons Class.

Parameters:
  • buttons_distance (int, float) – Distance between the first and the last rail button in meters.

  • angular_position (int, float, optional) – Angular position of the rail buttons in degrees measured as the rotation around the symmetry axis of the rocket relative to one of the other principal axis.

  • name (string, optional) – Name of the rail buttons. Default is “Rail Buttons”.

Return type:

None

evaluate_center_of_pressure()[source]#

Evaluates the center of pressure of the rail buttons. Rail buttons do not contribute to the center of pressure of the rocket.

Return type:

None

evaluate_lift_coefficient()[source]#

Evaluates the lift coefficient curve of the rail buttons. Rail buttons do not contribute to the lift coefficient of the rocket.

Return type:

None

evaluate_geometrical_parameters()[source]#

Evaluates the geometrical parameters of the rail buttons. Rail buttons do not contribute to the geometrical parameters of the rocket.

Return type:

None

info()[source]#

Prints out all the information about the Rail Buttons.

Return type:

None

all_info()[source]#

Returns all info of the Rail Buttons.

Return type:

None