semvec/pypi-packages huggingface dataset:
OpenStruct-py 0.0.1
Open Source Structural Analysis with Python
Requires Python: >=3.8

# OpenStruct

Open Source Structural Analysis in Python

## Installation
```
$ pip install OpenStruct
```

## Capabilities

OpenStruct allows for the creation of simple two-dimensional frame elements
and complex three-dimensional structures alike.

* User Interface :heavy_check_mark:
* 2D truss :heavy_check_mark:
* 3D truss :heavy_check_mark:
* 2D frame :heavy_check_mark:
* 3D space frame :heavy_check_mark:
* Unlimited members :heavy_check_mark:
* Unlimited loads :heavy_check_mark:

## Limitations
* First order elastic analysis only.
* Shear and torsional deformations are not considered.

Second order inelastic analysis methods are currently under development.


## Example
Simply supported beam subject to a point load.
```python
import OpenStruct

model = OpenStruct.Model(plane='xy')

N1 = model.nodes.addNode(0,0,0,'N1')
N2 = model.nodes.addNode(10,0,0,'N2')

N1.restraint([1,1,1,0,0,0])
N2.restraint([1,1,1,0,0,0])

M1 = model.members.addMember(N1, N2)

model.loads.addPointLoad(M1, direction='Y', D=-10, location=50)

model.plot()
```