Agent skill
gmsh-meshing
gmsh Meshing Skill — CLI, .geo scripting, Python API, and solver integration
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/engineering/cad/gmsh-meshing
SKILL.md
Gmsh Meshing
When to Use This Skill
Use this skill when you need to:
- Generate surface panel meshes for BEM hydrodynamic solvers
- Create structured (transfinite) or unstructured meshes
- Script parametric geometries with .geo or Python API
- Perform boolean/CSG operations via OpenCASCADE kernel
- Import and remesh STEP, STL, or IGES geometry
- Control mesh density with size fields (distance, threshold, background)
- Export meshes to AQWA (.DAT), WAMIT (.GDF), Nemoh, or general formats (MSH, STL, VTK, UNV)
- Batch-generate meshes from the command line
Cross-references:
- GDF/CDB export code →
skills/data/scientific/cad-mesh-generation/SKILL.md - Mesh inspection/conversion →
skills/engineering/marine-offshore/mesh-utilities/SKILL.md
Resources
Online Documentation
- Official docs: https://gmsh.info/doc/texinfo/gmsh.html
- Python API reference: https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-API
- Tutorials: https://gmsh.info/#Tutorials
- Source repository: https://gitlab.onelab.info/gmsh/gmsh
Local Installation
- Executable:
D:\software\gmsh\gmsh-4.15.0-Windows64\gmsh.exe - Tutorials (.geo):
D:\software\gmsh\gmsh-4.15.0-Windows64\tutorials\t1.geothrought21.geo - Python tutorials:
D:\software\gmsh\gmsh-4.15.0-Windows64\tutorials\python\ - API examples:
D:\software\gmsh\gmsh-4.15.0-Windows64\examples\api\ - Boolean examples:
D:\software\gmsh\gmsh-4.15.0-Windows64\examples\boolean\
Tutorial Index
See assets/gmsh-reference.md for complete tutorial descriptions and CLI options reference.
Related Skills
skills/data/scientific/cad-mesh-generation/SKILL.md— FreeCAD + gmsh workflows, GDF/CDB exportskills/engineering/marine-offshore/mesh-utilities/SKILL.md— mesh inspection, conversion, quality checksskills/engineering/cad/cad-engineering/SKILL.md— general CAD engineeringskills/engineering/cad/freecad-automation/SKILL.md— FreeCAD automation
Sub-Skills
- Common Issues (+1)
Sub-Skills
- Executable (+2)
- Batch Meshing (+2)
- Geometry Primitives (+5)
- Initialization and Model Management (+6)
- Box Barge Surface Mesh (BEM) (+4)
- Export to AQWA (.DAT Format) (+4)
- Quality Metrics (+1)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?