Skip to main content

A package for openstaad API connection with python

Project description

OpenStaad

Abstract

This Python package is designed to facilitate the connection between the OpenStaad API and python.

Quick Info

  • openstaad is a Python package to call easily functions from the OpenStaad API.

  • MIT-License

  • The intended audience is StaadPro users with knowledge of Python

  • Compatibitity:

    • Tested with Python 3.10.9
    • Operating System: Windows 11
  • Dependencies:

  • See implemented funcionts for a list of currently working features.

  • Please contact the developer for requests.

Installation

Basic installation by pip.

pip install openstaad

A simple example

For the next example, a valid STAAD.Pro file should be open.

from openstaad import Geometry, Root

geometry = Geometry()
root = Root()

# Function that returns a list
beam_list = geometry.GetBeamList()

# Function that retuns a string
file_name = root.GetSTAADFile()

# Function that recibe an argument
beam_number = 10 
beam_nodes = geometry.GetMemberIncidence(beam_number)


print(beam_list)
print(file_name)
print(beam_nodes)

Website

Not yet implemented

Documentation

See documentation folder

Contribution

The source code of openstaad can be found at GitHub, target your pull requests to the main branch:

https://github.com/OpenStaad/OpenStaadPython/pulls

Feedback

Questions and feedback at GitHub Discussions:

https://github.com/OpenStaad/OpenStaadPython/discussions

Questions at Stack Overflow:

Post questions at stack overflow and use the tag openstaad or openstaadpython.

Issue tracker at GitHub: https://github.com/OpenStaad/OpenStaadPython/issues

Contact

Please always post questions at the forum or stack overflow to make answers available to other users as well.

Feedback is greatly appreciated.

Konrad

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

openstaad-0.0.2.tar.gz (17.1 kB view hashes)

Uploaded Source

Built Distribution

openstaad-0.0.2-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

Supported by

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