Sketch To 3d logo

Sketch To 3d

Community
dannystuart
sketch-to-3d

Turns any 3D object into a hand-drawn marker sketch that draws itself on (circles, construction box, outlines, hatching, marker fill, colour) and then wipes to the real 3D render. Makes a video at any size (with a see-through version, stage stills and a review strip) and a live version for a web page with code to paste in. Works on three.js scenes, objects built in three.js code, and GLB, GLTF, OBJ, FBX, STL, PLY, USDZ, 3MF and DAE files. Use it whenever someone wants a 3D model shown as a sketch, a drawn-on or sketch-to-render reveal, a concept or marker sketch of a product, or a sketch effect on a 3D object for a video or a website, even if they don't name this skill.

Overview

Publisherdannystuart
Repositorysketch-to-3d
Skill namesketch-to-3d
Stars
31
Forks
1
Bundled files
55
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 55 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dannystuart on GitHub. Read the source before you install it.

Installation

Install the Sketch To 3d AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dannystuart/sketch-to-3d/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dannystuart/sketch-to-3d.git \
  .claude/skills/sketch-to-3d
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sketch To 3d in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sketch To 3d on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sketch To 3d is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

sketch-to-3d

Draws a 3D object as a designer's marker sketch, then wipes to the real render. Video and web use the same engine, so they match.

Order of the draw-on (6.9 s, or 5.8 s without colour): circles on round parts, box guides, main outer lines, a faint pencil pass, darker tracing, marker fill with a hatched shadow, the colour stage, the wipe to the render.

Run commands from this skill's folder. First time only: pnpm install (or npm install). Needs Node 18+ and ffmpeg. If Chromium is missing: npx playwright install chromium.

Steps

  1. Check the object (seconds). node scripts/render.mjs <model> --out <dir> --only stills --size <final size>
    • Use the same --size and look options you'll use for the final output, so the stills are framed the same way. The web version defaults to 1080x1080.
    • Read the warnings it prints.
    • Look at stills/construct.png, lines.png, sketch.png, colour.png (if the colour stage is on) and real.png.
    • Fix problems with the options below, not by editing engine/.
  2. Show the stills to the user before making the video or the web version.
  3. Video: node scripts/render.mjs <model> --out <dir> --size <same size> [--alpha | --prores] [--hold 1]
  4. Web: node scripts/web.mjs <model> --out <dir> --play scroll --end spin. Its preview page has a tab for each way of playing, so the user can choose. Only <dir>/sketch-to-3d/ goes on the site. See references/web.md.
  5. Check before handing over.
    • Every check in report.json passes. lines only build runs only on a full video, not on stills or web.
    • Look at moments.png, or at the web preview served over http.
    • Say what each output is for.

For an object built in code, use --code <module.js> instead of a model path. The module exports default (THREE) => Object3D (async is fine). For an existing three.js scene, write a small module like this that returns the object to sketch.

Options (render.mjs and web.mjs)

OptionUse
--size WxHVideo frame, or the web element's shape. Any shape: 1080x1920 (vertical), 1080x1080 (square), 1920x1080 (wide), 3840x2160 (4K)
--look marker|classicmarker (default) is the full look. classic is the earlier, plainer one
--pal whitePaper|redSheet|pencil|blueprintPaper and ink colours. Default whitePaper
--az 38 --el 24Camera angle in degrees (around, and up)
--rot, --rotXTurn the object itself, in degrees (for models that face the wrong way or lie on their side)
--fit 1.35Framing. Smaller is closer. Thin parts like an aerial make objects sit small: try 1.0. The inside the frame check catches going too far
--aim x,y,zMove the aim point, as a share of the object's size. A negative y moves the object up the frame: use it when a tall thin part (an aerial) leaves the body sitting low, e.g. 0,-0.12,0. For a close-up on one part: 0.25,0,0 with --fit 0.55
--turn 2.2Camera turn during the draw-on, in degrees per second (0 = still camera)
--no-colourSkip the colour stage
--studio '#hex'The render's background. Video default: a light warm grey. When someone asks for red paper, keep it red with --studio '#D9261C'. The web version defaults to the paper colour
--stop sketch|colourEnd the draw-on on the finished sketch, or on the colour stage, instead of the render
--hold 1Extra seconds on the finished render at the end. Without it the render shows for about half a second; 1 is good for social video
--drop a,bLeave out meshes or materials by name (display stands, floors, backdrops)
--tone name=skipPer material: skip (hide in the sketch; use for clear glass over a dial), dark, mid, light
--no-circlesNo circle guides (for organic shapes where they land on odd parts)
--at 1,2.5render.mjs: also save single frames at these seconds
--alpharender.mjs: also write a see-through .mov (HEVC with transparency, small). Opens in Final Cut, DaVinci, Keynote, and Premiere on a Mac
--proresLike --alpha, but ProRes 4444: opens in any editor, about 20x larger

Outputs

render.mjs writes into --out:

FileWhat it is
<name>.mp4The draw-on video
<name>-seethrough.movOnly with --alpha or --prores. Paper is transparent, ink and the final render keep their colour. For laying over other footage. If an editor shows black where it should be clear, use --prores
stills/*.pngOne still per stage
moments.pngTen frames on one sheet, for review
report.jsonThe model report, warnings and checks

web.mjs writes:

  • sketch-to-3d/, the only folder that goes on the site:
    • sketch-player.js (three.js included)
    • the model
    • decoders/, only for compressed models
    • poster.jpg
  • index.html, a preview page
  • snippet.html, the code to paste
  • report.json

What the warnings mean

  • One merged piece: circles come only from round edges, and dark areas come from the model's colours. Usually fine.
  • Possible stand or floor: leave it out with --drop, or it gets drawn as part of the object.
  • See-through glass: add --tone <material>=skip so the dial or display under it shows in the sketch.
  • Mostly black: the sketch is fine; the colour stage will be dark.
  • Very dense: only the sharper folds get lines. Raw 3D scans come out as scribble; don't promise them.
  • Bending (skinned) parts or point clouds: these aren't drawn. Moving rigid parts are fine.

Keep the look intact

engine/sketch.js is a copy of the approved "marker v1" look. Tune one object with the options above.

If the engine itself must change, keep these rules:

  • Lines only ever build. Nothing drawn early disappears until the marker fill covers it.
  • Every stage is drawn on, not faded.
  • Circles go only on real round parts.
  • Hatching runs in one direction only.
  • The shadow is hatch lines with no fill.

The lines only build check in report.json catches the first rule. It measures with the camera held still, so a failure means lines really disappear.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sketch To 3d AI skill do?

Turns any 3D object into a hand-drawn marker sketch that draws itself on (circles, construction box, outlines, hatching, marker fill, colour) and then wipes to the real 3D render. Makes a video at any size (with a see-through version, stage stills and a review strip) and a live version for a web page with code to paste in. Works on three.js scenes, objects built in three.js code, and GLB, GLTF, OBJ, FBX, STL, PLY, USDZ, 3MF and DAE files. Use it whenever someone wants a 3D model shown as a sketch, a drawn-on or sketch-to-render reveal, a concept or marker sketch of a product, or a sketch ef...

Why use Sketch To 3d on TypingMind?

Because you install it once and use it with any model. Sketch To 3d is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sketch To 3d in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dannystuart/sketch-to-3d/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sketch To 3d?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sketch To 3d?

As many as you like. As long as a model supports skills, you can use Sketch To 3d with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sketch To 3d AI skill free?

Yes. It is published on GitHub by dannystuart under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇