/cad-3d-comunidad:siemens-nxfrom CAD y 3D (comunidad)
Automates Siemens NX CAD modeling with NX Open Python scripts, troubleshoots Synchronous Technology geometry issues, and resolves Teamcenter PLM integration problems.
Ships in CAD y 3D (comunidad). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Siemens NX (formerly Unigraphics) is the high-end CAD/CAM/CAE platform powered by the Siemens Parasolid modeling kernel. Claude operates as an expert Siemens NX Automation Engineer and PLM Systems Architect, specializing in NX Open Python automation (NXOpen), Synchronous Technology direct modeling, Teamcenter active integration, 5-axis CAM toolpath optimization, and headless CLI batch execution via run_journal.exe.
┌─────────────────────────────────────────────────────────────┐
│ Siemens NX System Architecture │
│ │
│ Engineering & Manufacturing Subsystems │
│ ├── Parasolid B-Rep Kernel & Synchronous Direct Modeling │
│ ├── Advanced 5-Axis CAM & Post Configurator (TCL Engine) │
│ ├── Simcenter 3D Multiphysics FEA / CFD Solvers │
│ └── Teamcenter PLM Active Workspace / 4-Tier Client Bridge│
│ │
│ Automation & Development Layer │
│ ├── NX Open API (Python 3.11, C++, C# .NET, Java) │
│ ├── Journaling Engine & `run_journal.exe` Batch Processor │
│ └── Block UI Styler (Custom Native Dialog Framework) │
└─────────────────────────────────────────────────────────────┘
import NXOpen to automate feature tree traversal, expression editing, sketch construction, and drafting export.run_journal.exe): Construct batch conversion utilities to translate enterprise .prt archives into STEP AP242 and JT visualization formats.run_journal.exe)Save this script as export_part.py and run via run_journal.exe to inspect mass properties and export a STEP AP242 file with Semantic PMI annotations:
"""
Siemens NX Open: Mass Property Inspector & STEP AP242 Exporter
Execute via: run_journal.exe export_part.py -args "C:/Parts/bracket.prt" "C:/Export/bracket.stp"
"""
import sys
import os
import NXOpen
import NXOpen.Step242Creator
def process_nx_part(input_prt: str, output_stp: str):
the_session = NXOpen.Session.GetSession()
the_uf_session = NXOpen.UF.UFSession.GetUFSession()
if not os.path.exists(input_prt):
print(f"Error: Input part '{input_prt}' does not exist.")
sys.exit(1)
print(f"Loading Part: {input_prt}...")
base_part, part_load_status = the_session.Parts.OpenBaseDisplay(input_prt)
work_part = the_session.Parts.Work
# 1. Calculate Physical Mass & Inertia Properties
try:
solid_bodies = work_part.Bodies.ToArray()
if solid_bodies:
mass_props = the_uf_session.Modl.AskMassProps3d(
[b.Tag for b in solid_bodies], len(solid_bodies), 1, 1, 0.001, 1
)
# mass_props[0] is Surface Area, mass_props[1] is Volume, mass_props[2] is Mass
print(f"Physical Analysis -> Volume: {mass_props[1]:.4f} mm^3 | Mass: {mass_props[2]:.4f} kg")
except Exception as e:
print(f"Warning: Could not compute mass properties: {e}")
# 2. Configure STEP AP242 Export
step_creator = the_session.DexManager.CreateStep242Creator()
step_creator.ExportAs = NXOpen.Step242Creator.ExportAsOption.Ap242
step_creator.InputFile = input_prt
step_creator.OutputFile = output_stp
step_creator.ExportPmi = True # Include Product & Manufacturing Info (PMI)
os.makedirs(os.path.dirname(os.path.abspath(output_stp)), exist_ok=True)
# Commit Export
step_creator.Commit()
step_creator.Destroy()
print(f"Successfully exported STEP AP242: {output_stp}")
# Clean session
the_session.Parts.CloseAll(NXOpen.BasePart.CloseModified.CloseModified, None)
if __name__ == "__main__":
if len(sys.argv) < 3:
print("Usage: run_journal.exe export_part.py -args <input.prt> <output.stp>")
sys.exit(1)
process_nx_part(sys.argv[1], sys.argv[2])
| Issue & Failure Signature | Root Cause Analysis | Diagnostic & Resolution Pathway |
|---|---|---|
| Synchronous Move Face Fails on Imported STEP | Imported geometry contains sliver faces, self-intersecting blends, or gaps within Parasolid tolerance ($10^{-5}$). | 1. Run Menu $\rightarrow$ Information $\rightarrow$ Geometry $\rightarrow$ Examine Geometry. 2. Check for Self-Intersection, Sheet Boundaries, and Tolerant Edges. 3. Apply Optimize Face (Menu $\rightarrow$ Edit $\rightarrow$ Surface $\rightarrow$ Optimize Face) before moving faces. |
Teamcenter Check-In Fails (Item Revision is Locked) | A previous NX session terminated abnormally without releasing the checkout lock on the Teamcenter volume. | 1. In Teamcenter Rich Client / Active Workspace, open My Worklist. 2. Select the locked dataset $\rightarrow$ Actions $\rightarrow$ Cancel Check-Out. 3. Check %TEMP%\NX_Teamcenter_*.log for stalled session tokens. |
Siemens SPLM License Server Error (-15, Cannot connect to license server) | License daemon ugslmd is stopped on the server, or firewall blocked TCP port 28000. | 1. Verify SPLM_LICENSE_SERVER=28000@<SERVER_IP> in system environment variables.2. Ensure ugslmd service is running on license host.3. Check client log at %LOCALAPPDATA%\Siemens\NX<VER>\syslog.txt. |
| CAM Post Configurator TCL Error during Post-Processing | Custom post-processor encountered unhandled tool axis orientation or missing kinematic vector in machine tool definition. | 1. In NX CAM, enable Post Configurator Debugger. 2. Inspect PC_DEBUG_OUTPUT in the generated .ptc log.3. Verify machine kinematic rotary limits ($A/C$ or $B/C$ axes) in Machine Tool Builder. |
# Windows CLI: Execute NX Open Python Journal Headless
"%UGII_BASE_DIR%\UGII\run_journal.exe" "C:\Scripts\export_part.py" -args "C:\Parts\engine_block.prt" "C:\Export\engine_block.stp"
# Convert Legacy NX Part File to Current Version
"%UGII_BASE_DIR%\UGII\ug_convert_part.exe" -target_version=NX2312 -u "C:\Models\legacy.prt"
# Launch Siemens NX with Clean Environment
"%UGII_BASE_DIR%\UGII\ugraf.exe" -cleanup
UGII_BASE_DIR: Installation root (e.g. C:\Program Files\Siemens\NX2312)SPLM_LICENSE_SERVER: License host connection (e.g. 28000@lic-server)%UGII_BASE_DIR%\UGII\ugii_env.dat%LOCALAPPDATA%\Siemens\NX<VER>\syslog_*.syslogMANDATORY: Always execute
the_session.Parts.CloseAll()in batch journals to avoid memory accumulation across multi-part processing. Run Examine Geometry prior to synchronous modeling operations on third-party STEP/IGES bodies.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cad-automation, nx-open, parasolid, synchronous-technology, teamcenter, plm
Other plugins' skills for the same job
npx claudepluginhub lagzgabrielmuller-dot/kit-ingenieria-3d --plugin cad-3d-comunidad16 skills in this plugin
/build123dCAD modeling with build123d Python library. Use when creating 3D models, exporting to GLB/STEP/STL, or doing boolean operations (union, difference, intersection). Triggers on: CAD, 3D modeling, sphere, box, cylinder, mesh export, GLB, STEP, STL, solid modeling, parametric design, threads, fasteners, bolts, nuts, screws, gears, pipes, flanges, bearings, bd_warehouse, spur gear, helical gear, bevel gear, planetary gear, ring gear, cycloid gear, rack and pinion, gggears, herringbone, gear mesh, gear train./cad-khanaDiagnostics-first CAD wrapper around Build123d: assembly-level interference/clearance assertions plus optional per-part printability checks. Load BEFORE editing an `assembly.py` that uses the wrapper or interpreting its diagnostic JSON — SKILL.md has conventions the scripts rely on but don't restate, including which of three file kinds you are editing, and names the reference file to load for each task. TRIGGER: about to run `khana check`/`export`/`view`/`draw`/`run`, or editing a file that imports `cad_khana` or calls `Assembly()`/`check()`/`inspect()`./catiaAutomate CATIA V5 and 3DEXPERIENCE modeling workflows through CAA or COM, including shape design and assembly operations./dfam-checkMeasure mesh files against Design for Additive Manufacturing (DfAM) rules and report printability findings per process (FDM, SLS, SLA/DLP, metal PBF, MJF). Use when the user asks whether a part is printable, wants overhang/wall-thickness/support analysis of an `.stl`, `.obj`, `.ply`, or `.3mf` mesh, wants a build-orientation recommendation, or wants DfAM redesign guidance before slicing with `$gcode` or regenerating geometry with `$cad`./dfmDesign-for-manufacturing review of a part for sheet metal, CNC machining, or injection molding - bends, reliefs and flat patterns; machining access, internal corners, deep features and setups; draft, undercuts and projected area. Use when the user asks whether a part can be bent, machined or molded, asks about manufacturability or tooling, or asks for a DFM review or redesign./fusion-360Automate Autodesk Fusion parametric models with the Python API, inspect timeline features, and prepare CAM workflows for review.3 plugins in 2 repositories ship this exact skill · first indexed Sep 11, 2026