Current version provides ULS Checks (NTC-2018) for RC sections based on FEM database
Project description
Introduction
ULS Checks (NTC-2018) on RC sections based on FEM database.
Example
imports
import os
from pysection import *
data sheets files
- design cross sections
xls_sec = '20_007_map_sezioni.xlsx'
- data from sofistik FEM
xls_fem = '20_007_data_sofistik.xlsx'
directories for saving data
rep_dir = '20_007_test'
if not os.path.exists(rep_dir):
os.mkdir(rep_dir)
sec_dir = f"{rep_dir}/data_sec"
sln_dir = f"{rep_dir}/data_sln"
res_dir = f"{rep_dir}/data_res"
read design sections
get_sec(src=xls_sec, sec_dir=sec_dir)
read fem data
- first read or update from xlsx file
get_sln(src=xls_fem, sln_dir=sln_dir)
- read existing hdf file
get_sln(src=f"{sln_dir}/data.h5", sln_dir=sln_dir)
run check
run_check(sec_dir=sec_dir, sln_dir=sln_dir, res_dir=res_dir)
generate report
- save report of all checks summary tables in html
report_summary(res_dir=res_dir, rep_dir=rep_dir)
- create report for single selected sln checks in html
report_single(res_dir=res_dir, rep_dir=rep_dir, sln_id=1574)
view of results
create_view(sln_dir=sln_dir, res_dir=res_dir, title="Viale Europa", view_html=f"{rep_dir}/view1.html")
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
Built Distribution
File details
Details for the file pysection-0.0.2.tar.gz
.
File metadata
- Download URL: pysection-0.0.2.tar.gz
- Upload date:
- Size: 40.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 708725d2dffd788eef1141403186427edc56c3fc0070af0c1594c7e0f18b2e2e |
|
MD5 | 9718dd1b0bdbf55dfbdae2cd35ebc4f9 |
|
BLAKE2b-256 | 258ea37d5ea3700cd3f9357ec7147d85fbe273caeb5bb93048c164aeeeaadd0b |
File details
Details for the file pysection-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pysection-0.0.2-py3-none-any.whl
- Upload date:
- Size: 43.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 961957e60a90993d9af5df9b707963db23d1ab50fb656e75024ff492c437ce68 |
|
MD5 | 3a08a092c504a291144b6e8ce7b87468 |
|
BLAKE2b-256 | f5b63be30687bbb71daed3501ded3485fe55aecc8770507a3a4c63d3a8b45a79 |