Anim8or Community
General Category => ASL Scripts => Topic started by: Suppastar on February 13, 2009, 12:46:59 am
-
Can anyone make a script that acts like "flatten" command, but works with just lines?
I have a hard time fixing all the lines that were made crooked or wrong, just wondering if anyone could make a script that could do this for me?
-
You could just merge points...
-
Sorry, that's not what I'm talking about, I'm talking about this...
Selecting the Messed up/Crooked Lines, and using "Flatten Lines", flattens them into image #2.
The same effect as the original "Flatten" does , but that only works on faces, not lines.
-
I agree, it would be a nice script, though there would have to be two, one vertical and one horizontal (could it be view dependent? or would it have to be axis dependent?)
-
Hi Suppastar, :)
see this script in link:
http://www.anim8or.com/cgi-bin/postings.cgi?action=reply&forum=ASL+Scripts&number=6&topic=000032.cgi&TopicSubject=Snap+to+point+script&replyto=8
or direct download:
http://homepage.ntlworld.com/w.watson3/main/files/Snap2Pnt.zip
this script work like you want, in Axis Y...!
but if modifiqued the code, work full in axis Y and X... :)
[]s
-
I was just wondering, if you could use the two points at the end, to make a strait line to align the points and could do it in 3d :)
-
Thanks everyone
@Neirao
Thanks for that script, but that was for snapping points together, not straightening out the lines.
Basically as I said, we just need a script that acts like the original Flatten command in anim8or, but works with lines and points also. I can't tell you after hours and hours of point modeling, some of the lines are at a slight angle. Which on some models can ruin the look, if we had script that could make sure the lines are straight it would make modeling a lot easier.
This is script that I think everyone would use, maybe Steve could implement a version of it with command prompt like the original flatten command, or even work it into the original some how?
-
Neirao
This is version 1.0,the most up to date:
http://www.anim8or.com/smf/index.php?action=dlattach;topic=1309.0;attach=1725
-
@ Suppastar:
the script work... but for not "join" all the points, we have then unselect the axis then not want mover the points..in (http://www.anim8or.com/manual/buttons/b_xyz_sss.gif), please try again OK ;)
@Claude: thanks!