build-mesh

Generate 3D GLB meshes for Lens Studio via text-to-3D, FAST3D, MeshBuilder, or Blender voxel backends.

16|2|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/lens-studio-devs/ls-extensions --skill build-mesh-lens-studio-devs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-mesh
Source: https://github.com/lens-studio-devs/ls-extensions/tree/main/plugins/ls-clad/skills/build-mesh
Command: npx skills add https://github.com/lens-studio-devs/ls-extensions --skill build-mesh-lens-studio-devs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Creating 3D assets for a Lens Studio Lens normally requires manual modeling or ad-hoc AI generation with inconsistent scale, orientation, and grounding. This Skill generates production-ready GLB meshes from text or image prompts, normalizes their size and facing, and reports AABB metadata so colliders and placement work correctly. ## Core Features & Use Cases - Four selectable backends: SPECS text-to-3D for high-fidelity static props, FAST3D for faster draft-quality generation, code-authored MeshBuilder for articulated or parametric TypeScript content, and Blender voxel for blocky or rigged GLB assets. - Asset-boundary normalization: Bakes target size, ground contact, and -Z forward facing directly into the GLB so downstream SceneObjects stay at unit scale and colliders match the visual. - Structured output contract: Every generation returns a report fragment with status, backend, AABB dimensions, center offset, orientation stamps, and completeness flags. - Use Case: Ask for a "red barn" prop for your Lens; the Skill picks SPECS text-to-3D, polls the async job, downloads the GLB to Assets/GeneratedMeshes/, normalizes it to your target size, and reports the AABB so you can place it foot-on-floor. ## Quick Start Ask the agent to build a 3D mesh, for example: generate a low-poly oak tree mesh about 40 cm tall for my Lens.

Frequently Asked Questions about build-mesh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a 3D model from a text prompt for Lens Studio?

Describe the asset and let the Skill route it to SPECS text-to-3D, the default backend for static props. It creates an async generation job, polls until completion, downloads the GLB to Assets/GeneratedMeshes/, and reports AABB metadata for placement.

Which backend should I use for text-to-3D mesh generation?

Use SPECS text-to-3D for static assets since it has the best texture fidelity. FAST3D is only for explicit user-requested draft speed, MeshBuilder for articulated or animated content, and Blender voxel for blocky aesthetics or rigged GLBs.

Can I generate a rigged or animated 3D model?

Yes, but only through specific backends. The Blender voxel backend is the only source of rigged GLBs with skinned skeletons, while the code-authored MeshBuilder backend handles articulated transform animation of sub-meshes via TypeScript.

Why is my generated mesh the wrong size or facing the wrong way?

AI backends generate at arbitrary scale and import facing +Z. The Skill fixes this at the asset boundary with normalize_glb.js, baking target size, ground contact, and a -Z yaw into the GLB rather than using setLocalScale downstream.

Does text-to-3D generation require an API key?

No API key is needed. Both SPECS and FAST3D authenticate through the signed-in Lens Studio session, so the user must be signed in; auth failures return NOT_SIGNED_IN or NO_API_ACCESS status and stop the pipeline.

What happens when a mesh generation job fails or times out?

Failed jobs are surfaced and retried on the same backend first. SPECS jobs get up to about 5 minutes of polling before the user is asked whether to keep waiting; backend switches after repeated failures are announced and recorded, never silent.