TomLXXVI/python-mechanics ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python library for solving mechanics of materials problems for beams and shafts under different loads.
I want it to help calculate stresses and deformations, including things like axial load, bending, torsion, transverse shear, strain, stress transformation, failure prediction, and elastic curve type calculations. Please make it feel like a real reusable library, not just a few scripts, and include clear examples I can run to understand how to use it.
It would be great if the project also includes tutorial notebooks or simple example scripts in a docs examples folder, since I want to learn from worked problems. Use a consistent sign convention and a right handed coordinate system throughout, and include a short explanation of that in the docs.
If you need to, look up current Python docs or best practices online while putting it together.
Are you gonna build this?
make sure you review the code using coderabbit