Логотип Sketch To 3d

Sketch To 3d

Спільнота
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.

Огляд

Видавецьdannystuart
Репозиторійsketch-to-3d
Назва навичкиsketch-to-3d
Зірки
31
Форки
1
Файли в пакеті
55
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 55

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: dannystuart. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Sketch To 3d у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/dannystuart/sketch-to-3d/tree/main
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dannystuart/sketch-to-3d.git \
  .claude/skills/sketch-to-3d
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Sketch To 3d в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Sketch To 3d, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Sketch To 3d не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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 ef...

Навіщо використовувати Sketch To 3d у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Sketch To 3d — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Sketch To 3d у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/dannystuart/sketch-to-3d/tree/main. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Sketch To 3d?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Sketch To 3d?

Зі скількома забажаєте. У TypingMind ви можете використовувати Sketch To 3d із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Sketch To 3d?

Так. На GitHub цю навичку публікує dannystuart за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇