Please note, the GUI is currently heavily limited in functionality and only serves to showcase the possibilities with the ak_sap module.
The base ak_sap
does not comes pre-compiled with the streamlit package.
You will need to use the --extra gui
command during install to add the streamlit package.
git clone https://github.com/rpakishore/ak_sap.git && cd ak_sap
pip install uv
uv venv && uv pip install -r pyproject.toml --extra gui
- Make sure the SAP Model you want to control is open. (Current version of gui does not support creating new SAP files)
uv run streamlit run Start_Here.py
- Open up the SAP2000 model of your choice and click
Attach to Model
Steps:
- Run the Analysis on SAP2000
- Select the frame and attached support point for export from the 3D model.
- Click the
Extract Values
button in browser. - Select the interested load combinations and cases for export.
- Orient the Axis, by assigning
X
,Y
,Z
axis of Hilti to axis1
(Red),2
(Green) and3
(Blue) of SAP. - Optionally, upload an exisitng
.pe
file to import default values. - Click the
Export .pe file
button. - The exported file will be of format "
SAP filename
-Selected Node #
-Selected Section Shape
-MMDD
_HHMM
.pe"
To Implement:
- Incorporate the section profile into the
.pe
file. - Replace the manual deletion of existing loadcase with inbuilt
delete_existing
method of Hilti-Profis Class in version0.0.4
. - Defer data generation until the click of download button (Part of Streamlit roadmap for May-July 2024).