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

plot displacements in mm instead of m #238

Open
Pbieghs opened this issue Jan 18, 2024 · 1 comment
Open

plot displacements in mm instead of m #238

Pbieghs opened this issue Jan 18, 2024 · 1 comment

Comments

@Pbieghs
Copy link

Pbieghs commented Jan 18, 2024

Hi,

Would it be possible to change the output of the displacement in mm instead of m?
Factor sizes the displacement, but does not change the number
Scale changes the size of the figure
figsize changes the size of the box around the figure.

Is there a way to change the value that is shown?

@smith120bh
Copy link
Collaborator

Hi @Pbieghs -
So anaStruct internally is unit-agnostic and only cares that you use any consistent unit system - so I don't want to add features that specifically require calling out metres or millimetres unless and until we build out full unit-awareness in the package.

That said, I do think we could go halfway here, and perhaps add a scale_length_values and/or scale_force_values parameter, to which you could pass your own conversion factor. I do appreciate that many engineers think about member lengths in metres but deflections in mm.

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

No branches or pull requests

2 participants