Seperating the elements into new Objects? I have two tools in my toolbar, one will take your selection and make them all into 1 EditablePoly Mesh, and another Element to Object, will break the elements into their own named objects with their pivots centered.
Never a wiser word. the math behind this is extremely simple. Plus it gets more creative folks writing tools and understanding what makes things tick. Update wise, I've added a function to resize an object to the nearest whole grid units. and also to position it at the nearest grid position. basically you can take any…
I APPROVE! Thanks so much r_fletch_r. Works great. Would it be possible to add a feature to snap the dimension to the the closet grid point so that the bounds of the object are on grid? Would also be neat if it allowed you to enter dimensions other than the current unit scale (so I could enter in inches and it would…
I broke it again... hehe.. I typed in 00 into the width. Maybe don't allow for ppl to type that in. Also, if I sit and click conform to grid and position back and forth, AFTER the object has been rotated, the object hops around the grid, and starts moving further and further away. I think partially because the pivot gets…
It's not that I don't understand the math, I can write this stuff up in MEL pretty easily. I just don't know the syntax, and that takes time to learn. I wrote a script this morning that snaps an object to the nearest grid point and it took me quite awhile to do because I kept getting a syntax error that turned out to be a…
I'm curious, what would be the best way to go about getting this to work on selections in edit poly mode? I've been merging a lot of my objects lately and it gets rather tedious separating them to use this tool.
Hey everyone I am looking for a quick way to take an existing object and specify its dimensions. For example if I have a box of a random size, I would like to select it, open some sort of menu, and type of 5x5x5 to make it a 5 unit by 5 unit x 5 unit box. What's the best way to go about doing somthing like that?
gs = getGridSpacing() for obj in selection do(pivBackup = $.pivotfor o in selection do o.pivot = o.centerpPos = obj.pivotfor i = 1 to 3 dopPos[i] = floor(pPos[i] / gs + 0.5) * gsobj.position = pPosfor o in selection do o.pivot = pivBackup) I modified a bit of code I found on scriptspot so that it takes any object, moves…
Thanks man :) Actually the snap i wrote snaps the lower corner of the object to the nearest grid point. Yours uses the pivot yeah? I figured a corner would make it easier to fit meshes together :) I was planning to expand upon this and let the user pick a corner to snap or the pivot point. so basically a 5 button grid 1…
It should be possible, If a check was added when getting the bounding box to look at subobject selections and put xform mods on them. it'd be messy though once you start doing it to multiple objects. it may also be possible to do it with a tranformation matrix so you dont have to use a xform modifier at all. Doing it with…