Track building helper for Bve trainsim 5/6
Project description
Tsutsuji TrackComputer
Bve trainsim 5/6向けマップファイルの制作支援Pythonスクリプトです。 全ての軌道を自軌道構文で記述し、一つの軌道を基準とした他軌道構文に変換するのが主な機能です。 まだ開発途上ですが、軌道データ作成に役立つ測量機能も付属しています。
インストール
インストールするには、Python 3をインストールしてからPowershellで次のコマンドを実行してください。 Tsutsuji本体と、動作に必要なパッケージが自動でインストールされます。
pip install tsutsuji-trackcomputer
なお、https://konawasabi.riceball.jp/2022/06/01/tsutsuji-kobushi-installguide/ にて、Python3のセットアップを含めたインストール手順の説明をしていますので、参考にしてもらえればと思います。
インストール済みのTsutsuji, Kobushiをバージョンアップする際は、次のコマンドを実行してください。
pip install --upgrade tsutsuji-trackcomputer kobushi-trackviewer
動作に必要な環境
- Python 3
- Kobushi trackviewer Ver1.1.4以降
- numpy
- matplotlib
- scipy
- lark
- ttkwidgets
- requests
起動
Tsutsujiは次のコマンドで起動できます。
python -m tsutsuji
読み込むcfgファイルを予め指定するときは、以下のコマンドを実行します。
python -m tsutsuji hoge.cfg
非対話モード
-n
オプションをつけて実行すると、Tsutsujiを非対話モードで実行できます。
非対話モードでは、指定したcfgファイルの内容に基づいて他軌道データを生成し、そのまま終了します。このときGUIは起動しません。
python -m tsutsuji -n hoge.cfg
Documents
https://konawasabi.github.io/tsutsuji-trackcomputer/
License
重要事項
本プログラムの著作権はkonawasabi (以下、作者)が有します。
本プログラムについて作者はいかなる保証もせず、またプログラムを実行して生じた結果についての責任を負いません。
Apache Licence, Version 2.0に従う限り、本ソフトウェアの改変、再配布を自由に行うことができます。
Acknowledgements
- 緯度経度->直交座標への変換ルーチンとして、下記URLにて公開されているsw1227氏のコードを使用させていただきました
Contact
Author: Konawasabi
Mail: webmaster@konawasabi.riceball.jp
Website: https://konawasabi.riceball.jp/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for tsutsuji_trackcomputer-1.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839b48cd6d73e662b233f4a47390b74c7bfd6dbd9e0c04fb22c56d0b05b5f5d6 |
|
MD5 | e9a6c3365afeff6c2d3934865abfe1fe |
|
BLAKE2b-256 | 0c4d05680e459951e636d137979851a91d74db31198ae56752f3f5a870cf0bab |