Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev20240207 #3

Merged
merged 2 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ sap.save(r'\Path\to\save\file.sdb')

### 3.1. GUI

The repo now supports a streamlit GUI for the wrapper. Checkout [`GUI.md`](/documentation/Usage/GUI.md) for instructions.
The repo has an optional streamlit GUI for the wrapper. Checkout [`GUI.md`](/documentation/Usage/GUI.md) for installation and usage instructions.

### 3.2. Layout Documentation

Expand Down
9 changes: 8 additions & 1 deletion documentation/Usage/GUI.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ The package not comes pre-compiled with the streamlit package.
cd ak_sap
```

- Install dependencies

```bash
pip install flit && flit install
```

- Launch the app run

```bash
Expand All @@ -26,7 +32,7 @@ The package not comes pre-compiled with the streamlit package.
- Alternatively, In windows launch by executing the script

```cmd
cd scripts\win
cd scripts
run.bat
```

Expand Down Expand Up @@ -64,6 +70,7 @@ Steps:
8. 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 version `0.0.4`.
- [ ] Defer data generation until the click of download button (Part of Streamlit roadmap for May-July 2024).
11 changes: 5 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@ dynamic = ["version", "description"]
dependencies = [
"comtypes==1.2.0",
"forallpeople==2.6.7",
"keyring==24.3.0",
"pandas==2.1.3",
"rich==13.7.0",
"typer[all]==0.9.0",
"pytest==7.4.3",
"streamlit==1.31.0",
"hilti_profis==0.0.3"
"typer[all]==0.9.0"
]

[project.optional-dependencies]
Expand All @@ -28,7 +24,10 @@ dev = [
"ipykernel",
"ipywidgets",
"pandasgui",
"line-profiler"
"line-profiler",
"pytest==7.4.3",
"streamlit==1.31.0",
"hilti_profis==0.0.3"
]

[project.urls]
Expand Down
Loading