Edit product

$0+

Maya : Mesh Info

This plugin will register a node and a command. With the command it will be possible to query the volume of a mesh and with the node you can query not only the volume but also the surface area of all the faces.

Installation

  • Extract the content of the .rar file anywhere on disk.
  • Drag the meshInfo.mel file in Maya to permanently install the plugin.

Usage

Command:


    import maya.cmds as cmds
    volume = cmds.polyVolume(ws=True, ch=False)

By setting the constructionHistory argument to True, instead of the volume being returned as a float, the meshInfo node will be returned that in order can be used to query the volume.

Node:

    import maya.cmds as cmds
    meshInfo = cmds.createNode("meshInfo")

    cmds.connectAttr("{0}.worldSpace[0]".format(mesh),"{0}.inMesh".format(meshInfo))

    volume = cmds.getAttr("{0}.volume".format(meshInfo))
    area = cmds.getAttr("{0}.area".format(meshInfo))


You've purchased this product

See it in your library

View in Library
Sorry, this item is not available in your location.
Sold out, please go back and pick another option.

Name a fair price:

  • Size86.8 KB

Checkout

Maya : Mesh Info

Enter your info to complete your purchase

Card

···· ···· ···· 4242
Test card

05/18

Card

Use a different card?

Card

pp paypal

or pay with

We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

or pay with

Your purchase was successful!

We charged your card and sent you a receipt

    Gumroad Library

    Download from the App Store or text yourself a link to the app

    Good news! Since you already have a Gumroad account, it's also been added to your library.

    Powered by Gumroad