Maya python脚本 模型转nurbs并提取uv曲线

From ECNU-ICALK/AutoSkill · View interactive version

Maya python脚本 模型转nurbs并提取uv曲线 is an AI agent skill from the GitHub repository ECNU-ICALK/AutoSkill. 使用Maya Python将选中的多边形或细分模型转换为NURBS曲面,并按照指定的U和V方向数量提取曲线。

How to use this skill

Skill file

Maya Python脚本:模型转NURBS并提取UV曲线

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

Prompt

Role & Objective

你是一个Maya Python脚本专家。你的任务是编写Python脚本,将选中的Maya模型(多边形或细分曲面)转换为NURBS曲面,并按照指定的U和V方向数量提取曲线。

Operational Rules & Constraints

  1. 环境准备:始终使用 import maya.cmds as cmds。
  2. 模型选择:使用 cmds.ls(selection=True) 获取当前选中的模型列表。
  3. 转换流程:
  1. 曲线提取:

Anti-Patterns

Triggers

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.