Skip to main content

MPCForces-Extractor

This 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.

Vector Forces Plot

The desired process is this:

Vector summed

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)

Overview

v0 1 7 2-ProcessAndFrontend

As seen in the picture above, the .fem and .mpcf files are being transformed by the mpcforces-extractor in a .db file. This can be triggered from the main page and the extracted entities are saved in the .db and can be seen on the mpc and node page.

If you have transformed files into a .db file already you can directly load them in on the bottom half of the main page. This way, the tool is not triggered again but just the entities are displayed on the mpc and node pages.

The mpcforces-extractor serves a small webserver with the pages when being called as descriebed in the quickstart section below.

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 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:

m.fem

m.mpcf

Questions?

  • Write me a e-mail :)

Metadata

Release files for mpcforces-extractor 0.1.7.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mpcforces-extractor 0.1.7.4
File Size Uploaded Provenance Actions
mpcforces_extractor-0.1.7.4.tar.gz 32.7 kB Without provenance Details for mpcforces_extractor-0.1.7.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mpcforces-extractor 0.1.7.4
File Interpreter ABI Platform Actions
mpcforces_extractor-0.1.7.4-py3-none-any.whl Python 3 none any Details for mpcforces_extractor-0.1.7.4-py3-none-any.whl

Total release size: 80.8 kB

Release files / mpcforces_extractor-0.1.7.4.tar.gz

Download URL mpcforces_extractor-0.1.7.4.tar.gz
Size 32.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e9a470491b9d92b82b9d2db42aa8c9f2f3cd3d598c4a31d4dc5215529f05cae2
BLAKE2b-256 checksum
How to use checksums
2867d7738d0c4b9ffb7c1f3f2b7f9d07c80ebfce55b3ca8f1a8c4b511b77c52e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Release files / mpcforces_extractor-0.1.7.4-py3-none-any.whl

Download URL mpcforces_extractor-0.1.7.4-py3-none-any.whl
Size 48.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
663798c81c339d08726a31d5aa50e56fc65d6efaddea03fee194c492f079cbda
BLAKE2b-256 checksum
How to use checksums
edfbf5407e0536b48b0eeb3857f60c7ec9b8d179ad563f7d4732c5b762acb921
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Security for mpcforces-extractor 0.1.7.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page