Metadata-Version: 2.1
Name: nextfempy
Version: 0.1.2
Summary: NextFEM REST API wrapper in pure Python
Home-page: https://github.com/NextFEM/NextFEMpy
Author: NextFEM
Author-email: info@nextfem.it
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests

# 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"))
```
