Skip to content

jonas-peter-tuhh/rfem-python

Repository files navigation

RfemPythonWsClient

image image image

Python client (high-level functions) for RFEM 6 using Web Services (WS), SOAP and WSDL. Available Python SOAP pkgs can be found on wiki.python.org.

image

Table of Contents

Description

This Python project is focused on opening RFEM 6 to all of our customers, enabling them to interact with RFEM 6 on a much higher level. If you are looking for a tool to help you solve parametric models or optimization tasks, you have come to the right place. This community serves as a support portal and base for all of your future projects. The goal is to create an easily expandable Python library, which communicates instructions to RFEM 6 through WebServices (WS). WS enables access to RFEM 6 either via a local instance or a remote internet connection.

It's open source. Everybody is welcome to create their own solution, cooperate with us or add suggestions.

Architecture

image

Data Structure

  • main.py: setting of individual objects by one line entry
  • window.py: definition of GUI layer; called first
  • initModel.py: runs after window and initializes suds.Client by connecting to http://localhost:8081/wsdl and active model in RFEM. It also evelops esential global functions.
  • enums.py: definition of enumerations
  • dataTypes.py: definition of special data types
  • RFEM: folder following structure of RFEM 6 navigator containing individual types of objects

Getting started

Dependencies

Dependency check is implemented inside initModel.py with option to install during execution.

Step by step

  1. Clone this repository (if you have GitHub account) or download actual release
  2. Open RFEM 6 application
  3. Check if there are no opened dialogues in RFEM and server port range under Options-Web Services corresponds to the one set in initModel
  4. Run your script. Inspirations can be found in Examples or UnitTests.

Examples

Scripts intended to be used as templates or examples. Also can be used for testing of backward compatibility.

Unit Tests

Collection of scripts to support further development.

Documentation

For complete description of classes and functions visit our GitHub page.

Wiki

If you run into problems see our Wiki. We are slowly but surely expanding the solutions to the problems found in the Issues section.

License

License: MIT

Contribute

Contributions are always welcome! Please ensure your pull request adheres to the following guidelines:

  • Alphabetize your entry.
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • Suggested READMEs should be beautiful or stand out in some way.
  • Make an individual pull request for each suggestion.
  • New categories, or improvements to the existing categorization are welcome.
  • Keep descriptions short and simple, but descriptive.
  • Start the description with a capital and end with a full stop/period.
  • Check your spelling and grammar.
  • Make sure your text editor is set to remove trailing whitespace.
  • Use the #readme anchor for GitHub READMEs to link them directly

NOTE: Development is in early stages so please respect that. There will be broken objects or adjustments affecting backward compatibility. Use Issues section to point out any problems. Thank you for your understanding.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages