Skip to main content

Hilti Profis

Python binding for generating `.pe` files, for use with Hilti-Profis software.

Documentation · Report Bug · Request Feature


GitHub commit activity GitHub last commit tests PyPI - Version

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

Metadata

Release files for hilti_profis 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hilti_profis 0.0.4
File Size Uploaded
hilti_profis-0.0.4.tar.gz 21.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hilti_profis 0.0.4
File Interpreter ABI Platform
hilti_profis-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 46.5 kB

Release files / hilti_profis-0.0.4.tar.gz

Download URL hilti_profis-0.0.4.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2068429808c2ddff90372b1444ca3ef3cba60b9949282d61f82b509ee5ba3dea
BLAKE2b-256 checksum
How to use checksums
79856c52b533510dbcf357eab0947f6814ee65c585e3db6c4e287cb03e07d3b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release files / hilti_profis-0.0.4-py3-none-any.whl

Download URL hilti_profis-0.0.4-py3-none-any.whl
Size 25.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93a22e46d81b02d09d3e735f4b16b9efd838507e2d2d1714c239036606ff51ad
BLAKE2b-256 checksum
How to use checksums
51a9ff48643eda9439c825ae9000220b90baaf714ea92cb8d820f94362d61321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page