跳过主要内容
B3D
Skill免费GameSkill 出品GameSkill 原创

sand3d Props (articulated game props written as code)

/sand3d-props

A GameSkill original that bundles sand3d 1.6.3 (Apache-2.0), a 3D modelling vocabulary written for LLMs: a prop is a short Python program of named parts, edits and joints, built in background Blender. A runner builds it without installing anything, fails on open meshes, proves two fresh builds match and renders a still; glbcheck verifies the GLB's parts, joints, size and triangle budget. Exports GLB with joints in extras, plus URDF, USDA, OBJ and STL.

许可证
MIT
出品
GameSkill 出品
下载 ZIP

我们测过

在 Blender 5.2.3 LTS (background) running the bundled sand3d 1.6.3 上通过 26/26 项检查(2026-11-09):能触发、有可运行示例、有截图和自检清单、单一职责、中英文文档齐全。触发检查是把提示词和 skill 描述做匹配,不是真实 agent 运行。

测试报告

GameSkill 测过的版本

GameSkill 为 gameskill.dev 原创编写并测过。ZIP 里是完整的 skill:SKILL.md 及中文版、脚本、可运行示例、测试、自检清单和我们的测试报告。

下载测过的 ZIP(1.4 MB)路线图:美术资产

GameSkill 原创,协议 MIT。ZIP 保留 LICENSE 和 CREDITS.md,里面列出了流程灵感来源、CC0 测试素材和第三方库及其协议。

sand3d Props (articulated game props written as code)

自检清单

  • 构建两次网格摘要相同 / Two fresh builds give the same mesh digest
  • 所有零件 0 条开口边 / Every part has 0 open edges
  • glbcheck 对关节、尺寸和面数全部 PASS / glbcheck passes joints, size and triangle budget
  • 姿势在关节范围内,并看过渲染图 / Poses stay inside joint ranges and the render was looked at

中文指南

这个 skill 做什么

GameSkill 原创(MIT),内置 sand3d 1.6.3(Sandflow,Apache-2.0,原样附带)。sand3d 是写给大模型的建模词汇:一个道具就是一小段 Python 程序,由命名的零件、布尔、圆角、抽壳、材质和关节(铰链、滑轨、旋转)组成,在无界面 Blender 里构建。附带运行器(不用安装任何东西,网格有开口边就失败,两次构建必须一致,可渲染静帧)和 GLB 检查工具(零件、关节、尺寸、三角面预算)。

什么时候用

  • 箱子、门、栅栏门、拉杆、抽屉、吊车等带活动部件的道具
  • 想让 agent 写、人能读懂并改尺寸重跑的道具
  • 确认导出的 GLB 真的带有游戏需要的关节和尺寸

怎么装

下载本页的 ZIP,把 sand3d-props/ 文件夹放进 .claude/skills/(Claude Code)或 .agents/skills/(Codex、Cursor),重启 agent。需要 Python 3 和 Blender 4.5 或 5.2 LTS;sand3d 已内置,不需要 pip。

最小示例

  1. python3 tools/s3d.py build example/supply_chest.py:chest_open --out out/chest.glb --render out/chest.png --twice
  2. python3 tools/glbcheck.py out/chest.glb --expect-joint lid_hinge=revolute --expect-joint drawer_slide=prismatic

我们怎么测的

示例是为一个原创俯视角生存游戏做的补给箱:底座带抽屉槽、抽壳箱体加金属箍、后铰链的圆角箱盖、单独铰链的搭扣和滑动抽屉。test/run_tests.py 在 Blender 5.2.3 上 14 项检查:内置库与清单一致;构建出 5 个零件、3 个关节;全部闭合;两个新进程构建结果一致;GLB 里有 3 个关节、尺寸 0.74 x 0.474 x 0.61 米、面数在预算内;URDF 里 2 个旋转和 1 个滑动关节;打开姿势下箱盖向上向后转、抽屉正好拉出 180 毫米、没有关节的零件不动;超出范围的姿势会报错且不写 GLB;检查工具能发现错误的关节类型、尺寸和非 GLB 文件;没有 Blender 时给出提示。截图是打开状态的补给箱。

致谢

sand3d 由 Sandflow 开发(Apache-2.0),库和文档原样附带。示例、工具和文字是我们自己的。

搭配

  • godot-blender-import-hook:导入 Godot 时自动加碰撞体
  • glb-godot-acceptance:检查模型能否用于游戏
  • construct:只用 Python 标准库、用数据描述的简单道具

安装

告诉你的 AI

Install the skill from https://gameskill.dev/skills/sand3d-props/install.md

GameSkill 测过的版本

测过的版本装到 .claude/skills/
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/sand3d-props.zip -o /tmp/gameskill-sand3d-props.zip
unzip -oq /tmp/gameskill-sand3d-props.zip -d .claude/skills
rm /tmp/gameskill-sand3d-props.zip

包含内容

  • vendor/sand3d: sand3d 1.6.3 by Sandflow, Apache-2.0, unchanged, with a file manifest
  • tools/s3d.py: build a program in background Blender, fail on open meshes, --twice determinism, --render a still, --also URDF/USDA/OBJ/STL
  • tools/glbcheck.py: parts, joints from extras, size in metres and triangle budget of a GLB, standard library only
  • sand3d's API sheet and modelling guidelines, and our supply chest example with 14 checks in test/run_tests.py

适合

  • Chests, doors, gates, levers, drawers, cranes and other props with moving parts
  • Props an agent writes and a person can read, resize and re-run
  • Checking that an exported GLB really has the joints and size the game expects

不适合

  • Characters, skinned meshes and animation
  • Sculpted or scanned organic models
  • Engine colliders on import: use godot-blender-import-hook

试试这条提示词

提示词
Write a supply chest for my original survival game as a sand3d program: hinged lid, latch and a sliding drawer, then build it, render it and check the GLB.

关于这个 Skill

A GameSkill original that bundles sand3d 1.6.3 by Sandflow (Apache-2.0), a 3D modelling vocabulary written for LLMs. A prop is a short Python program of named parts, edits (booleans, fillets, shells) and joints over Blender's bpy, deterministic and in real units. tools/s3d.py builds a program in background Blender without installing anything, fails on open meshes, proves two fresh builds give the same mesh and renders a still; tools/glbcheck.py reads the exported GLB and checks its parts, joints, size and triangle budget.

Agent steps

  1. Read the bundled API sheet and guidelines.
  2. Write the prop as a function returning an assembly, every part named and every moving part jointed with a range.
  3. Build with s3d.py build ... --render --twice, look at the still, then check the GLB with glbcheck.

Common problems it solves

  • Props modelled by hand that nobody can resize or rebuild.
  • Exports that lose the hinges and slides the game needs.
  • Meshes with holes and builds that differ from run to run.

Credits

sand3d by Sandflow, Apache-2.0, is bundled unchanged with its licence. The supply chest example, the tools and the text are ours.

环境要求

  • Python 3 standard library for the runner and the GLB checker
  • Blender 4.5 or 5.2 LTS (tested on 5.2.3), background mode; set BLENDER or pass --blender

相关主题

常见问题

同赛道 PRO 商业源码$49/yr

AI 2D 美术与序列帧管线 Sprite Asset Pipeline

把 AI 生成的原始视频直接变成商业级透明 2D 游戏序列帧:绿幕/溢色消除命令、0px 脚底锚点锁死排版、动作非线性重定时(4.33s → ~1.88s 含打击顿帧)与 Phaser / Godot 4 图集一键导出。

基于 sand3d (作者 Sandflow,Apache-2.0; 1.6.3 library and docs shipped unchanged)。原作者的代码原样打包进 ZIP,附带其许可证;skill 文字、测试和示例由 GameSkill 编写,ZIP 里的 CREDITS.md 列出所有来源。

搭配使用

作者标注的相关 Skills,或更适合相邻任务的 Skills。

相似 skills

ForgeSkills
B3D
Starter Kit
GameSkill 出品

ForgeSkills

28 gated game-development agent skills (concept, orchestration, verification, Blender headless, reference reconstruction, textures, animation, VFX, lighting, foliage, Godot pipeline) plus Python tools that measure the result. GameSkill hosts the 27 we ran, with the tools. Apache-2.0.

BlenderGodotEngine-agnosticClaude Code · Cursor +1
Style Cards
B3D
Skill
GameSkill 出品

Style Cards (one art style as hard limits, switch looks by switching cards)

A GameSkill original that writes a game's art style down as a card of measurable limits (canvas, colours and palette, alpha, triangles, shading, materials, textures, voxel grid), pastes it into every asset request and checks every asset against it. Ships 16 cards from pixel (including fixed PICO-8, CGA, four-greens LCD and Endesga 32 palettes) and one-bit to low-poly, voxel and toon, a no-dependency PNG checker, a Blender GLB checker and a palette locker; switch the whole look by switching the card.

Engine-agnosticBlenderGodotClaude Code · Codex +2
3AGameFactory
UE5
Starter Kit
956

3AGameFactory (GameFactory-3A)

An Apache-2.0 framework of agent skills and pipelines that turns a game requirement into assets (image, 3D, motion, audio, CG video) and engine-ready code for UE5, Blender, Unity, Godot 4 and three.js.

UnrealUnityGodotClaude Code · Codex +1
Image to 3D Hero
WEB
Skill
GameSkill 出品

Image to 3D Hero (one picture to a playable rigged GLB, free open-source route, three.js WASD)

A GameSkill original that takes one character image to a third-person hero you can walk with WASD, using free tools only: TripoSR or TRELLIS.2 for the mesh, UniRig or Blender for the rig, Quaternius CC0 clips, then a headless Blender fix step and a GLB check for scale, feet, facing and clip names. Meshy, Tripo and Mixamo are listed as alternatives only. Tested on Bram, a made-up stand-in hero.

Web (Phaser / Three.js)BlenderGodotClaude Code · Codex +2