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

Issue with the influence line drawing #89

Open
cdavy44 opened this issue May 2, 2024 · 0 comments
Open

Issue with the influence line drawing #89

cdavy44 opened this issue May 2, 2024 · 0 comments

Comments

@cdavy44
Copy link

cdavy44 commented May 2, 2024

Hi, I feel like there is a problem with the influence line generation. No matter what code I write, I can't draw it outside of the first span. I have copied the code from the documentation just changing the last line create error messages...
Here is my code :
import pycba as cba
import numpy as np
import matplotlib.pyplot as plt
EI = 180000
beam_string = "E30R30H30R30E"
(L, EI, R, eType) = cba.parse_beam_string(beam_string)
ils = cba.InfluenceLines(L, EI, R, eType)
ils.create_ils(step=0.05)
ils.plot_il(40.0, "M")

And here is the error message : IndexError: index 0 is out of bounds for axis 0 with size 0.

Maybe there is an error with my code but I can't find it...

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

No branches or pull requests

1 participant