Move scenery tools into their own folder, added STG to UFO XML configuration file converter and begins of a JavaProp to JSBsim CP and CT table converter

This commit is contained in:
TheFGFSEagle
2022-02-28 17:11:21 +01:00
parent 576a1d94b6
commit 5df1ea3aca
3 changed files with 184 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
import argparse
if __name__ == "__main__":
argp = argparse.ArgumentParser(description="javaprop2jsbcpct.py - converts JavaProp propeller data into Cp and Ct tables for a JSBsim propelller")
argp.add_argument(
"-i", "--input-file",
help="File to read JavaProp data from",
)
argp.add_argument(
"--interactive",
help="Read JavaProp data from standard input instead of a file, ignoring --input-file (disabled by default)",
nargs=0
type=bool,
default=False
)
argp.add_argument(
"--indentation",
help="Indentation to use (the argument of this option will be used as one level of indentation), defaults to tabs",
default="\t"
)
args = argp.parse_args()
print(args)