Skip to content

Repository files navigation

LayoutControlLite

LayoutControlLite is a Python 3 library to enable the creation of schematic railway layouts with a mimimum of coding.

The main aims of this project is to enable the deveoppment of layout control panels by people with little experience of writing programms and to run on inexpensive hardware.

This example is produced by a short Python program

turnout demo

fromLayoutControlLiteimportTrack, Stub, Turnout, Signal, Layout# Define the individual itemsmain=Track('Main Line', (25, 200), (1175, 200))
turnout=Turnout('Turnout', (500, 200))
siding=Stub('Siding', (600, 150), (800, 150))
signal=Signal('Signal', (400, 225))
# Create the layout and add the itemslayout=Layout('Simple Turnout')
layout.add(main)
layout.add(signal)
layout.add(turnout)
layout.add(siding)
# Run the layout with all defaultslayout.run()

About

Light weight, easy to use model railway layout control panel

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages