JesseBonanno / IndeterminateBeam

A solver for 1D indeterminate beams
MIT License
63 stars 17 forks source link

Determine slope for a beam #33

Open Lourenax opened 1 year ago

Lourenax commented 1 year ago

Is there any way to calculate and graph the slope, similar to how deflection is calculated and graphed?

JesseBonanno commented 1 year ago

Using the current implementation you cant directly do this although there are round about ways to achieve it.

You could use the deflection plot and get the slope of it in order to plot the slope graph. You can use the function "get_deflection" to get the deflection at different points along the beam and plot the result. You would then be able to create your own plot.

https://indeterminatebeam.readthedocs.io/en/main/docstrings.html#indeterminatebeam.Beam.get_deflection