Skip to content

PhyloSophT/NX_Fusion_Dive_Automation

Repository files navigation

NX_FUSION_DIVE_Automation

NX_FUSION_DIVE_Automation is a Python-based tool for automating CAD model updates, batch simulations, and result extraction. It enables fast design iteration and data-driven decision-making in engineering workflows.

Compatible with:

Siemens NX
Autodesk Fusion
DIVE (Cloud-Based Simulation)
With minor configuration, this tool can be adapted for other CAD or simulation platforms.

Key Features

• Automated parameter updates via NX/Open API (Python scripting)
• Batch model generation from CSV data
• Parallel simulation using DIVE cloud platform
• Automatic STL/STEP export for simulation
• Result extraction and visualization with Paraview
• Fully automatable optimization pipelines

Project Showcase with Siemens NX

The NX Open API can only be accessed inside the program itself, the Term for applicable code is scripts and can be run in the Journal-Manager of NX, while C/C++ are compatible, the code has been written in Python as it lends itself well to automation

1

The most important class For the parameterization are the Expressions, changes in their values are reflected in realtime. In this example the values for the cubes width, length and height has been changed. The Expression window can be opened with STRG + E

2

We can read a CSV file and apply different parameter groups to our part and save each version separately as a stl file which later can be uploaded to our cloud-based Simulation software. (STEP files are also compatible)

3
Ausfuhrung_Parameter_Code.mp4

DIVE is a cloudbased simulation Software based in Germany, it can run thousands of complicated high-end simulations at the same time since the computing happens on their servers

7

While the parameterization runs, other Python files can be run simultaneously with subprocesses, therefore it is possible to simulate during parametrization

5

With these programs, we can establish an automated pipeline for optimization problems and iterative workflows

4

Other than numerical results, visual results can be evaluated in Paraview, with DIVE we can export the simulation results to Paraview with Python automatically. Note that the timesteps are downloaded in zip batches of 1GB to make unzipping and sorting easier, the DIVE_file_extractor.py has been created

electric.mp4

An Example of an electric polisher filled with water simulated in DIVE

Optimizations

The implementation of a GUI helps make the program easier to use for its user
The Project could be expanded with Machine learning or LLM API to reduce computational time done by its user

Software Stack

• Python 3.13.5+
• NXOpen API (Python)
• Autodesk adsk API (Python)
• DIVE fisherman API
• Paraview (for visualization)

About

Python-based integration of the Siemens NX Open API, AutoDesk API and DIVE CAE Simulation API to streamline CAD parameterization, simulation execution, and post-processing. This tool automates model updates, runs batch simulations, and extracts/analyses results, enabling rapid design iteration and data-driven engineering decisions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages