-
Notifications
You must be signed in to change notification settings - Fork 140
Pyplot fetaure of BMD and SFD in Flexural Module #390
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
base: dev
Are you sure you want to change the base?
Conversation
AjinkyaDahale
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments based on cursory look. The image change is critical.
src/ResourceFiles/images/ss_beam.png
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file cannot be accepted. It has a watermark and we are not certain about the license it has.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have changed the image
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash both commits such that the image is not in the history. Also, note that you made additional changes, which should have been mentioned in the git message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also notice that this file is in the wrong path. It should be in src/osdag/data/.../images/.
src/osdag/Common.py
Outdated
| KEY_BEARING_LENGTH = 'Bearing.Length' | ||
| Simply_Supported_img = str(files("osdag.data.ResourceFiles.images").joinpath("ss_beam.png")) | ||
| Cantilever_img = str(files("osdag.data.ResourceFiles.images").joinpath("c_beam.png")) | ||
| Cantilever_img = str(files("osdag.data.ResourceFiles.images").joinpath("c_beam.jpeg")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just as a comment: We probably do not want to have JPEGs. Ideally use SVG or a high resolution PNG.
| t9b = ("sf_plot_button", "", 'BUTTON', sf_button, True, "") | ||
| options_list.append(t9b) | ||
|
|
||
| # t_support = (KEY_SUPPORT, "Support Type", TYPE_COMBOBOX, ["Simply Supported", "Cantilever"], True, "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this code should stay here commented, add an additional comment as to why. Otherwise delete it.
| fName = str('./ResourceFiles/images/3d.png') | ||
| file_extension = fName.split(".")[-1] | ||
|
|
||
| # if file_extension == 'png': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as previous comment: add reason or delete commented code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commented code was there in the source code, due to line change i think it is being reflected
src/osdag/gui/ui_template.py
Outdated
| ui.setupUi(MainWindow) | ||
| MainWindow.show() | ||
| sys.exit(app.exec_()) | ||
| sys.exit(app.exec_()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
End file with newline.
…beam jpeg image to png
47ef36f to
9cd4642
Compare
|
Rebased all the commits, Added new ss_beam image, changed c_beam jpeg image to png, deleted commented code, fixed ss_beam path |
Added Pyplot Feature of BMD and SFD in Flexural Module.
Harsh Gondal, Summer Fellowship