用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill cad-mesh-generation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cad-mesh-generation |
| version | 1.0.0 |
| category | data |
| description | Generate parametric CAD geometry and finite element meshes using FreeCAD and GMSH |
| type | reference |
| capabilities | [] |
| requires | [] |
| tags | [] |
Use this skill when you need to:
Creating geometry with FreeCAD Python API:
import sys
from pathlib import Path
from typing import List, Tuple, Optional
import numpy as np
# Try to import FreeCAD, provide fallback for development
try:
*See sub-skills for full details.*
### 2. GMSH Mesh Generation
Creating meshes with GMSH Python API:
```python
# Try to import gmsh
try:
import gmsh
GMSH_AVAILABLE = True
except ImportError:
GMSH_AVAILABLE = False
print("Warning: GMSH not available, using mock")
*See sub-skills for full details.*
### 3. Mesh Quality Assessment
Check mesh quality metrics:
```python
def analyze_mesh_quality(
mesh_file: Path,
mesh_type: str = 'surface'
) -> dict:
"""
Analyze mesh quality metrics.
*See sub-skills for full details.*
### 4. Mesh Conversion for Analysis Tools
Convert meshes to various formats:
```python
def convert_mesh_to_wamit_gdf(
mesh_file: Path,
output_file: Path,
symmetry: str = 'none'
) -> None:
"""
Convert GMSH mesh to WAMIT .gdf format.
*See sub-skills for full details.*
## Complete Examples
### Example 1: Complete Vessel Geometry and Mesh Workflow
```python
from pathlib import Path
import numpy as np
def complete_vessel_geometry_workflow() -> :