gmsh-meshing-geometry-primitives

Sub-skill of gmsh-meshing: Geometry Primitives (+5).

5 stars

Best use case

gmsh-meshing-geometry-primitives is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of gmsh-meshing: Geometry Primitives (+5).

Teams using gmsh-meshing-geometry-primitives should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/geometry-primitives/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/engineering/cad/gmsh-meshing/geometry-primitives/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/geometry-primitives/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How gmsh-meshing-geometry-primitives Compares

Feature / Agentgmsh-meshing-geometry-primitivesStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of gmsh-meshing: Geometry Primitives (+5).

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Geometry Primitives (+5)

## Geometry Primitives


```geo
// Points: Point(id) = {x, y, z, mesh_size};
Point(1) = {0, 0, 0, 1.0};
Point(2) = {10, 0, 0, 1.0};
Point(3) = {10, 5, 0, 0.5};
Point(4) = {0, 5, 0, 0.5};

// Lines
Line(1) = {1, 2};
Line(2) = {2, 3};

*See sub-skills for full details.*

## Surface and Volume


```geo
// Surface from curve loops (first = outer boundary, rest = holes)
Plane Surface(1) = {1};
Plane Surface(2) = {2, 3};  // Surface 2 with hole defined by loop 3

// Surface Loop (for volumes)
Surface Loop(1) = {1, 2, 3, 4, 5, 6};

// Volume from surface loops
Volume(1) = {1};
```

## Transformations


```geo
// Translate (creates copy if Duplicata used)
Translate {dx, dy, dz} { Surface{1}; }

// Rotate: angle in radians
Rotate {{ax, ay, az}, {px, py, pz}, angle} { Surface{1}; }

// Symmetry
Symmetry {a, b, c, d} { Surface{1}; }  // plane ax+by+cz+d=0


*See sub-skills for full details.*

## OpenCASCADE Kernel


```geo
// Enable OpenCASCADE kernel (must be first geometry command)
SetFactory("OpenCASCADE");

// Primitives
Box(1) = {x, y, z, dx, dy, dz};
Sphere(2) = {x, y, z, radius};
Cylinder(3) = {x, y, z, dx, dy, dz, radius};
Cone(4) = {x, y, z, dx, dy, dz, r1, r2};
Torus(5) = {x, y, z, r1, r2};

*See sub-skills for full details.*

## Physical Groups


```geo
// Physical groups assign labels for export
Physical Surface("hull") = {1, 2, 3};
Physical Surface("deck") = {4};
Physical Volume("fluid") = {1};

// Numbered groups
Physical Surface(100) = {1, 2, 3};
```

## Mesh Control in .geo


```geo
// Characteristic length at points
Characteristic Length {1, 2, 3} = 0.5;

// Transfinite curves (structured)
Transfinite Curve {1, 3} = 20;       // 20 nodes
Transfinite Curve {2, 4} = 10;       // 10 nodes
Transfinite Curve {1} = 20 Using Progression 1.1;  // graded

// Transfinite surface

*See sub-skills for full details.*

Related Skills

hydrodynamic-pipeline-gmsh-panel-mesh-for-hydrodynamics

5
from vamseeachanta/workspace-hub

Sub-skill of hydrodynamic-pipeline: Gmsh Panel Mesh for Hydrodynamics (+3).

gmsh-openfoam-orcaflex-stub-mode-details

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Stub Mode Details.

gmsh-openfoam-orcaflex-real-mode-requirements

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Real Mode Requirements.

gmsh-openfoam-orcaflex-quick-invocation

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Quick Invocation.

gmsh-openfoam-orcaflex-gate-1-mesh-quality

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Gate 1 — Mesh Quality (+1).

gmsh-openfoam-orcaflex-file-map

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: File Map.

gmsh-openfoam-orcaflex-error-propagation-map

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Error Propagation Map.

gmsh-openfoam-orcaflex-converter-1-gmsh-msh-openfoam-polymesh

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Converter 1: Gmsh .msh → OpenFOAM polyMesh (+1).

gmsh-openfoam-orcaflex-agent-usage-pattern

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Agent Usage Pattern.

gmsh-openfoam-orcaflex

5
from vamseeachanta/workspace-hub

Multi-physics simulation pipeline — Gmsh mesh generation → OpenFOAM CFD → OrcaFlex structural/mooring analysis. Agent-callable end-to-end workflow that passes geometry, fluid loads, and structural response through three solvers in sequence with validated handoffs at each step. Stub/mock fallbacks for environments without solver licenses.

cfd-pipeline-path-a-freecadcad-to-gmsh

5
from vamseeachanta/workspace-hub

Sub-skill of cfd-pipeline: Path A: FreeCAD/CAD to Gmsh (+3).

orcawave-mesh-generation-integration-with-gmsh-meshing-skill

5
from vamseeachanta/workspace-hub

Sub-skill of orcawave-mesh-generation: Integration with gmsh-meshing Skill.