
About
=====

CS140BahnPlaner, Version: 0.10

CS140BahnPlaner is a tool for planning car racing tracks using the "Carrera Servo 140" sets.


Config file
===========

Open config.json in a text editor to customize the application. You may adjust the color scheme, room information
and the number of parts you have of each type.

A room is specified as a sequence of wall lengths in meters, beginning with a wall viewed horizontally, the next
adjoining vertically and so on. Positive wall lengths depict walls extending to the right and upwards, negative
lengths go leftward and downward.

Note that the room must be specified in a _counterclockwise_ order to be displayed correctly.

Example of a 4m by 2m room:

        "room4x2"           : [ 4.0, 2.0, -4.0, -2.0 ]


GUI interaction
===============

Take a part from the inventory by clicking on its image in the inventory display on the left. Keep the button
pressed to drag it into the scene.

Click on the steering wheel icon to toggle the inventory view between old-style and new-style track items.


Mouse and keyboard interaction
==============================

The three mouse buttons are named LMB, RMB and MMB here, meaning left, right and middle mouse button.


    LMB + drag              move single part or compound

    LMB + scroll-wheel      rotate single part or compound

    <Ctrl>  + LMB           remove part from scene and return it to inventory
    <Shift> + LMB

    RMB + drag              unlink joints of part and move it

    MMB + drag              pan view

    <Ctrl> + scroll-wheel   zoom view

    L                       open 'load' dialog

    S                       open 'save' dialog

    F11                     toggle between full-screen and windowed mode

    Esc                     quit the application


Copying
=======

Copyright (c) 2021 Frank Martin Fischer
This software is licensed under the MIT licence.
See https://mit-license.org/


Contact
=======

rumbold@gmx.net


License of nlohmann/json
========================

MIT License 

Copyright (c) 2013-2021 Niels Lohmann

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

