Select odd/Even Splines segment
Hi Guys, i know this might be maybe a line, but I cannot get it work, I need the code to select odd/even spline segement.
Per example I want to do a Road Paint, so I create a spline, then Divide it, and then I have to select manualy every line in between to delete it and make the white painting. I know there should be a pretty easy script to do that
Thanks a Lot!!
Tricota
Comments
Same but for vertices?
Can anyone explain how to do the same but for vertices? Cheers
...
You can use this fn (BTW works whit lines)
So select line and run the code
After you run above function use next line
or this line
bga
Thank you
YES! it works...seems to be a really long process to get it done by script but for what I need to do this is great!
Thank you very much for taking the time to reply with this!!!
Cheers
.
There was Select Even/Odd tool in Polyboost(The Tools - Tools), but why it is not implemented in RIbbon i don't know.
Tools and Scripts for Autodesk 3dsMax
...
For splines?
bga
.
I doubt that it suports splines. Your snipped is more universal.
It is strange why AD not implemented all tools from PB?
Tools and Scripts for Autodesk 3dsMax
...
I suppose they were busy with caddies :)
bga
.
+10 ;)
Tools and Scripts for Autodesk 3dsMax
Here's a quick script that
Here's a quick script that should do what you want assuming you only have 1 spline within your object (because it only works on the first spline sub object currently). In the example I tested I just created a quick line object, went to segment subobj and divided it, then ran the script.
To run this script, simply select your spline, and go to Maxscript / Run Script and run the attached file.