Skip to main content

IFT NXOPEN API

Beschreibung

This repository contains an API for the IFT in Siemens NX. The classes in this API use the NXOpen API to get important data from a Siemens NX Session.

This package was generated for the SurfAlce project, but the functionalities of the different classes can be used in any other project.

All classes and their methods can be found in the folder ./src/IFT in the Folder ./scriptshowever you can find scripts that can be executed from Siemens NX.

Before you can use these functionalities, stick to the setup instructions below.

Setup

  • Install Python 3.8 if not already installed and remind the installation directory.
  • Add following system variables to the %UGII_BASE_DIR%/UGII/ugii_env.dat file.
  • UGII_PYTHON_LIBRARY_DIR = <installation directory>/Python38
  • UGII_PYTHONPATH = %UGII_PYTHON_LIBRARY_DIR%;%UGII_PYTHON_LIBRARY_DIR%\DLLs;%UGII_PYTHON_LIBRARY_DIR%\Lib;%UGII_PYTHON_LIBRARY_DIR%\Lib\site-packages;%UGII_BASE_DIR%\nxbin\python
  • UGII_CAM_WRITE_MRR = <abitrary directory with writing permisions>
  • Install the API into the python distribution via pip with the following command pip install git+https://git.ift.tuwien.ac.at/lab/ift/sis/data-science/nxopen-export.git
  • Open a Siemens NX CAM-Setup
  • If not already done, enable the Developer tab, by right-click on the blue ribbon at the top of NX and set a tick to "Developer"
  • Press "Play" and search for the ./scripts/nx_data_export.py file available in the gitlab repository.
  • The script can be executed via the callback-function of a personalized button in the NX Ribbon.

NOTE: None of the system variables specified above, expecially UGII_PYTHONPATH, may exceed 256 characters.

Release files for ift4aixpath 0.0.3

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

Source distribution (sdist)

Source distribution for ift4aixpath 0.0.3
File Size Uploaded
ift4aixpath-0.0.3.tar.gz 603.9 kB Details

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / ift4aixpath-0.0.3.tar.gz

Download URL ift4aixpath-0.0.3.tar.gz
Size 603.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f663ffe0be4f1d14e8f198fdb7077486e08d12217f390f1bdda6b538a3d3e567
BLAKE2b-256 checksum
How to use checksums
b06bab303e3cafb9bdca90b0f185f3010d916e2aa6537c124ad16efeb869ac66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.10

Release files / ift4aixpath-0.0.3-py3-none-any.whl

Download URL ift4aixpath-0.0.3-py3-none-any.whl
Size 605.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b2acab1cc84458f57e2bafedb0b14ed66f49d64cf35ae3235ce382af584531a
BLAKE2b-256 checksum
How to use checksums
9a4b4440c3c2dda85adf62f96f3d2c99afbf2a9b7fd8a70ddbfcd4cd007d2a90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.0.3 This release

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