Skip to main content

NextFEM REST API wrapper in pure Python

Project description

NextFEMpy

NextFEM REST API wrapper in pure Python, to be used with NextFEM Designer or NextFEM Server. It is a complete set of REST API call, wrapped in Python functions, distinguishing between mandatory and optional arguments.

If you're looking for NextFEMpy source, look into /nextfempy folder.

Installation instructions

pip install nextfempy

Usage

Before using with your local installation of NextFEM Designer, start the plugin REST API Server.

from nextfempy import NextFEMrest
# connect to local copy of NextFEM Designer
nf=NextFEMapiREST.NextFEMrest()

To handle a property:

nf.autoMassInX=False
print(str(nf.autoMassInX))

To call a NextFEM API method:

nf.addOrModifyCustomData("test","Test")
print(nf.getCustomData("test"))

Project details


Download files

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

Source Distribution

nextfempy-0.1.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nextfempy-0.1.1-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file nextfempy-0.1.1.tar.gz.

File metadata

  • Download URL: nextfempy-0.1.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for nextfempy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7adb09b09ccd7413d49d05e4f2b6776d9bac8e309b4e5660cc134937fe38b8f0
MD5 ed37cb5516dbf2a3ba19a4dd2440f3a7
BLAKE2b-256 ee61aaa11278266195b07cbaf4c5ad38eb5fcaa2e18d858f8240dffe8f756f4c

See more details on using hashes here.

File details

Details for the file nextfempy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nextfempy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for nextfempy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6198a74c2d61aee9075b1135d3c7a7551580917c35f340023ea08bca9a275b4f
MD5 a995734d46fbe26abb3d35240d13afad
BLAKE2b-256 6b3559430c943fc58df415f1d90c9d604b044df10848ba58d7f27a94920672d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page