A simple toolbox for getting mpc forces from output files from Optistruct
Project description
MPCForces-Extractor
This CLI tool outputs the MPC forces via summing it up per connected part. It is used in combination with Optistruct.
Motivation
When you have simple rigid elements for modelling bolts, the mpcforces can be written out to either .h3d or .mpcf file among other options. With these options there seems to be no easy way of getting the summed up forces per conneced part for every mpc elmeent. Below you can see an image with the mpc forses printed as a vector plot. In the image there are two connected parts. To manually get the desired force per part you have to go into hyperview, do a table export and sum them up. This also requires you to have sets or to manually select the nodes per part. For a multitude of mpc elements this process is a problem.
The desired process is this:
This tool is destined to solve this by automating it. The two major problems regarding this:
- Detect the connected parts with in an efficient way
- Read the mpcf File and assign each force to the mpc element (as this is not printed in the mpcf file)
Quickstart
To use this tool, you can simply use the pip install command like so:
pip install mpcforces-extractor
After installing it, you can access the cli tool via: mpcforces-extractor which will launch a small webserver wher you can select input files and start the process:
If you need more documentation, you can access it here
Test Files
In order to make testing the tool easier, you can download the following files:
Questions?
- Write me a e-mail :)
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 mpcforces_extractor-0.1.7.3.tar.gz.
File metadata
- Download URL: mpcforces_extractor-0.1.7.3.tar.gz
- Upload date:
- Size: 30.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18e398fb0d23ff8f11315db8e74350a3483d5f1ce20ae823b2d9bfa4b722839e
|
|
| MD5 |
56a2165fc8c7202a9fdd273c2017ac91
|
|
| BLAKE2b-256 |
7112322a4a2efeb910324c597dc64eed80b98c5668481f1d2a176b9382cd8823
|
File details
Details for the file mpcforces_extractor-0.1.7.3-py3-none-any.whl.
File metadata
- Download URL: mpcforces_extractor-0.1.7.3-py3-none-any.whl
- Upload date:
- Size: 46.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
425185f96423aa94cdd7451f2734552f0a7997a6de8b6934c7cb984390f5f584
|
|
| MD5 |
8e7050c629080ca0e6046cdef4933ca4
|
|
| BLAKE2b-256 |
f025a175ce3215a53be6803b8b5d725013f6f2f5e75191b7e62d8b23cab1186b
|