Soft Cluster EX

Soft Cluster EX UI Preview

Soft Cluster EX UI Preview

Soft Cluster EX Demo from xracz on Vimeo.

工具名: Soft Cluster EX
作者: Webber Huang
联系方式: xracz.fx@gmail.com
主页: http://riggingtd.com
般本: 1.1.0
要求: Maya 2011 x64 or above
平台: Windows 64bit, Mac OS X, Linux 64bit

______________________________________________

描述:

Soft Cluster EX基于python和C++编写,用于转换软选择为Cluster,并支持多种常见
的可变形物体,如:polygon、nurbs、subdiv和晶格。

安装:

1. 将 softSelectionQuery_<Version>-<Bit>.mll(或bundle) 放进 maya plugin 路径.
如:C:/Program Files/Autodesk/Maya<Version>/bin/plug-ins/

2. 将 softClusterEX.py 放进 maya script 路径.
如:C:/Users/用户名/Documents/maya/scripts/

使用:

import softClusterEX
softClusterEX.GUI()

特征:

基本功能:

- 简单、易于理解的UI
- 支持从polygon, nurbsSurface, nurbsCurve, subdiv 和 lattice创建Cluster
- 可选打开/关闭不希望被影响的类型
- 支持多选,Global模式下即使影响多个不同类型的物体也能创建Cluster
- 切换Falloff模式
- Global模式下可排除不希望被影响的物体和组
- 场景里存在大量重命名物体也没关系

命令行:

- Soft Cluster EX的核心功能来自自定义命令(custom command)”softSelectionQuery”,
它是一个独立通用的Plugin,用来查询软选择信息,用户可以用它来构建自己的工具。

- Synopsis: softSelectionQuery [flags] [String...]
Flags:
-ant -apiNodeTypes: 获取被影响物体的api类型名
-ap -allPaths: 获取被影响物体的相对路径名,用于应对重命名的情况
-c -count: 获取被影响物体总数
-cmp -components: 获取被影响的点
-exo -excludeObjects String (multi-use): 设置被排除的物体,支持列表
-l -long: 获取被影响物体的绝对路径名,用于应对重命名的情况
-n -names: 获取被影响物体的名字
-nt -nodeTypes: 获取被影响物体的类型
-s -shapeNames: 获取被影响物体的shape节点名
-sap -shapeAllPaths: 获取被影响物体的shape节点相对路径,用于应对重命名的情况
-sl -shapeLong:  获取被影响物体的shape节点绝对路径,用于应对重命名的情况
-t -types String (multi-use): 设在可影响物体类型,支持列表
-w -weights: 获取被影响点的权重值

______________________________________________

更新日志:

2013-11-18: v1.1.0 by Webber Huang
- 支持Linux平台
- 可按组(group)排除物体,把组添加进排除列表,Global模式下组内的所有物体均被忽略

2013-10-27: v1.02 by Webber Huang
- 支持Mac OS X平台

2013-10-09: v1.01 by Webber Huang
- 1.00版因采用vs2012编译,版本过新,导致多数电脑无法正常加载softSelectionQuery插件,为保证最大兼容性,用vs2008重新编译了所有softSelectionQuery_<Version>-<Bit>.mll

2013-09-30: v1.00 by Webber Huang
- 首次发布

______________________________________________

待开发:

- 提升在高模创建Cluster的性能
- 支持排除整个组的物体
- 支持cluster与joint相互转换

______________________________________________

反馈:

任何bug、问题、建议请发送至 xracz.fx@gmail.com

===========================English Translate===========================

Toolname: Soft Cluster EX
Author: Webber Huang
Contact: xracz.fx@gmail.com
Homepage: http://riggingtd.com
Version: 1.1.0
Requires: Maya 2011 x64 or above
Platform: Windows 64bit, Mac OS X, Linux 64bit

______________________________________________

Description:

Soft Cluster EX is a python and c++ based tool for converting soft selection to
cluster, supports common types of deformable geometry(e.g. polygon,nurbs,subdiv
and lattice) with a lot of advance features.

Install:

1. Place softSelectionQuery_<Version>-<Bit>.mll(or bundle) into your maya plugin path.
e.g., C:/Program Files/Autodesk/Maya<Version>/bin/plug-ins/

2. Place softClusterEX.py into your maya script path.
e.g., C:/Users/YourUsername/Documents/maya/scripts/

Usage:

import softClusterEX
softClusterEX.GUI()

Features:

General functionality:

- user friendly UI, easy to understand
- supports create cluster from polygon, nurbsSurface, nurbsCurve, subdiv and lattice
- all types can be toggled on/off from UI
- supports create cluster from multi objects of different type
- change falloff mode
- supports exclude influenced objects and groups while working on Global falloff mode
- supports objects with duplicate name

Command line:

- The core function of this tool come from the custom command “softSelectionQuery”,
you can use it to implement your own tools.

- Synopsis: softSelectionQuery [flags] [String...]
Flags:
-ant -apiNodeTypes: return api type name of influenced objects
-ap -allPaths: return partial paths to nodes in DAG
-c -count: return count of influenced objects
-cmp -components: return components of influenced objects
-exo -excludeObjects String (multi-use): set exclude objects
-l -long: return full path names for Dag objects
-n -names: return names for Dag objects
-nt -nodeTypes: return type names of influenced objects
-s -shapeNames: return shape names of influenced objects
-sap -shapeAllPaths: return partial paths to shape nodes in DAG
-sl -shapeLong: return full path names for shapes
-t -types String (multi-use): set support types
-w -weights: return weights of influenced components

______________________________________________

Update Log:

2013-11-18: v1.1.0 by Webber Huang
- Add Linux compile version for softSelectionQuery plugin, it works on linux now

- Exclude objects by group supported, user can add groups into exclude list,
objects under these groups will be ignored while working on global mode

2013-10-27: v1.02 by Webber Huang
- Compiled softSelectionQuery plugin for OS X, mac user can play with it

2013-10-09: v1.01 by Webber Huang
- Issue of plugin loading failed,i re-compile all softSelectionQuery_<Version>-<Bit>.mll with vs2008 to maintain maximum compatibility

2013-09-30: v1.00 by Webber Huang
- Initial release

______________________________________________

Todo:

- performance improve when operate on high-res geometry
- supports exclude objects by groups
- supports convert cluster and joint into each other

______________________________________________

Feedback:

Bugs, questions and suggestions to xracz.fx@gmail.com

Download:

Creative Crash

2013-11-18: SoftClusterEX-1.1.0.7z
2013-10-27: SoftClusterEX-1.02.7z
2013-10-09: SoftClusterEX-1.01.7z
2013-09-30: SoftClusterEX-1.00