Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line options #6

Open
mwhit74 opened this issue Mar 22, 2017 · 3 comments
Open

Add command line options #6

mwhit74 opened this issue Mar 22, 2017 · 3 comments

Comments

@mwhit74
Copy link
Owner

mwhit74 commented Mar 22, 2017

add argparse options:
blank: user defined spacing, axles, trailing load, and span lengths
-c --cooper: automatically adds cooper axles/loads
-al --alternate: automatically adds alt axles
-ar --aream: runs both cooper and alt
-bl --batch len: batch lengths
-ba --batch axle: batch axle configs
-h --help: display options and description each

@mwhit74
Copy link
Owner Author

mwhit74 commented Aug 25, 2017

Should a command line option approach as outlined above be used or a text file based input be used.

The text file based input would be an excellent experimental ground to develop an interpreter module for the front end. Not sure if it would be all that conducive to quickly using the software. Command line options would probably be the fastest if one is familiar with the commands.

I have also given thought to a GUI option. The inputs are so basic it would be fairly straight forward to offer a simple GUI interface to an actual user, not a developer user.

@mwhit74
Copy link
Owner Author

mwhit74 commented Feb 14, 2018

I think a text file based input option should be used.

Something like the following:
title
#of axle configurations
axle spacing separated by commas
axle weights separated by commas
spacing to trailing load
distributed trailing load
#of span configurations
span length 1, span length 2
echo or file

title - name of run
echo - echo output to screen
file - write output to file (output file will be input file path plus title)

It's such a simple input file there is no reason to complicate it other than for fun. However I want something that works and then I can work on making it more user friendly (i.e. complicating it)

@mwhit74
Copy link
Owner Author

mwhit74 commented Feb 14, 2018

The code to run multiple axle configurations and multiple span configurations is experimentally implemented in the dev_test file in the test directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant