This guideline is a short introduction to the naming policy of the model railway track layout svg.

Bell

  • the bell itself: bell
  • number and square next to the bell: bell0
  • sonic beams of the bell: bell_sonic

Error Messages

  • each train and wagon has a dedicated error label and number field to show errors
    • the label is identified with TRAIN_OR_WAGON_error
    • the number is identified with TRAIN_OR_WAGON_error_number
      • a train is identified with trainX
      • a wagon Y of train X is identified with trainX_Y. The front wagon has index 0, the rear wagon has index 1.
    • examples: train1_error, train5_error_number, train1_0_error, train5_1_error_number
  • there is one additional error label and number to show collision errors. These are collision_error and collision_error_number

Lamps

  • lamp and corresponding number: lampX (e.g. lamp0)
  • only the background of the lamps (without the corresponding number): lampX_bg (e.g. lamp0_bg)

Points

  • point and corresponding number: pointX (e.g. point0)
  • only the background of the points (without the corresponding number): pointX_bg (e.g. point0_bg)

Railroad Crossing

  • number and circle: rcX (e.g. rc0)
  • closed railroad gates (long): gateX (e.g. gate0)
  • open railroad gates (short): ogateX (e.g. ogate0)

Signals

  • on unidirectional tracks: track name and chosen color (e.g. OC_LN_2Red)
  • on bidirectional tracks: track name, direction and chosen color (e.g. KH_ST_1fwdYellow or KH_ST_1revYellow)

Contacts

  • contactX followed by its corresponding track name (e.g. contact0KH_ST_3, contact1_KH_ST_3)
  • the first contact in (main) travel direction has the index 0, whereas the second contact hat the index 1.

Tracks

  • without branches: the corresponding track name (e.g. KH_ST_0)
  • with branches: track and branch name merged with branch (e.g. KH_ST_0branchKIO_LN_0)

Trains

  • the general naming scheme is trainX followed by the wagon _Y. The front wagon has index 0, the rear wagon has index 1.
    • front wagons: train0_0, train1_0, etc.
    • rear wagon: train0_1, train1_1, etc.

Areas

  • pink area: KH_ST_area
  • yellow area: IC_ST_area
  • green area: OC_ST_area
Tags: