3d-blender-python-procedural-modeling
Automate 3D geometry generation, UV unwrapping, PBR material assignment, and glTF asset export using the Blender Python (bpy) API.
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- 3d-blender-python-procedural-modeling
- risk
- low
- tags
- [ "3d", "blender", "python", "bpy", "procedural", "gltf" ]
- author
- AAS Platform
- source
- authoring
- version
- 1.0.0
- category
- 3d
- description
- Automate 3D geometry generation, UV unwrapping, PBR material assignment, and glTF asset export using the Blender Python (bpy) API.
- disable-model-invocation
- false
03 SKILL.md 正文
Blender Python (bpy) Procedural Modeling and Asset Pipeline
Overview & Core Principles
Automate 3D geometry generation, UV unwrapping, PBR material assignment, and glTF asset export using the Blender Python (bpy) API.
Procedural Pipeline Invariants
- Context Management in Headless Mode:
- Run via CLI:
blender -b --python script.py. - Ensure active object context is explicitly assigned (
bpy.context.view_layer.objects.active = obj) before operator invocation.
- Run via CLI:
- Mesh Topology Generation:
import bpy
import bmesh
def create_parametric_gear(teeth=16, radius=2.0):
mesh = bpy.data.meshes.new("ParametricGear")
obj = bpy.data.objects.new("ParametricGear", mesh)
bpy.context.collection.objects.link(obj)
bm = bmesh.new()
bmesh.ops.create_circle(bm, cap_ends=True, radius=radius, segments=teeth*2)
bm.to_mesh(mesh)
bm.free()
return obj
- Export Standards:
- glTF 2.0 binary (
.glb) format with Draco mesh compression. - PBR roughness/metallic packed into green/blue channels of metallicRoughness map.
- glTF 2.0 binary (
04 同仓库更多 Skills
dei-assessment
Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.
dei-action-plan
Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.
culture-fit-assessment
Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.
cowork-to-code-bridge
Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.
counter-offer-response
Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.
continuous-feedback-system
Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.