stayinwonderland Posted July 25, 2015 Share Posted July 25, 2015 I like the align verts to x, y, z function in edit poly and I'm always finding that I need that on edit spline. Is there such a thing? Link to comment Share on other sites More sharing options...
jasonstewart Posted July 25, 2015 Share Posted July 25, 2015 you can select them and use the scale tool to put them in a line. I don't think there is a way to do it otherwise although it would be handy. Link to comment Share on other sites More sharing options...
3danim8d Posted July 27, 2015 Share Posted July 27, 2015 Do you mean something like Straighten Edge? http://veda3d.com/straighten-edge/ Link to comment Share on other sites More sharing options...
Chris MacDonald Posted July 27, 2015 Share Posted July 27, 2015 Do you mean something like Straighten Edge? http://veda3d.com/straighten-edge/ That looks pretty handy, never seen it before. Good find! Link to comment Share on other sites More sharing options...
notamondayfan Posted July 27, 2015 Share Posted July 27, 2015 Cant remember where I found it, but this flattens splines ( on isEnabled return ( selection.count == 1 and \ (classof selection[1] == SplineShape or\ classof selection[1] == Line) \ and selection[1].modifiers.count == 0 ) on execute do ( new_z = $.pos.z for s = 1 to (numSplines $) do ( for k = 1 to (numKnots $ s) do ( knt = getKnotPoint $ s k in_vec = getInVec $ s k out_vec = getOutVec $ s k knt.z = in_vec.z = out_vec.z = new_z setInVec $ s k in_vec setOutVec $ s k out_vec setKnotPoint $ s k knt )--end k loop )--end s loop updateshape $ )--end execute )--end script I guess it might be possible to edit the script to do what you want? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now