شعار Scenario Maya Pipeline Scripting

Scenario Maya Pipeline Scripting

مؤسسة
scenario-labs
scenario-maya-pipeline-scripting

Use when writing or fixing Maya pipeline code in Python: mayapy batch jobs over many scenes, validating and auto-fixing scenes, FBX export for Unreal or Unity (static, skeletal, animation clips, Game Exporter), Alembic or GPU caches, USD export, stages and layers, references and namespaces, PySide6 tool windows, OpenMaya 2.0 plug-ins, or slow playback. Also when an FBX lands with wrong scale, normals, tangents or extra takes, a USD export has one frame or smoothed meshes, or one bad file kills a batch.

نظرة عامة

الناشرscenario-labs
المستودعskills
اسم المهارةscenario-maya-pipeline-scripting
النجوم
970
التفريعات
114
الملفات المرفقة
6
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 6

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها scenario-labs على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Scenario Maya Pipeline Scripting في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/scenario-labs/skills/tree/main/skills/dcc/maya/scenario-maya-pipeline-scripting
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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/maya/scenario-maya-pipeline-scripting .claude/skills/scenario-maya-pipeline-scripting
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Scenario Maya Pipeline Scripting في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Scenario Maya Pipeline Scripting تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Scenario Maya Pipeline Scripting بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Maya pipeline scripting (pipeline TD)

Expert pipeline work is contracts plus proof: every file that leaves Maya goes through generated names, explicit export settings and a re-import check, and no batch trusts one Maya process with two hundred files. The pipeline TD never types what can be generated, never trusts a default, and verifies by reading the output back. 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-maya-expert (execution channel, review loop, 2027 version traps).

Status (2026-09-24): every Maya call here is not yet run in Maya (not installed). scripts/mx_pipeline.py ran offline, its Maya layer against fakes. First action once Maya is installed: tests/code/maya-pipeline-scripting/run_all.sh.

Stance (the expert delta)

  • Never type what can be generated (Guignolle, Borderlands, lfWkJrkhd2U [00:04:58]): names, namespaces, paths and clip ranges come from a manifest; validation sits at the point of action (approved-shot warning, scene breakdown, publish diff green, blue, red [00:22:11] to [00:24:57]).
  • Prove it by reading the output back (dcc-mcp's numbers-over-claims standard; the Maya Help's test: the FBX reimports with identical normals, scale, axis and length): re-import in a clean scene and compare meshes, triangles, joints, per-mesh bounds, normal directions, units and up axis; read takes with FBXRead; reopen USD with pxr; hash sources. One mayapy per file: FBX settings and optionVars survive file(new=True).
  • Never run blind (chadrik, maya-mcp-server: without stdout and stderr "the agent is blind"; FBX doc: in batch the log is the only feedback on problem files): keep FBXExportGenerateLog on and read each child's log; children run with MAYA_DISABLE_ADP=1 and Maya's stderr at warning (maya_log="all" to debug); read stdout, stderr and maya_messages after every bridge call.
  • FBX is global state (Maya 2027 Help, FBX MEL commands): push, reset, set every option, clear the take accumulator, query back and log next to the file, pop. Bake Start and End are never stored in presets. Tangents only export on all-triangle meshes; non-orthogonal matrices are dropped. Triangulate in Maya with controlled edges (Epic).
  • Export defaults are traps (maya-usd readme): frameRange [1, 1], defaultMeshScheme catmullClark (no normals), skeletons off, namespaces kept. Pass every flag, then reopen with pxr.
  • At scale, structure beats hardware (Markowski and Hübschmann, RISE, 8UIW-g1_heg): value clips instead of full-range caches [00:37:03]; mute your own layer and every stronger one [00:26:19]; pin versions, record them in assetInfo [00:23:01].
  • Reference edits replay by name and DAG path (Maya 2027 Help): never rename or restructure a published child file; check reference health (unloaded, missing, failed edits) before any fix, and after every version swap. Shots reference assets; engines get baked exports.
  • Profile before optimizing, correct before fast (Roselle, rhtERzmAoUM [00:04:14]; Using Parallel Maya 2027): DG, Serial and Parallel must agree first; headless numbers measure evaluation, not drawing. Python builds and exports; native nodes evaluate (Fragapane, _0mb4wIZi80 [00:55:10]).

Establish first

InputChangesDefault when the brief is silent
Targetpreset, checks, file layoutUnreal 5, FBX 2020.2, one file per asset, one clip per file
Asset kindstatic, skeletal, anim, cache, USD layerskeletal for rigged scenes, static otherwise
Scene contractunits, up axis, naming regexcm, Y-up, mx_validate defaults, _geo suffix (FlippedNormals) if the studio has none
Frame rateE27, clip lengthsthe engine or project rate from the brief; else reported, never resampled
Allowed fixeswhat may change unaskedhistory, smooth_preview, unknown_dead, namespaces; nothing that moves weights, topology or normals
Influence limitcap or reportUnity 4 (Unity manual); Unreal: report the histogram
Source of truthnames, versions, rangesa JSON manifest next to the output
Scale of the runworkers, isolation5-file trial, then workers=1 or 2, process isolation

Workflow

  1. Preflight, inventory, fixtures. P.preflight(out, scenes): mayapy, localhost and host name resolution (macOS batch renders hang on it), disk, readable scenes. P.find_scenes(root). One tiny scene per rule, each breaking one thing (test_engine_checks.py); the full chain on 5 real files. GATE: preflight ok; every fixture caught; time per file known.
  2. Batch. P.batch(scenes, job, out, plugins=("fbx",), timeout=900): one mx_run child per scene, script nodes off, MX_PIPELINE_OUT/STEM/SOURCE and a per-child FBX log name in the env. Jobs return status, issues, fixes, exports (procedures.md P1). isolation="session" only for many small trusted files; crashed ones re-run isolated. GATE: one report per scene, summary["sources_untouched"] True, every non-pass record explained.
  3. Validate, read-only. Reference health first: P.reference_issues(P.references_report()) (R01 unloaded, R02 missing, R03 failed edits, R04 foster parents). Then mx_validate.validate(profile, roots) and P.check_engine_export(roots, engine, kind, rules={"fps": 30}) (E01 to E27: units, one root, names, namespaces, matrices, triangulation, UV and color sets, locked normals, influences, collision, pivot, joints, empty meshes, time unit). GATE: issue list per file; nothing changed yet.
  4. Safe fixes, then save a version. Only the allowed fixes; n-gons, non-manifold, facing, symmetry, units and joint orientation are reported, never fixed (FlippedNormals, ToWRH4IXF7A [00:11:50]). unlock_normals and influence caps are opt-in; caps refuse a weight move above 0.1 [added]. P.save_version() writes <out>/fixed/<stem>_fixed.ma. GATE: fix log per node; re-validation has no new failure.
  5. Export. P.fbx_export(path, roots, "unreal_skeletal") (presets unreal_/unity_ + static, skeletal, anim; P.fbx_commands(preset) shows the MEL). Animation: bake range explicit, one clip per file for Unreal, joints only. Caches: P.abc_export (-uvWrite -writeFaceSets, from the composed shot). USD: P.usd_export(path, roots, frame_range=...). GATE: <file>.settings.json shows every option queried back; the FBX log was found and read (rep["fbx_log"], X05).
  6. Verify in a clean scene. P.fbx_takes(path) (no import), P.reimport_stats(path), P.compare_stats(before, after); P.abc_verify; P.usd_verify. GATE: meshes, triangles, UV sets, joint names, per-mesh bounding boxes, normal directions (at most 2% moved), units and up axis match; takes = clips + Take001; USD default prim, time range, scheme none with normals, SkelRoot, metersPerUnit 0.01.
  7. Report and diff. summary.json/summary.csv, P.export_manifest(summary), P.publish_diff(previous, current). Look at a sample (sheets of fixed files, the engine import). GATE: the report lists what was not verified.

The builtin job does stages 3 to 6 per file: P.batch(scenes, P.BUILTIN_EXPORT, out, plugins=("fbx",), job_args=["--preset", "unreal_skeletal", "--profile", "rig", "--fps", "30"]) (procedures.md P2).

Other jobs, same discipline (procedures.md): USD shot layers, one edit target, own and stronger layers muted (P9); references from the manifest, a clashing namespace raises (P10); OM2 reads through mx_audit.mfn_mesh, plug-ins and PySide6 panels (P12, P13); P.perf_census then P.eval_timing (P14); GUI parts through mx_bridge after checking modified (P15).

Numbers

ValueRelative toSource
FBX 2020.2 (FBX202000 [verify token])Unreal importEpic
cm, scale factor 1.0; 1 Unreal unit = 1 cmMaya working unitsMaya 2027 Help, scale
4 influences per vertexUnity defaultUnity manual
at least 15 bones, T-poseUnity humanoidUnity manual
UCX_/UBX_/USP_/UCP_ + mesh name + _00Unreal custom collisionEpic
SOCKET_<mesh>_##, one mesh per fileUnreal socketsEpic
Take001 always existsFBX take countMaya 2027 Help
frameRange default [1, 1]mayaUSDExportmaya-usd readme
2 GB per layer lostUSD saved into the Maya fileUSD for Maya 2027
stdout none, stderr all (defaults); mx_run: stderr warningMAYA_BATCH_*_LOGGING_LEVELdevkit 2022; [added]
0.1 max weight change; 1e-3 of the bbox diagonal; 2% of normals (8 bins per axis)auto influence cap; round-trip bounds; round-trip normals[added]

Quality gates

In code: preflight ok; batch totals account for every file, sources untouched, no crash stopped the batch; reference health clean before fixes; validation before fixes and a fix log after; engine check errors zero (E27 against the target rate); settings sidecar and FBX log per export; round trip ok per export, normals and axis included; fbx_takes count as intended; usd_verify ok; breakdown empty; eval_timing(...)["consistent"] before any speed claim; the lint in test_offline_snippets_compile.py clean on generated code. Rubric: references/critique.md.

By eye: mx_review sheets of a sample of fixed files (normals mode after any unlock_normals); a playblast of each cache against its rig; the engine view of a sample import (pivot, collision, LOD switch, material slots); USD original vs reimport renders when materials travel; a screenshot of any tool UI.

Common mistakes

MistakeWhat it looks likeFix
One mayapy loop over all filesfile 57 segfaults, 143 never runP.batch (one child per file)
FBX options set once, never resetsecond export carries the first one's takes or settingsfbx_export: push, reset, set, clear takes, pop
FBX log off or never readbatch "succeeds", no clue which files had problems (Maya Help)log on, per-child MAYA_FBX_LOG_FILENAME, X05 in the report
Tangents on quads, exporter triangulationtangents wrong; "completely random smoothing" (Epic)polyTriangulate in Maya with controlled edges, before binding
Shear or non-uniform parent scaleparts jump or skew after importE05; freeze or rebuild the hierarchy
Counts-only round tripsmoothing, axis or scale lost with equal countscompare_stats: per-mesh bounds, normals, units, up axis
Locked normals after an FBX or OBJ importshading frozen while the rig deformsE11 / locked_normals; unlock before rigging (FBXImportUnlockNormals)
No bake range on animationconstrained bones static, wrong lengthbake=(s, e) every time; one clip per file for Unreal
Scene at 30 fps, sequence at 24animation out of step with the engine sequenceE27 with --fps; fix the source rate
mayaUSDExport with defaultsone frame, smoothed meshes, no skeletonP.usd_export or every flag explicit
Unloaded or failed-edit referenceparts missing, keys lostR01 to R03 stop the job; swap_reference, never rename a child
MFnMesh on every shapeone empty leftover mesh crashes the filemx_audit.mfn_mesh; E24
Auto-fixing n-gons or weightschanged silhouette or deformationreport them; opt-in cap with a max delta
Blind bridge call; batch render hang on macOSa warning scrolls past; Render never startsread stdout, stderr, maya_messages; preflight, localhost in /etc/hosts

Handoffs

Receives from every persona: a saved version, the mx_validate report for the receiving profile, mx_audit numbers, the sheet or playblast the sender looked at, the not-verified list. scenario-maya-modeling and scenario-maya-retopology-uv: static meshes at the origin, triangulation stated, UVs, hard edges on seams, normals unlocked unless deliberate; scenario-maya-rigging and scenario-maya-deformation: a referenceable rig, one deformation skeleton, Skin Tools layers deleted, influences within the target; scenario-maya-animation: clip names, ranges and the rate; scenario-maya-fx and scenario-maya-groom: versioned caches with frame ranges; scenario-maya-lookdev: materials meant to travel (UsdPreviewSurface or MaterialX).

Delivers: engine-ready files (<out>/fbx/, caches, USD layers) with a settings sidecar and FBX log each, fixed versions in <out>/fixed/, per-file reports, summary.json/.csv, the manifest and publish diff, and the not-verified list. Issues go back to the owner by id: E07 and E11 to scenario-maya-modeling, E14 and E26 to scenario-maya-deformation (Delete Skin Layers keeps the weights), E02, E13 and E27 to scenario-maya-rigging or scenario-maya-animation.

Maya 2027 notes

  • The FBX options page still calls FBX 2019.2 the default: set the version; 2027 FBX import can read user normals (What's New 2027). MAYA_FBX_LOG_FILENAME and MAYA_FBX_LOG_DATETIME_ISO (2025) keep parallel FBX logs apart; the macOS log folder is [verify].
  • Batch output: MAYA_DISABLE_ADP=1 and MAYA_BATCH_STDOUT/STDERR_LOGGING_LEVEL (devkit 2022), set by mx_run.
  • USD for Maya 0.35 to 0.37 across 2027.0 to 2027.2: MaterialX is the default material target on new installs (0.34) while the readme says UsdPreviewSurface; -parentScope is deprecated for -rootPrim.
  • Alembic is Ogawa only; 2027.2 fixed a UV set order bug on deforming exports.
  • MFnMesh raises on an empty mesh (2022.1); removed flags and PySide rules: scenario-maya-expert.
  • References: 2027.1 fixed an ls(modified=True) crash after unloading an ikRPsolver reference; 2027.2 can crash removing a reference with the Node Editor open.

References

  • references/procedures.md: full code for batch jobs, the builtin export job, preflight, FBX (static, skeletal, clips, log, verification with normals and axis), locked normals, Alembic, GPU cache, USD export and layers, references and their health, publish diff, a DG node plug-in, a PySide6 panel, performance, GUI parts. Load before writing any pipeline code.
  • references/expert-notes.md: the judgment by source, with timestamps, and the disagreements with deciding conditions. Load when a choice depends on the brief.
  • references/critique.md: the rubric per output, and where each H01 to H34 handoff rule is measured. Load before reporting a run as done.
  • references/gui-paths.md: menus and options for the same tasks.
  • references/sources.md: every source with credentials, URLs and best timestamps.
  • scripts/mx_pipeline.py: the tested-offline module (docstring lists every function).

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Scenario Maya Pipeline Scripting؟

Use when writing or fixing Maya pipeline code in Python: mayapy batch jobs over many scenes, validating and auto-fixing scenes, FBX export for Unreal or Unity (static, skeletal, animation clips, Game Exporter), Alembic or GPU caches, USD export, stages and layers, references and namespaces, PySide6 tool windows, OpenMaya 2.0 plug-ins, or slow playback. Also when an FBX lands with wrong scale, normals, tangents or extra takes, a USD export has one frame or smoothed meshes, or one bad file kills a batch.

لماذا تستخدم Scenario Maya Pipeline Scripting على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Scenario Maya Pipeline Scripting عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Scenario Maya Pipeline Scripting في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/scenario-labs/skills/tree/main/skills/dcc/maya/scenario-maya-pipeline-scripting. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Scenario Maya Pipeline Scripting؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Scenario Maya Pipeline Scripting؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Scenario Maya Pipeline Scripting معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Scenario Maya Pipeline Scripting مجانية؟

نعم. نشرها scenario-labs على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇