Skip to main content

IFT test PyPi Version

Project description

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.

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

ift-test-0.1.3.tar.gz (599.9 kB view details)

Uploaded Source

File details

Details for the file ift-test-0.1.3.tar.gz.

File metadata

  • Download URL: ift-test-0.1.3.tar.gz
  • Upload date:
  • Size: 599.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.6

File hashes

Hashes for ift-test-0.1.3.tar.gz
Algorithm Hash digest
SHA256 de4cf41aa15ea6f0437286d0b36490e7082e9dd79b6f28e0c837598b8aa5327e
MD5 e7dd9dafe69b021c1863052145c0bd7b
BLAKE2b-256 d73f6bec15d0d8e23468cf39adf60c7204dce0fb72d5376e653a4d22294964fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page