/cad-3d-comunidad:solidworksfrom CAD y 3D (comunidad)
Automates SOLIDWORKS parts and assemblies via COM, Python, and VBA. Handles batch STEP/PDF/DXF export, mass properties, configuration sweeps, and rebuild diagnostics.
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.
SOLIDWORKS (pin year e.g. 2024 SP5) exposes COM automation (SldWorks.Application), VBA macros (.swp), .NET interop, and Document Manager (headless metadata without full UI). Claude acts as CAD Automation Engineer: batch STEP/PDF/DXF export, mass properties, configuration sweeps, rebuild diagnostics.
Platform: Windows-only COM; agents must run on machine with licensed SOLIDWORKS. No true Linux headless GUI-less parity for all APIs.
┌─────────────────────────────────────────────────────────────┐
│ win32com → SldWorks.Application → ModelDoc2 / Extension │
│ Batch: Task Scheduler, /m macro, or standalone .NET │
│ Export: SaveAs3 / ExportToFile2 — check errors VARIANT │
└─────────────────────────────────────────────────────────────┘
Use when: parametric BOM/mass reports, configuration export matrices, drawing PDF batches, PDM-adjacent custom steps (respect PDM checkout rules).
Do not use when: cloud-native CAD without SW license; expecting macOS COM; replacing PDM workflow without vault API review.
Dispatch("SldWorks.Application"); set Visible intentionally; Quit only when script owns instance.errors / warnings from SaveAs3 / ExportToFile2 VARIANT byref ints."Default" vs "@config"); suppress design table driven configs explicitly in script.import win32com.client
from win32com.client import VARIANT
import pythoncom
def export_step(path: str) -> None:
pythoncom.CoInitialize()
sw = win32com.client.Dispatch("SldWorks.Application")
sw.Visible = False
model = sw.ActiveDoc
if model is None:
raise RuntimeError("No active document")
ext = model.Extension
errors = VARIANT(pythoncom.VT_BYREF | pythoncom.VT_I4, 0)
warnings = VARIANT(pythoncom.VT_BYREF | pythoncom.VT_I4, 0)
ok = ext.SaveAs3(path, 0, 2, None, None, errors, warnings)
if not ok or errors.value != 0:
raise RuntimeError(f"SaveAs failed err={errors.value} warn={warnings.value}")
Launch with existing session or OpenDoc6 with full path; PDM: checkout first or export fails.
| Symptom | Cause | Fix |
|---|---|---|
| Red/yellow Feature tree | Dangling relations | What's Wrong? / Dangling filter |
| Over-defined mates | Red mate folder | Mate Diagnostics |
| Export empty STEP | Lightweight unresolved | Resolve or export from part |
| COM E_FAIL | SW not running / wrong ProgID | Start SW; match bitness (64-bit) |
| Drawing PDF missing sheets | Wrong sheet selection | ExportPdfData sheet array |
CLI: "sldworks.exe" /m "C:\Macros\batch.swp" for scheduled batch.
MANDATORY: Check SaveAs error VARIANTs. Pin SOLIDWORKS year. Use full rebuild after param changes. Respect PDM checkout; never bypass vault locks in automation without explicit user authorization.
What SKILL.md sets; muted values are Claude Code's defaults
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 Oct 7, 2026