Giter VIP home page Giter VIP logo

sonictk / softclusterex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webberhuang/softclusterex

0.0 2.0 0.0 350 KB

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

License: Other

Python 85.77% CMake 1.25% C++ 12.98%

softclusterex's Introduction

=============================== SoftClusterEX

Toolname:    Soft Cluster EX  
Author:      Webber Huang  
Contact:     [email protected]  
Homepage:    http://riggingtd.com  
Version:     3.0.1  
Requires:    Maya 2011 x64 or above  
Platform:    Windows 64bit, Mac OS X, Linux 64bit  
License:     BSD license  

Description:

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

Install:

  1. Place SoftClusterEX folder into your maya script path. e.g., C:/Users/YourUsername/Documents/maya/scripts/
* NOTE 1: Please remove softClusterEX.py and softClusterEX.pyc first if you ever 
  installed the 1.x version before.
* NOTE 2: Please remove the softSelectionQuery plugins from your plugin path 
  (e.g., C:/Program Files/Autodesk/Maya<Version>/bin/plug-ins/) if you ever 
  installed 2.6.0 version or older.  
  1. Drag "install.mel" into maya scene, a new button will appear in your current shelf, click it to launch. (Recommend!)

Usage:

If you don't like to use "install.mel" to help you install, run the following code in maya's python tab is also okay.

import SoftClusterEX  
SoftClusterEX.launch()  

Features:

General functionality:

  • supports create cluster or joint from polygon, nurbsSurface, nurbsCurve, subdiv and lattice
  • all types can be toggled on/off from UI
  • supports create cluster or joint from multi objects of different type
  • supports exclude influenced objects and groups while working on Global falloff mode
  • supports objects with duplicate name
  • ultra high performance, even working on massive density geometry
  • mirror cluster or joint in local or world space, also support working on multiple types of deformable geometry
  • redefine weight with soft selection
  • supports export and import weight

Command line:

  • The core function of this tool comes from the custom command "softSelectionQuery", you can use it to implement your own tools.

  • Synopsis: softSelectionQuery [flags] [String...]

    • sl -selection return a list contains transforms and vertices
    • tr -transforms return transform names of influenced objects
    • s -shapeNames: return shape names of influenced objects
    • vtx -vertices: return vertices of influenced objects
    • ap -allPaths: return partial paths to objects in DAG
    • l -long: return full path names for Dag objects.
    • c -count: return count of influenced objects
    • nt -nodeTypes: return type names of influenced objects
    • ant -apiNodeTypes: return api type name of influenced objects
    • exo -excludeObjects String (multi-use): set exclude objects
    • t -types String (multi-use): set support types
    • w -weights: return weights of influenced components

Todo:

  • None

Limitation

  • Joint function can't work with subdiv since MFnSkinCluster is incompatible with this type of geometry

Feedback:

Bugs, questions and suggestions to [email protected]

softclusterex's People

Watchers

James Cloos avatar Siew Yi Liang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.