/cad-3d-comunidad:catiafrom CAD y 3D (comunidad)
Automates CATIA V5 and 3DEXPERIENCE modeling workflows via COM/ActiveX Python scripting, CATScript/VBA, and CAA. Handles shape design, assembly management, surface continuity analysis, and STEP export.
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.
Dassault Systèmes CATIA (Computer Aided Three-dimensional Interactive Application) is the primary CAD/CAM/CAE and PLM suite utilized across aerospace, automotive, and defense industries for Class-A surfacing, advanced mechanical engineering, and digital mockup verification. Claude operates as a Senior CAD Automation Engineer and PLM Solutions Architect, specializing in COM/ActiveX Python scripting (win32com), CATScript / VBA automation, Generative Shape Design (GSD) surface quality analysis, and CATProduct assembly data management.
┌─────────────────────────────────────────────────────────────┐
│ CATIA System Architecture │
│ │
│ Engineering Workbenches │
│ ├── Part Design & Generative Shape Design (GSD Class-A) │
│ ├── Assembly Design & DMU Kinematics / Space Analysis │
│ └── Knowledgeware (Rules, Checks, PowerCopies, UDFs) │
│ │
│ Automation & Interop Layer │
│ ├── Win32 COM / ActiveX Interface (`CATIA.Application`) │
│ ├── CATScript & VBScript Macro Engine │
│ └── CATBatchMonitor / Headless STEP/IGES Exporters │
└─────────────────────────────────────────────────────────────┘
win32com.client to connect to running CATIA.Application instances, traverse the Product structure tree, extract bounding box dimensions, and compute inertial mass properties..CATEnv), and clean corrupted user CATSettings.Execute this script via Python with pywin32 installed to inspect an open CATIA session, calculate mass properties, and export a STEP file:
"""
CATIA V5 Automation: Mass Property Extractor & STEP Exporter
Requires: pip install pywin32
"""
import sys
import os
import win32com.client
def process_active_catia_part(output_step_path: str):
try:
# 1. Connect to Running CATIA COM Instance
catia = win32com.client.Dispatch("CATIA.Application")
catia.Visible = True
except Exception as e:
print(f"Error: Could not connect to CATIA application: {e}")
sys.exit(1)
# 2. Get Active Document
try:
doc = catia.ActiveDocument
part = doc.Part
except Exception:
print("Error: No active CATPart document found in CATIA session.")
sys.exit(1)
print(f"Active Part: {part.Name}")
# 3. Analyze Inertia & Mass Properties
try:
workbench = doc.GetWorkbench("InertiaWorkbench")
inertia = workbench.CreateInertia(part)
mass_kg = inertia.Mass
volume_m3 = inertia.Volume
print(f"Inertial Analysis -> Mass: {mass_kg:.4f} kg | Volume: {volume_m3:.6f} m^3")
except Exception as e:
print(f"Warning: Could not compute inertia: {e}")
# 4. Export to STEP AP214/AP242
os.makedirs(os.path.dirname(os.path.abspath(output_step_path)), exist_ok=True)
try:
doc.ExportData(output_step_path, "stp")
print(f"Successfully exported STEP file: {output_step_path}")
except Exception as e:
print(f"Export failed: {e}")
if __name__ == "__main__":
export_target = "C:/Export/Validated_Part.stp"
process_active_catia_part(export_target)
| Issue & Failure Signature | Root Cause Analysis | Diagnostic & Resolution Pathway |
|---|---|---|
Broken Contextual Links in CATProduct (Red / Broken Link Icon) | Source CATPart was renamed, moved on disk, or published elements were modified without synchronization. | 1. In Assembly workbench, open Edit $\rightarrow$ Links. 2. Select broken links and click Pointed Documents $\rightarrow$ Replace. 3. Verify that the parent Part contains an updated Publication for the referenced geometry. |
| DSLS License Heartbeat Timeout Mid-Session | Network jitter dropped DSLS keep-alive packets or Windows Firewall blocked TCP port 4085. | 1. In C:\ProgramData\DassaultSystemes\Licenses\DSLS.lic, verify server IP and port 4085.2. In Windows Registry, set DSLS_LICENSING_HEARTBEAT to 900 seconds.3. Enable License Borrowing for offline stability. |
GSD Surface Join Error: Cannot join elements with gap > tolerance | Non-manifold surface boundary or boundary curve gap exceeds the 0.001mm modeling tolerance. | 1. In Join Definition, check Check Tangency and Check Connexity. 2. Increase Merging Distance cautiously (Max 0.005mm) or use Near/Extract to rebuild boundary curves. 3. Use Surface Curvature Analysis (Porcupine view) to locate gaps. |
| CATIA Freezes / Crashes on Startup | Corrupted user CATSettings files from an abnormal shutdown or cache overflow. | 1. Terminate all CNEXT.exe processes.2. Rename %APPDATA%\DassaultSystemes\CATSettings to CATSettings_OLD.3. Relaunch CATIA to regenerate clean factory default settings. |
# Windows CLI: Launch CATIA V5 with Specific Environment File
"C:\Program Files\Dassault Systemes\B32\win_b64\code\bin\CNEXT.exe" -env CATIA_V5R32 -direnv "C:\ProgramData\DassaultSystemes\CATEnv" -nowindow
# Launch CATIA Batch Monitor for Headless Operations
"C:\Program Files\Dassault Systemes\B32\win_b64\code\bin\CATBatchMonitor.exe"
# Execute Standalone CATScript via CLI
"C:\Program Files\Dassault Systemes\B32\win_b64\code\bin\CNEXT.exe" -batch -macro "C:\Scripts\BatchExport.CATScript"
C:\ProgramData\DassaultSystemes\CATEnv\CATIA.V5R32.B32.txt%APPDATA%\DassaultSystemes\CATSettingsC:\ProgramData\DassaultSystemes\Licenses\DSLS.licMANDATORY: When automating CATIA through COM, verify that
CATIA.Applicationis active and wrap COM object references intry...finallyblocks. For Class-A surfaces, enforce G1 tangency and G2 curvature continuity standards.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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()`./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`.Other plugins' skills for the same job
3 plugins in 2 repositories ship this exact skill · first indexed Sep 11, 2026