Skip to content

Conversation

@harshgondal
Copy link

Added Pyplot Feature of BMD and SFD in Flexural Module.

Harsh Gondal, Summer Fellowship

Copy link
Collaborator

@AjinkyaDahale AjinkyaDahale left a 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.

Copy link
Collaborator

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.

Copy link
Author

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

Copy link
Collaborator

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.

Copy link
Collaborator

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/.

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"))
Copy link
Collaborator

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, "")
Copy link
Collaborator

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':
Copy link
Collaborator

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.

Copy link
Author

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

ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())
sys.exit(app.exec_())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

End file with newline.

@harshgondal
Copy link
Author

Rebased all the commits, Added new ss_beam image, changed c_beam jpeg image to png, deleted commented code, fixed ss_beam path

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants