Python library to plot Mohr's circle for visualization and analysis
Project description
MohrCirclePlotter
A Python library to plot Mohr's circle
⚠️ Disclaimer
This software is provided for educational and research purposes only. Results produced by this package should not be used as the sole basis for engineering design decisions without independent verification by a qualified professional engineer.
THE AUTHORS AND CONTRIBUTORS ACCEPT NO LIABILITY for any damages, losses, or consequences arising from the use or misuse of this software. See LICENSE for full terms.
Installation
pip install mohrcircleplotter
Documentation
Mohr's circles are plotted on a matplotlib plot. If these circles are stresses at failure, a Mohr-Coulomb failure envelope can be estimated. More details can be found in https://e-mags.github.io/MohrCirclePlotter/
from mohrcircleplotter import MohrPlot
plot = MohrPlot(halfplot=True,show_tension=True, units='MPa')
# Define some circles (sigma_x, sigma_y, tau_xy)
circles = [
(80, 30, 30),
(60, 20, 20),
(40, 10, 10)
]
for sigma_x, sigma_y, tau_xy in circles:
plot.oriented_circle(sigma_x, sigma_y, tau_xy)
# Estimate and plot the Mohr-Coulomb failure envelope
plot.estimated_mc_envelope()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mohrcircleplotter-0.0.1.tar.gz.
File metadata
- Download URL: mohrcircleplotter-0.0.1.tar.gz
- Upload date:
- Size: 326.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ba4d6be41583e8ed1d7495589c964ca98ed162295e3315ae051a66eaa165127
|
|
| MD5 |
4cb81c9e5c20a68b117572999e531c40
|
|
| BLAKE2b-256 |
afee6ace9804b2d61daf449903cefb74a85e1c3b9d87f2dc7d97285fc370268a
|
Provenance
The following attestation bundles were made for mohrcircleplotter-0.0.1.tar.gz:
Publisher:
deploy.yml on e-mags/MohrCirclePlotter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mohrcircleplotter-0.0.1.tar.gz -
Subject digest:
2ba4d6be41583e8ed1d7495589c964ca98ed162295e3315ae051a66eaa165127 - Sigstore transparency entry: 1392571394
- Sigstore integration time:
-
Permalink:
e-mags/MohrCirclePlotter@bd66725294df986c6dbc34204766fa1675a28750 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/e-mags
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@bd66725294df986c6dbc34204766fa1675a28750 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mohrcircleplotter-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mohrcircleplotter-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f2ef84bbfb37aa1181ff1b8f78701905bc587f63ddb59ccecea2f005d77ab6c
|
|
| MD5 |
68e6a25cdcb87e936da594231c0ee1ba
|
|
| BLAKE2b-256 |
70b85519ad68b86edb24dc6499a0ff9305f5c4d400d8cdfc5d29f930f7dc0934
|
Provenance
The following attestation bundles were made for mohrcircleplotter-0.0.1-py3-none-any.whl:
Publisher:
deploy.yml on e-mags/MohrCirclePlotter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mohrcircleplotter-0.0.1-py3-none-any.whl -
Subject digest:
1f2ef84bbfb37aa1181ff1b8f78701905bc587f63ddb59ccecea2f005d77ab6c - Sigstore transparency entry: 1392571396
- Sigstore integration time:
-
Permalink:
e-mags/MohrCirclePlotter@bd66725294df986c6dbc34204766fa1675a28750 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/e-mags
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@bd66725294df986c6dbc34204766fa1675a28750 -
Trigger Event:
push
-
Statement type: