Python binding for generating `.pe` files, for use with Hilti-Profis software.
Project description
Hilti Profis
Python binding for generating `.pe` files, for use with Hilti-Profis software.
Documentation · Report Bug · Request Feature
Table of Contents
1. About the Project
1.1. Features
- Create new custom
.pe
files - Modify part/whole of existing
.pe
file - Add load cases to anchor design
2. Getting Started
2.1. Prerequisites
Python 3.11 or above
2.2. Dependencies
Create the virutual environment and install dependencies
pip install flit
2.3. Installation
2.3.1. From github
Get the latest version directly from github
git clone https://github.com/rpakishore/Hilti-Profis.git
cd Hilti-Profis
pip install flit
flit install --deps production
2.3.2. From Pypi
pip install hilti_profis
2.4. Development
Download the git and install via flit
git clone https://github.com/rpakishore/Hilti-Profis.git
cd Hilti-Profis
pip install flit
flit install --pth-file
3. Usage
from hilti_profis.main import PE
anchor = PE(basefile=None) #Optionally provide an existing `.pe` file to import default values
#Change/Add values
anchor.Model['ProjectName'] = 'TestProject'
anchor.Model.Loads.Combos.delete_existing() #Delete Existing Load Combinations
anchor.Model.Loads.Combos.add(Fx=1, Fy=1, Fz=2, Mx=1, My=2, Mz=3, LoadType='Seismic', Comment='LC1') #Forces in N
anchor.Model.Loads.Combos.add(Fx=1000, Fy=1000, Fz=2000, Mx=1000, My=2000, Mz=3000, LoadType='Seismic', Comment='LC2') #Forces in N; Moments in N-mm
anchor.Model.apply() #Apply the changes
anchor.xml_content() #Get contents of `.pe` file
anchor.save('nosync-test.pe') #Save file to destination
6. License
See LICENSE for more information.
7. Contact
Arun Kishore - @rpakishore
Project Link: https://github.com/rpakishore/Hilti-Profis
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
hilti_profis-0.0.4.tar.gz
(21.1 kB
view details)
Built Distribution
File details
Details for the file hilti_profis-0.0.4.tar.gz
.
File metadata
- Download URL: hilti_profis-0.0.4.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2068429808c2ddff90372b1444ca3ef3cba60b9949282d61f82b509ee5ba3dea |
|
MD5 | 09137f07409a10bf5f98e22ff2f10bd9 |
|
BLAKE2b-256 | 79856c52b533510dbcf357eab0947f6814ee65c585e3db6c4e287cb03e07d3b4 |
File details
Details for the file hilti_profis-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: hilti_profis-0.0.4-py3-none-any.whl
- Upload date:
- Size: 25.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93a22e46d81b02d09d3e735f4b16b9efd838507e2d2d1714c239036606ff51ad |
|
MD5 | 0177a1df51ddcf3b183885e66833aee0 |
|
BLAKE2b-256 | 51a9ff48643eda9439c825ae9000220b90baaf714ea92cb8d820f94362d61321 |