On Mon, Jan 2, 2017 at 8:25 AM <[email protected]> wrote: > Hello, > > ive got a script which duplicates a mesh 10 times. I just want to offset > the mesh each time it is duplicated so it lines the meshes up side by side. > But in order to do that for any mesh i wanted to use the bounding box info > to find the x width of the mesh. > > It has min and max bounding box values and neither seem to represent the > correct width of my mesh. How can you even have a min or a max bounding > box?
Are you referring to the values returned from either the exactWorldBoundingBox or polyEvaluate commands? "min" refers to the smaller xyz corner and "max" refers to the larger xyz corner. Is this not what you would expect? > surely the bounding box is the exact size of the mesh right? > > anyway, just wanted to ask if this is the correct way to find the width of > a mesh > > thanks, > Sam > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/a8dfb57d-0fa8-48ba-bcdc-7dd85b317ae1%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2B_UEK8fMpykCTuFopmVxfjMMPdxpuGjGyAQp6myQ%3D_g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
