Skip to main content

A small example package for openstaad python package

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.3.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

openstaad-0.0.3-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file openstaad-0.0.3.tar.gz.

File metadata

  • Download URL: openstaad-0.0.3.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.13

File hashes

Hashes for openstaad-0.0.3.tar.gz
Algorithm Hash digest
SHA256 064ced607a73c0de4f82f6c1cf5775282e94938ea9416968ca44ca10b2dcf595
MD5 a1b864d9f0695621f5edc15f9d2da7b7
BLAKE2b-256 b8119499a442ee853f83c25e3b3262cb20f428ec8f60033999df8dc0ea915771

See more details on using hashes here.

File details

Details for the file openstaad-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: openstaad-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.13

File hashes

Hashes for openstaad-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 06907c623ac80fcbd915a38e28193efb19b53f86c50bec895a8e6973a47b8edd
MD5 e710bdfffd04171ca88972e05b869dc5
BLAKE2b-256 cdf343e13912d23170c52a5eb414dcc3f9cfb6c701ed030b458f3bc473c22dd7

See more details on using hashes here.

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