italink/unrealclientprotocol/unreal-modeling-meshops

Claude Code and agent skill by italink/unrealclientprotocol

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

GeometryScript 网格处理操作。当用户要求修复、简化、Remesh、布尔运算、体素化、分解、基础编辑或细分网格时使用。

Install

npx vskill@latest install italink/unrealclientprotocol/unreal-modeling-meshops

SKILL.md

建模 — 网格操作

前置条件:先阅读 unreal-modeling。

库

库CDO
修复/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshRepairFunctions
简化/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshSimplifyFunctions
Remesh/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_RemeshingFunctions
布尔/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshBooleanFunctions
体素/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshVoxelFunctions
分解/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshDecompositionFunctions
基础编辑/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshBasicEditFunctions
细分/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshSubdivideFunctions
OpenSubdiv/Script/GeometryScriptingEditor.Default__GeometryScriptLibrary_OpenSubdivFunctions

修复函数

函数关键参数说明
CompactMeshTargetMesh压缩顶点/三角形 ID 空间,移除间隙
RemoveUnusedVerticesTargetMesh删除未被三角形引用的顶点
WeldMeshEdgesTargetMesh, WeldOptions焊接开放边界(修复裂缝)
ResolveMeshTJunctionsTargetMesh, ResolveOptions解决 T 形交叉
SnapMeshOpenBoundariesTargetMesh, SnapOptions吸附开放边界到最近的兼容边界
FillAllMeshHolesTargetMesh, FillOptions填充所有孔洞。out:NumFilledHoles、NumFailedHoleFills
RemoveSmallComponentsTargetMesh, Options删除体积/面积/三角形数低于阈值的孤立组件
RemoveHiddenTrianglesTargetMesh, Options删除从外部不可见的三角形
SplitMeshBowtiesTargetMesh, bMeshBowties, bAttributeBowties拆分蝴蝶结拓扑
RepairMeshDegenerateGeometryTargetMesh, Options删除退化三角形(面积/边长过小)
修复结构体

`FGeometryScriptWeldEdgesOptions`:Tolerance(float, 1e-6)、bOnlyUniquePairs(bool, true)

`FGeometryScriptFillHolesOptions`:FillMethod(枚举)、bDeleteIsolatedTriangles(bool, true)

`EGeometryScriptFillHolesMethod`:Automatic、MinimalFill、PolygonTriangulation、TriangleFan、PlanarProjection

`FGeometryScriptRemoveSmallComponentOptions`:MinVolume(0.0001)、MinArea(0.0001)、MinTriangleCount(1)

`FGeometryScriptDegenerateTriangleOptions`:Mode(枚举)、MinTriangleArea(0.001)、MinEdgeLength(0.0001)、bCompactOnCompletion(true)

`EGeometryScriptRepairMeshMode`:DeleteOnly、RepairOrDelete、RepairOrSkip

简化函数

函数关键参数说明
ApplySimplifyToTriangleCountTargetMesh, TriangleCount, Options简化到目标三角形数
ApplySimplifyToVertexCountTargetMesh, VertexCount, Options简化到目标顶点数
ApplySimplifyToToleranceTargetMesh, Tolerance, Options简化到几何容差
ApplySimplifyToEdgeLengthTargetMesh, EdgeLength, Options简化到目标边长
ApplySimplifyToPlanarTargetMesh, Options简化平面区域(不改变 3D 形状)
ApplySimplifyToPolygroupTopologyTargetMesh, Options, GroupLayer简化到 Polygroup 拓扑
ApplyClusterSimplifyToEdgeLengthTargetMesh, EdgeLength, Options基于聚类的快速简化
简化结构体

`FGeometryScriptSimplifyMeshOptions`

字段类型默认值说明
MethodEGeometryScriptRemoveMeshSimplificationTypeAttributeAware简化算法
bAllowSeamCollapsebooltrue允许接缝折叠
bAllowSeamSmoothingbooltrue允许接缝平滑
bAllowSeamSplitsbooltrue允许接缝分裂
bPreserveVertexPositionsboolfalse保留顶点位置
bAutoCompactbooltrue自动压缩 ID 空间

`EGeometryScriptRemoveMeshSimplificationType`:StandardQEM、VolumePreserving、AttributeAware

Remesh 函数

函数关键参数说明
ApplyUniformRemeshTargetMesh, RemeshOptions, UniformOptions均匀重新网格化

`FGeometryScriptRemeshOptions`:bDiscardAttributes(false)、bReprojectToInput(true)

`FGeometryScriptUniformRemeshOptions`:TargetType(枚举)、TargetEdgeLength(3.0)、TargetTriangleCount(1000)、SmoothingRate(0.25)、Iterations(20)

布尔函数

函数关键参数说明
ApplyMeshBooleanTargetMesh, TargetTransform, ToolMesh, ToolTransform, BooleanOperation, Options布尔运算(并/差/交)
ApplyMeshSelfUnionTargetMesh, Options自合并(消除自相交)
ApplyMeshPlaneCutTargetMesh, CutFrame, Options平面切割
ApplyMeshPlaneSliceTargetMesh, CutFrame, Options平面切片(保留两侧)
ApplyMeshMirrorTargetMesh, MirrorFrame, Options镜像

布尔操作枚举(BooleanOperation 参数):Union、Subtract、Intersect

体素函数

函数关键参数说明
ApplyMeshSolidifyTargetMesh, Options体素化实体化
ApplyMeshMorphologyTargetMesh, Options体素形态学操作(膨胀/腐蚀/开/闭)

`EGeometryScriptMorphologicalOpType`:Dilate、Contract、Close、Open

基础编辑函数

函数关键参数说明
AppendMeshTargetMesh, AppendMesh追加另一个 mesh
AppendMeshTransformedTargetMesh, AppendMesh, AppendTransform带变换追加
AppendMeshRepeatedTargetMesh, AppendMesh, AppendTransform, RepeatCount重复追加
SetVertexPositionTargetMesh, VertexID, NewPosition, bDeferChangeNotifications设置单个顶点位置
AddVertexToMeshTargetMesh, NewPosition添加顶点。out:NewVertexIndex
AddVerticesToMeshTargetMesh, NewPositionList批量添加顶点。out:NewIndicesList
AddTriangleToMeshTargetMesh, NewTriangle添加三角形。out:NewTriangleIndex
AddTrianglesToMeshTargetMesh, NewTrianglesList批量添加三角形
DeleteTrianglesFromMeshTargetMesh, TriangleList删除三角形
DeleteSelectedTrianglesFromMeshTargetMesh, Selection删除选中三角形
DiscardMeshAttributesTargetMesh丢弃所有属性(法线/UV/颜色等)
SetAllMeshVertexPositionsTargetMesh, PositionList批量设置所有顶点位置

细分函数

函数关键参数说明
ApplySelectiveTessellationTargetMesh, Selection, Options选择性细分
ApplyUniformTessellationTargetMesh, TessellationLevel均匀细分
ApplyPNTessellationTargetMesh, Options, TessellationLevelPN 三角形细分
ApplyPolygroupCatmullClarkSubDTargetMesh, Subdivisions, GroupLayerCatmull-Clark 细分(Editor 库)
ApplyTriangleLoopSubDTargetMesh, SubdivisionsLoop 细分(Editor 库)

JSON 示例

填充孔洞:

json
{"object":"/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshRepairFunctions","function":"FillAllMeshHoles","params":{"TargetMesh":"/Engine/Transient.DynamicMesh_0","FillOptions":{"FillMethod":"Automatic","bDeleteIsolatedTriangles":true}}}

简化到目标三角形数:

json
{"object":"/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshSimplifyFunctions","function":"ApplySimplifyToTriangleCount","params":{"TargetMesh":"/Engine/Transient.DynamicMesh_0","TriangleCount":5000,"Options":{"Method":"AttributeAware","bAllowSeamCollapse":true,"bAutoCompact":true}}}

布尔差集:

json
{"object":"/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshBooleanFunctions","function":"ApplyMeshBoolean","params":{"TargetMesh":"/Engine/Transient.DynamicMesh_0","TargetTransform":{"Rotation":{"X":0,"Y":0,"Z":0,"W":1},"Translation":{"X":0,"Y":0,"Z":0},"Scale3D":{"X":1,"Y":1,"Z":1}},"ToolMesh":"/Engine/Transient.DynamicMesh_1","ToolTransform":{"Rotation":{"X":0,"Y":0,"Z":0,"W":1},"Translation":{"X":0,"Y":0,"Z":0},"Scale3D":{"X":1,"Y":1,"Z":1}},"BooleanOperation":"Subtract","Options":{}}}

均匀 Remesh:

json
{"object":"/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_RemeshingFunctions","function":"ApplyUniformRemesh","params":{"TargetMesh":"/Engine/Transient.DynamicMesh_0","RemeshOptions":{"bDiscardAttributes":false,"bReprojectToInput":true},"UniformOptions":{"TargetEdgeLength":3.0,"SmoothingRate":0.25,"Iterations":20}}}

发现

对上述任意 CDO 路径调用 DescribeObject 可查看完整函数列表和参数签名。

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
114
Repository forks
14
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/italink/unrealclientprotocol/unreal-modeling-meshops/badge)](https://verified-skill.com/skills/italink/unrealclientprotocol/unreal-modeling-meshops)

Something wrong with this skill or its page? Tell us.