Logo Scenario Zbrush Automation

Scenario Zbrush Automation

Tổ chức
scenario-labs
scenario-zbrush-automation

Dùng khi tự động hóa ZBrush 2026: xử lý hàng loạt thư mục chứa tệp OBJ hoặc ZTL, viết script Python hoặc ZScript cho ZBrush, ghi macro để tìm hiểu đường dẫn palette, dùng dòng lệnh ZBrush -script, viết script cho UV Master, Decimation Master hoặc Multi Map Exporter, xuất mọi SubTool, thực hiện vòng chuyển qua lại với Maya hoặc Blender bằng GoZ hoặc GoB, đổi tên SubTool hoặc tạo báo cáo hàng loạt. Cũng dùng khi thao tác plugin không kết thúc, hộp thoại làm treo tiến trình hàng loạt, một tệp khiến cả lượt chạy bị dừng hoặc GoZ cập nhật nhầm SubTool.

Add to TypingMind

Tổng quan

Nhà phát hànhscenario-labs
Kho mãskills
Tên kỹ năngscenario-zbrush-automation
Sao
970
Bản fork
114
Tệp đi kèm
9
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 9 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được scenario-labs công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Scenario Zbrush Automation trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/scenario-labs/skills/tree/main/skills/dcc/zbrush/scenario-zbrush-automation
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scenario-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/dcc/zbrush/scenario-zbrush-automation .claude/skills/scenario-zbrush-automation
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Scenario Zbrush Automation trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Scenario Zbrush Automation ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Scenario Zbrush Automation với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

ZBrush automation (tools and pipeline TD)

An expert ZBrush TD automates with contracts and proof: every file is its own tool, every step is a separate call with a time limit, every output is read back from disk, and a hung plugin costs one file, never the batch. ZBrush has no timeout, no undo control from Python and dialogs that code cannot answer, so the safety lives on the agent side: the runner, the checkpoints, the report. If a sibling skill named here is missing from your available skills, ask the user to install it (npx skills add scenario-labs/skills --skill <name>); unattended, proceed from tool schemas and flag the gap.

REQUIRED BACKGROUND: scenario-zbrush-expert (bridge, zb_launch, zb_ops, zb_audit, review loop, 2026 traps).

Status (2026-09-24, refactor pass 2): every ZBrush call here is not yet run in ZBrush (no session assigned; the README's startup stall is still open). Offline: 56 tests pass (tests/code/zbrush-automation/run_offline.py), including a GoZ reader and writer matching ZBrush's own ZResources/DXFStar.GoZ byte for byte. Live suite: tests/code/zbrush-automation/run_live.sh.

Stance (the expert delta)

  • One file, one tool, one step per call. "Only one zscript/plugin can be active at a time, so if your zscript calls someting like UV Mapper control passes to UV Mapper and no more commands will run" (marcus_civis, ZBrushCentral 2014); pressing Decimation Master's Pre-process ended ijacobs' script (2013) and forced cgside into a two-run helper (2022, [00:06:56]). So the batch is an agent-side loop (zb_batch.run_folder) that sends each step as its own bridge call with its own timeout, pings after a timeout, and restarts ZBrush after a hang. One long in-ZBrush script dies with its first stuck plugin. [added design]
  • Plugins last, checkpoint first. cgside saves before ProjectAll "since it might crash the program" [00:02:19]. zb_ops.project_all refuses to run without a versioned save and the recipe's project step passes one ({stem}_preproject.ztl), even with save_ztl off. Decimation Master runs last, after every valuable output is on disk, so a hang there leaves a partial file, not a lost one. [added]
  • Leave the interpreter as found. ZBrush has one Python for the session and the script folder is not on sys.path (Maxon Style Guide). Send code only through remote_call/zb_launch.run: modules are imported by path, then sys.path, sys.modules, stdout and the working directory are restored, also after an error. End a batch with zb_launch.hygiene() (empty lists).
  • Dialogs are the automation killer; budget them before running. A studio dropped ZBrush from its farm over Note dialogs (danvas 2017); "no way to detect whether they succeed or error" (BigRoyNL 2024); "if the export plugin, trigger a popup you are screwed" (m_adam, Maxon 2025). set_next_filename feeds built-in buttons only: FBX ExportImport shows options "You cannot escape" (ferdinand, Maxon 2025) and USD Format ignores the preset (usd-portal). Unattended exports are OBJ or .GoZ by path; has_next_filename() still true after a press means a dialog is probably waiting [added].
  • Names are identity. GoZ needs unique names "including between all the loaded Tools" (GoZ docs); Decimation Master caches and UV Master control maps are keyed by the tool name, so a new tool with an old name inherits stale data (plugin docs). Stage each input under a unique, sanitized name before import (stage_input); on this Mac's case-insensitive disk rock.obj and Rock.OBJ are one file [added].
  • Learn paths from ZBrush, never guess. Recordings show exact paths and hidden preconditions (Maxon ZScript manual; MadPony DnLlDJxfxHs [00:02:16]); Ctrl+hover shows a path. For an agent the cheapest oracle is ZBrush's own Activity log, which writes every press and set with its canonical path (zb_batch.ActivityWatch; proven by the 05:20 log). Then zb_plugin_ops.probe() confirms exists, range and title.
  • Record once, apply to all. Pavlovich replays one recording on every visible SubTool with ZRepeat It [00:37:30]; ZRepeat It is not shipped in 2026.2.1, the Python equivalent is for_each_subtool.
  • Files, not live links, between apps. GoZ sends the lowest subdivision level (GoZ docs; FlippedNormals [00:04:02]), updates by name, and raises a reprojection prompt when topology changed. An agent hands over .GoZ or OBJ files plus a manifest and lets the other app's agent import them.

Establish first

InputChangesDefault when silent
Inputs: count, format, faces per filetimeouts, DynaMesh resolution, restart cadenceOBJ, audited first with zb_audit
Outputs: low count, map size and space, preview countrecipe paramsbrief's numbers; else DEFAULT_PARAMS [added]
Parts per file, meaningful polygroupsZRemesher groupingcgside: Auto Groups then ZRemesher Keep Groups on the copy, so the low follows the parts (MyhwQvkcnwI [00:08:38]); zr_auto_groups=False when the input's groups matter
Target app: Maya, Blender, Unreal, Unityflip V, green channel, axes, formatMaya: OBJ + tangent PNG flipped V, OpenGL green [added]
Whose ZBrushrestart rightsa ZBrush the batch did not start is never restarted or quit
Watched or unattendedpilot size, screenshot usepilot of one file, watched
Shared config allowed (GoZ folder, Macro palette)GoZ push, key-answer macrosno: ask first

Workflow

  1. Session and probe. zb_launch.start() or reuse a running bridge; zb_plugin_ops.probe() on every path the recipe uses; memory(). GATE: ping returns 2026.2, every recipe path exists, plugins present.
  2. Plan dry. zb_batch.plan(files, out, params) resolves every file's steps, paths and timeouts without ZBrush. GATE: outputs outside the install (read-only since 2026.1), unique stems, no FBX or USD step.
  3. Pilot one file, watched. run_folder([f], out, params); open sheet.png and the normal map; import the low and map in the target app (scenario-maya-pipeline-scripting or a Blender skill). GATE: file ok, step timings recorded, map orientation confirmed in the target app (flip V and green are [verify] until then).
  4. Run the batch. Bridge mode by default; mode="script" (one ZBrush -script process per file) once live_a05 has shown how ZBrush exits. Drop a STOP file in the output folder to end between files; rerun to resume (sha1 and recipe hash). GATE: report.json written after every file.
  5. Recover. For each failed or partial: read steps[].outcome (error, timeout_recovered, hang), the hang evidence (screenshot when the screen is unlocked; ZBrush Notes are drawn in the canvas, only the screenshot shows them), and batch.blocked. Fix params or paths, rerun: finished files are skipped. GATE: every non-ok file has a cause in the report.
  6. Review and deliver. Open the contact sheet; check low_audit, preview_audit, normal_stats; write the handoff manifest. GATE: numbers pass, sheet looked at, report and manifest delivered.

Numbers

ValueRelative toSource
UV Master: 100k to 150k faces max; seconds at 3k, up to 5 min at 150kfaces of the SubTool unwrappedUV Master doc
Divide multiplies faces by 4; levels = smallest n with low x 4^n >= source faces, top capped at 8Mprojection stackPablo Logic Part 7; cap [added]
Decimation % of decimation is kept percent of points; 100 none, 0.01 maxpoints; about 2 triangles per point, so % = 100 x target_faces / 2 / pointsDM doc; ijacobs 2013; Euler [added]
DM quality: 40 to 100 % looks the same, 2 % still good, 1 % degradesoriginal modelDM doc
ZRemesher target in thousands, approximate (5 gave 4,963)target polygonsPablo Logic Part 7
Project All Dist 0.1, set explicitlysame shape, new topologyDrust nxMYYsyJt3o [00:02:19]; toolkit default
create_normal_map(..., local_coordinates=True) = tangent; default False = worldmap spaceSDK stub
Macro file name 8+ characters, in a subfolder; new folder needs a restart<Asset Dir>/ZStartup/Macros/Maxon interfaces doc
Step timeouts 30 to 1,800 s, raised to 4 x slowest observed, 10 x base max; restart every 10 filesper step, per session[added]
Tangent map sanity: blue >= 128 on 90 % of pixelsfinal PNG[added]
Maya GoZ flips Y and Z both ways and flips normal maps verticallyGoZ_Info.txtlocal file 2026-09-24
Blender FBX import from ZBrush: scale 1000FBXFlippedNormals [00:11:21]

Quality gates

  • Per step (code): import counts equal the file's (import_mesh warnings); DynaMesh remeshed; ZRemesher ratio to target 0.5 to 1.5 [added]; UV bbox inside 0..1; Divide ratio 4 per level; every output file exists and is non-empty. Each zb_ops gate (volume from get_polymesh3d_volume, watertight from is_polymesh3d_solid, projection spikes) feeds check_step: a collapsed or exploded DynaMesh or a spike fails the file.
  • Per file (code): low OBJ passes zb_audit.verdict(..., "game") (UVs, no n-gons); low bbox equals the input bbox within 2 % (an OBJ import sets Export Scale: Outgang [00:24:03]) [added tolerance]; normal map at the asked size, not uniform, tangent-like; preview faces near target.
  • Per batch: counts, restarts, blocked, aborted in report.json; report.csv for humans.
  • Visual: sheet.png (one canvas snapshot per file, MatCap Gray): melted thin parts from a low DynaMesh, projection spikes, missing parts. The normal map applied in the target app, lit from the side: seams, upside-down or inverted detail.

Common mistakes

MistakeWhat it looks likeFix
One in-ZBrush loop over all filesfirst stuck plugin freezes everything, no reportrun_folder: one call per step, report per file
Pressing a plugin with no timeoutbridge silent for minutesplugin steps are separate calls; wait_recovery, then restart
Importing onto the active toolthe active SubTool is replacedimport_mesh: PolyMesh3D star first (usd-portal)
Same-named inputs or toolsstale Decimation cache, GoZ updates the wrong SubToolunique_stems + stage_input
FBX or USD in an unattended runoptions window, batch stuckOBJ or .GoZ by path
Decimating the mastersculpt gone, no undo from Pythoncheckpoint ZTL, decimate last or on a duplicate
Normal map from two SubToolsno detail in the mapthe map compares levels of one SubTool (AskZBrush n0qqpwvn-jA [00:01:14])
World-space map by defaultrainbow-colored map, wrong shading in engineslocal_coordinates=True
Restarting the user's ZBrushunsaved work lostBridgeSession.owned; abort instead
Trusting set()slider unchanged, no errorexists() then read back (zb_ops.set_checked)

Handoffs

  • Serves every persona: batch versions of their procedures (for_each_subtool, recipes built with zb_batch.step), inventories before GoZ or export, path discovery. Receives their procedure and params; delivers report.json, report.csv, sheet.png and per-file outputs.
  • From scenario-maya-pipeline-scripting or a Blender skill: OBJ or .GoZ files plus a manifest (names, units, which SubTool each updates). Names are checked with zb_goz.check_names before import.
  • To scenario-maya-pipeline-scripting, scenario-zbrush-retopology-export, scenario-blender-uv-baking: low OBJ with UVs, tangent normal PNG (flip V and green stated), decimated preview, audit numbers, Export Scale and axis notes.
  • To a human or computer-use agent: anything behind a dialog (FBX options, SubTool Rename and New Folder prompts, End Macro save dialog, GoZ app chooser, reprojection prompt).

ZBrush 2026 notes

  • Python (2026.0) runs next to ZScript; press_key "Does not work" and merge_undo is "Not implemented" (2026.1 stub): key-held presses and one-undo sequences need a ZScript macro pressed from Python [verify].
  • Long deterministic sequences: freeze(fn) and show_actions(0) (SDK GUI reference) through zb_ops.sequence, frozen, quiet, or for_each_subtool(..., freeze=True); never around a plugin press or a canvas export [added].
  • Since 2026.1 the install is read-only: macros, plugins and Python/init.py go in the Asset Directory, here ~/Library/Preferences/Maxon/ZBrush_03C27D49/.
  • ZRepeat It, Turntabler and ZFileUtils are not shipped in 2026.2.1 (listing); no rename API exists (Maxon forum 2026-09).
  • GoZ still reports "version 1.01 - April, 11th 2011"; Maya's GoZ config on this Mac points at a Maya 2017 that is not installed (zb_goz.app_info).
  • Relaunches stalled after a kill -9 at 05:29 (README, cause unknown): a restart after a hang may stall too. The runner then aborts with a resumable report.

References

  • references/procedures.md: full code for each procedure (session, probe, import, per-file recipe, folder batch, -script, plugins, maps, SubTool loops, names, GoZ, Maya and Blender round trips, macros, file-drop, reports, interpreter hygiene). Load before writing any batch.
  • references/expert-notes.md: the sources' principles with timestamps, and the choices where they disagree. Load when a design decision is not covered here.
  • references/critique.md: the rubric for judging a batch, a script or a round trip. Load before reporting.
  • references/gui-paths.md: the same operations by palette and hotkey, for a human or computer-use agent. Load when a step needs the GUI.
  • references/sources.md: every source with credentials and URLs.
  • scripts/zb_batch.py (agent side: runner, sessions, reports, -script, Activity oracle, ZScript generators), scripts/zb_plugin_ops.py (inside ZBrush: per-file steps and plugins), scripts/zb_batch_job.py (-script entry), scripts/zb_goz.py (GoZ files and folder, any Python).

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Scenario Zbrush Automation làm được gì?

Dùng khi tự động hóa ZBrush 2026: xử lý hàng loạt thư mục chứa tệp OBJ hoặc ZTL, viết script Python hoặc ZScript cho ZBrush, ghi macro để tìm hiểu đường dẫn palette, dùng dòng lệnh ZBrush -script, viết script cho UV Master, Decimation Master hoặc Multi Map Exporter, xuất mọi SubTool, thực hiện vòng chuyển qua lại với Maya hoặc Blender bằng GoZ hoặc GoB, đổi tên SubTool hoặc tạo báo cáo hàng loạt. Cũng dùng khi thao tác plugin không kết thúc, hộp thoại làm treo tiến trình hàng loạt, một tệp khiến cả lượt chạy bị dừng hoặc GoZ cập nhật nhầm SubTool.

Vì sao nên dùng Scenario Zbrush Automation trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Scenario Zbrush Automation là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Scenario Zbrush Automation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/scenario-labs/skills/tree/main/skills/dcc/zbrush/scenario-zbrush-automation. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Scenario Zbrush Automation?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Scenario Zbrush Automation với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Scenario Zbrush Automation với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Scenario Zbrush Automation có miễn phí không?

Có. Kỹ năng này được scenario-labs phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇