Skip to main content

Mechanical Engineering Calculators GUI

Project description

mechcalc

Mechanical Engineering Calculators, Chuck McKyes
This is a gui app based on wxPython.
v1.3.2 October 2021

Copyright (C) 2021 Chuck McKyes

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.


*** Verify calculations produced by this software. ***

All calculations are approximate estimates. Actual specifications are available from equipment manufacturers.

Pump power and head assume cold water being pumped. Vapour pressure of a mixture uses Raoult's law.

wxPython is required. In Windows, Microsoft Visual C++ redistributable is required. I find that everything works with Python 3.7.3 in Debian and Python 3.8.6 in Windows 10, but Python 3.9.0 does not appear to work on Windows 10.

Debian requires python3-wxgtk to be installed via your package manager. For example, on a Raspberry Pi 4 as of this writing, the version is python3-wxgtk4.0-4.0.4+dfsg-2.

This python script can be run using "python3 -m mechcalc" on the command line or by creating a shortcut.

In Debian, a desktop shortcut can be created by creating a file with a .desktop extension (e.g., "MechCalc.desktop"). Make the contents this:

[Desktop Entry]
Version=1.1.2
Type=Application
Name=MechCalc
Comment=
Exec=python3 -m mechcalc
Icon=
Path=
Terminal=false
StartupNotify=false

In Windows, right-click on the desktop or in file explorer and create a shortcut. Right click again and select Properties. Enter "<your python install directory>\pythonw.exe -m mechcalc" in the "Target:" field, and <your python install directory> in the "Start in:" field. ("pythonw.exe" starts the script without a command line console.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mechcalc, version 1.3.2
Filename, size File type Python version Upload date Hashes
Filename, size mechcalc-1.3.2-py3-none-any.whl (84.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mechcalc-1.3.2.tar.gz (74.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page