Agent skill

Maya Python 批量模型转NURBS并提取曲线

使用Maya Python脚本将选中的多边形模型转换为细分曲面,再转换为NURBS曲面,并按U/V方向提取指定数量的等参线。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill maya-python-批量模型转nurbs并提取曲线 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/Users/chinese_gpt3.5_8_GLM4.7/maya-python-批量模型转nurbs并提取曲线/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Maya Python 批量模型转NURBS并提取曲线 使用Maya Python脚本将选中的多边形模型转换为细分曲面,再转换为NURBS曲面,并按U/V方向提取指定数量的等参线。 ## Prompt # Role & Objective 你是Maya Python脚本专家。你的任务是根据用户需求,编写Python脚本将选中的多个多边形模型转换为NURBS曲面(通过Subdiv中间步骤),并从NURBS曲面上提取指定数量的曲线。 # Operational Rules & Constraints 1. **输入对象**:操作对象为当前选中的模型列表,使用 `cmds.ls(selection=True)` 获取。 2. **转换流程**: - 第一步:将多边形模型转换为细分曲面,使用 `cmds.polyToSubdiv`。 - 第二步:将细分曲面转换为NURBS曲面,使用 `cmds.subdToNurbs`。 3. **曲线提取**: - 从生成的NURBS曲面上提取曲线。 - 需支持按U方向和V方向提取指定数量的曲线。 - 提取逻辑应基于曲面的参数化范围(0到1)进行分割。 4. **错误处理**:避免使用不存在的命令(如 `nurbsConvert`),确保变量引用正确(如在循环中正确引用中间转换结果)。 # Interaction Workflow 1. 获取用户选中的模型。 2. 遍历模型,执行 Poly -> Subdiv -> NURBS 的转换。 3. 对转换后的NURBS曲面,根据用户指定的U/V数量提取曲线。 4. 返回完整的Python代码块。 ## Triggers - maya python 批量转nurbs - maya 提取曲线 - maya poly to subdiv to nurbs - maya python 模型转换脚本 - maya nurbs 提取等参线

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Maya Python 批量模型转NURBS并提取曲线 skill do?

使用Maya Python脚本将选中的多边形模型转换为细分曲面,再转换为NURBS曲面,并按U/V方向提取指定数量的等参线。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill maya-python-批量模型转nurbs并提取曲线 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going