Skill 詳細

solidworks-cad

Mechanical engineering integration specialty.

一致度一致の可能性エンジニアリング 向けにレビュー済み
出典soljourner/claude-engineering-skills外部ソース
報告インストール数82人気度の参考値

使用前に確認

自動レビューは関連性のみを確認し、安全性や推奨を保証しません。使用前に出典の説明を読んでください。

保存された出典プレビュー

SKILL.md

これはレビュー時に保存された抜粋です。完全で最新の内容は外部ソースを確認してください。

---
name: solidworks-cad
description: "Automate parametric pump impeller design in SolidWorks via API"
category: integrations
domain: mechanical
complexity: advanced
dependencies: []
---

# SolidWorks CAD Integration

This skill provides guidance for automating parametric pump impeller design and other mechanical component modeling using the SolidWorks API.

## Overview of SolidWorks API

SolidWorks provides a comprehensive API that allows users to automate design tasks, create parametric models, manipulate assemblies, and generate drawings programmatically. The API exposes the full functionality of SolidWorks through COM interfaces, enabling external applications to control SolidWorks and access its features.

Key capabilities:
- Parametric part and assembly creation
- Feature manipulation and dimension control
- Sketch creation and editing
- Drawing automation and annotation
- File import/export operations
- Simulation and analysis integration
- Bill of materials (BOM) generation

## Licensing Requirements

**Important**: SolidWorks API access requires:

1. **Valid SolidWorks License**: A full SolidWorks license is required to use the API. The API cannot be used with viewer-only licenses.

2. **License Types**:
   - SolidWorks Standard, Professional, or Premium
   - Network (concurrent) or standalone licenses both support API access
   - SolidWorks PDM integration requires additional PDM licenses

3. **Windows Platform**: SolidWorks and its API are Windows-only. The API utilizes COM/ActiveX technology specific to Windows.

4. **Version Compatibility**: Ensure your API code matches your SolidWorks version. API methods may vary between versions.

## API Access Methods

### 1. VBA Macros

VBA (Visual Basic for Applications) is the built-in scripting environment in SolidWorks.

**Advantages**:
- Native integration with SolidWorks
- No external dependencies
- Easy to debug within SolidWorks
- Direct access to UI elements

**Use Cases**:
- Quick automation scripts
- User interaction through forms
- Prototyping API workflows

**Access**: Tools > Macro > New or Edit in SolidWorks

### 2. Python (via win32com)

Python can control SolidWorks through the `win32com` package (pywin32).

**Advantages**:
- Modern, readable syntax
- Extensive Python ecosystem for data processing
- Integration with scientific libraries (NumPy, pandas)
- Easier to version control and test

**Requirements**:
```bash
pip install pywin32
```

**Use Cases**:
- Batch processing of parts
- Data-driven design automation
- Integration with engineering calculations
- Export/import workflows

### 3. C# .NET

C# provides strong typing and robust development tools for SolidWorks automation.

**Advantages**:
- Best performance
- Strong typing and IntelliSense support
- Comprehensive error handling
- Professional application development

**Requirements**:
- Visual Studio
- SolidWorks Interop Assemblies (installed with SolidWorks)

**Use Cases**:
- Custom SolidWorks add-ins
- Enterprise integration applications
- Complex automation workflows
- Standalone applications controlling SolidWorks

## Common Tasks

### Parametric Part Creation

Create parts with dimensions that can be modified programmatically:
- Define sketches with dimensional constraints
- Create features (extrude, revolve, sweep, loft)
- Add relations between features
- Set global variables and equations

### Impeller Blade Geometry

Specialized tasks for pump impeller design:
- **Blade Profile Generation**: Create complex 3D curves for blade profiles
- **Swept Features**: Use guide curves and profiles to create blade surfaces
- **Circular Patterns**: Array blades around the central axis
- **Hub and Shroud Modeling**: Create the central hub and outer shroud geometries
- **Fillet Operations**: Add fillets for manufacturing and performance optimization
- **Parametric Control**: Link blade angles, thickness, and count to design variables

### Assembly Automation

Automate assembly creation and modification:
- Inse
GitHub で全文を読む (外部ページ)
関連情報

関連する仕事