You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TheFGFSEagle eae92402bc
Fix minor syntax bugs
2 years ago
aircraft JavaProp2JSBCpCt now sorts the input files correctly if they contain negative numbers, added day-night texture animation XML creator (see https://forum.flightgear.org/viewtopic.php?f=5&t=40589) 2 years ago
scenery Fix minor syntax bugs 2 years ago
utils Added apt.dat to groundnet / twr/ threshold / ils.xml files converter, made STG object elevation recalculator accept whole directory structures as input 2 years ago
.gitignore Added script for VSPAERO .history file -> JSBSim FDM table conversion, added sinusoidal method to utils.interpolator 2 years ago
LICENSE Added script for VSPAERO .history file -> JSBSim FDM table conversion, added sinusoidal method to utils.interpolator 2 years ago
README.md Added XPlane scenery DSF/TXT to FlightGear scenery STG converter 2 years ago
__init__.py Added script for VSPAERO .history file -> JSBSim FDM table conversion, added sinusoidal method to utils.interpolator 2 years ago
dsf2stg_lookup.py Added XPlane scenery DSF/TXT to FlightGear scenery STG converter 2 years ago

README.md

fgtools

Tools for creating, managing and editing FlightGear scenery, aircraft, …

Installation

To run these scripts you need Python 3, Python 2 won't work. Recommended version is 3.8 as I only have that installed so couldn't test with any other versions - earlier 3.x versions should work, but no guarantee !

Linux

Download / git clone this repo and put it in a place of your choice, say /home/user/fgtools. With git clone, you would use this command:

/home/user$ git clone https://github.com/TheFGFSEagle/fgtools

Before you run the scripts you have to make sure that the folder containing this repository on your local disk (here /home/user) is inside your PYTHONPATH environment variable, or you must run the scripts from inside the fgtools folder. To add the folder to your PYTHONPATH, use this command:

export PYTHONPATH="${PYTHONPATH}:/home/user"

Note: this is lost when you close the terminal / console, so you have to run this command every time you open a new console and run the scripts from it. To make the change persistent, add the command to the end of the .profile file in your home folder.

Windows

I don't have Windows so cannot provide any instructions - contributions by Windows users welcome !

Credits