用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill gmsh-meshing-common-issues命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Write outbound email and external messages in Vamsee Achanta's voice — a subtle offer to help, never bold or rash claims. Load before drafting ANY email, LinkedIn/Collide reply, proposal note, or outreach sent under his name.
Save/publish analysis or computation results from ANY ecosystem repo to Hugging Face as a queryable, viewer-renderable dataset. Use when the user wants to "save results to hugging face", "publish dataset to HF", "hugging face data saving", "save analysis results", "hf dataset", "make results queryable", or "render via datasets-server API". Reshapes nested results into flat parquet tables, writes a dataset card with a viewer `configs:` block and provenance, applies license/public-vs-private routing, enforces a domain data-quality gate (faithful-to-source != correct), publishes to `aceengineer/<repo>-<projection>`, and verifies via the datasets-server API.
Clone, create, fork, configure, and manage GitHub repositories. Manage remotes, secrets, releases, and workflows. Works with gh CLI or falls back to git + GitHub REST API via curl.
基于 SOC 职业分类
正在显示 SKILL.md
| name | gmsh-meshing-common-issues |
| description | Sub-skill of gmsh-meshing: Common Issues (+1). |
| version | 1.0.0 |
| category | engineering |
| type | reference |
| scripts_exempt | true |
| Problem | Cause | Solution |
|---|---|---|
| Empty mesh output | Missing synchronize() | Call gmsh.model.geo.synchronize() or gmsh.model.occ.synchronize() before meshing |
| Wrong element types | Default is triangles | Use setRecombine() for quads, or RecombineAll option |
| Poor quality at corners | Sharp angles | Add local refinement or increase Mesh.Smoothing |
| STEP import fails | Topology issues | Enable Geometry.OCCFixDegenerated, OCCFixSmallEdges, OCCSewFaces |
| MSH format not recognized | Wrong version | Set Mesh.MshFileVersion to 2.2 for BEM tools |
| Physical groups empty | Not assigned | Must define physical groups before write() |
| Transfinite fails | Incompatible topology | Surface must be 3 or 4-sided, curves must have matching node counts |
| Size fields ignored | Other size sources active | Disable MeshSizeExtendFromBoundary, MeshSizeFromPoints, MeshSizeFromCurvature |
| Crash on large models | Memory | Use -nt for parallel meshing, increase verbosity to find bottleneck |
gmsh CLI: /usr/bin/env: 'python': No such file or directory | pip-installed gmsh wrapper uses #!/usr/bin/env python shebang | Fix shebang: sed -i 's|python$|python3|' ~/.local/bin/gmsh; or use /usr/bin/gmsh (system binary) |
| pip gmsh shadows system gmsh | ~/.local/bin/gmsh (pip wrapper) takes precedence over /usr/bin/gmsh (native) | Check type -a gmsh; pip version is Python-only (no GUI), system version has FLTK GUI |
# Enable verbose output
gmsh.option.setNumber("General.Verbosity", 99)
# Check model entities
print(gmsh.model.getEntities()) # All entities
print(gmsh.model.getEntities(dim=2)) # Surfaces only
# Check bounding box
xmin, ymin, zmin, xmax, ymax, zmax = gmsh.model.getBoundingBox(-1, -1)
# Visualize interactively
gmsh.fltk.run() # Opens GUI
# Check mesh statistics
gmsh.model.mesh.generate(2)
node_tags, _, _ = gmsh.model.mesh.getNodes()
print(f"Number of nodes: {len(node_tags)}")
elem_types, elem_tags, _ = gmsh.model.mesh.getElements(dim=2)
total_elems = sum(len(t) for t in elem_tags)
print(f"Number of elements: {total_elems}")