ak_safe
Python wrapper for SAFE. Generate/Analyze/Extract complex structural models using python.
GUI · Getting Started · Layout Documentation · Report Bug/Request Feature
Table of Contents
- 1. About the Project
- 2. Getting Started
- 3. Usage
- 4. Roadmap
- 5. License
- 6. Contact
- 7. Acknowledgements
1. About the Project
2. Getting Started
2.1. Prerequisites
- Python 3.11 or above
- CSI SAFE v21 or higher
2.2. Installation
2.2.1. Production
2.2.1.1. Install from Pypi release
pip install ak_safe
Note: The Pypi version does not ship with the optional streamlit gui
2.2.2. Development
Download the git and install via flit
git clone https://github.com/rpakishore/ak_safe.git
cd ak_sap
pip install flit
flit install --pth-file
3. Usage
Initialize the module as below
from ak_safe import debug, SAFEWrapper
debug(status=False)
#Initialize
safe = SAFEWrapper(attach_to_exist=True) #Attach to existing opened model
safe = SAFEWrapper(attach_to_exist=False) #Create new blank model from latest SAP2000
## Create blank model from a custom version of SAP2000
safe = SAFEWrapper(attach_to_exist=False, program_path=r'Path\to\SAP2000.exe')
Parent level methods and attributes
safe.hide(status=True) #Hide the SAFE window
safe.unhide(status=False) #Unhides SAFE window
safe.version #Returns SAFE version number
safe.api_version #Returns SAFE version number
safe.save(r'\Path\to\save\file.FDB')
4. Roadmap
- Generate Load Patterns
- Generate Load Cases
- Apply Loads
- Points
- Area
- Line
- Export joint reactions to Hilti-Profis file
5. License
See LICENSE for more information.
6. Contact
Arun Kishore - @rpakishore
Project Link: https://github.com/rpakishore/ak_safe
7. Acknowledgements
Metadata
Release files for ak_safe 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ak_safe-0.0.1.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ak_safe-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.1 kB
Release files / ak_safe-0.0.1.tar.gz
| Download URL | ak_safe-0.0.1.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96c307cff5eb18ad0f71a730cf27837905788018cb39bdc66bd8d01ddd17734f
|
|
BLAKE2b-256 checksum How to use checksums |
a093477779d6d9fb0a9d6b940059821ed84981dc77571dc8b0d81e92107560d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Release files / ak_safe-0.0.1-py3-none-any.whl
| Download URL | ak_safe-0.0.1-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd241cc687331ecbfb0c284c66b64b8f25927fb89da1f6df3120b1c532db50e1
|
|
BLAKE2b-256 checksum How to use checksums |
aa879d5a8d6d88efaadc2e50c21b9f35464164afd3923b0185d074a8536c2bea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|