Hi Guys,
I have a project where I need to create copies of 100's of very simple products ("boxes" basically) and modifying the heights of each one (by the same amount), and repeating this process, to generate thousands of products just from those 100's......
So obviously I'm thinking of a script that'll take care of all of this.
'All' I need it to do to these copies is the following......
1) Add an Edit-Poly Modifier to the object, and apply a check to "Preserve UVs" so that it is checked, then go into "Vertex Selection Mode".
2) Select the bottom-most vertices (there'll only be either 2 or 4 of those there and they'll all be at z=0, so that's the easiest way those can be found),
3) Then invert the Selection, so you have all the topmost vertices selected now (they'll be many vertices selected, not just 2 or 4).
4) Move those now selected vertices either up or down a specified amount (which I'll hard code that into the script, as I think that would be easiest).
5) Job done, turn off Edit-Poly Modifier.
6) Now re-name that new object with a suffix of Original Name, removing its last three characters first and replacing those with a new 3 char value that I will provide.
7) Then repeat this same process for the rest of these newly created objects in the scene.
Now that sounds easy to do but I have never scripted anything in my life before.....
But maybe now is a good time to learn.... (it's the learning curve I fear for some reason.....)
.....or just ask / pay someone to do this for me
Wish me luck guys! (I'm watching MaxScript101 right now ).
I have a project where I need to create copies of 100's of very simple products ("boxes" basically) and modifying the heights of each one (by the same amount), and repeating this process, to generate thousands of products just from those 100's......
So obviously I'm thinking of a script that'll take care of all of this.
'All' I need it to do to these copies is the following......
1) Add an Edit-Poly Modifier to the object, and apply a check to "Preserve UVs" so that it is checked, then go into "Vertex Selection Mode".
2) Select the bottom-most vertices (there'll only be either 2 or 4 of those there and they'll all be at z=0, so that's the easiest way those can be found),
3) Then invert the Selection, so you have all the topmost vertices selected now (they'll be many vertices selected, not just 2 or 4).
4) Move those now selected vertices either up or down a specified amount (which I'll hard code that into the script, as I think that would be easiest).
5) Job done, turn off Edit-Poly Modifier.
6) Now re-name that new object with a suffix of Original Name, removing its last three characters first and replacing those with a new 3 char value that I will provide.
7) Then repeat this same process for the rest of these newly created objects in the scene.
Now that sounds easy to do but I have never scripted anything in my life before.....
But maybe now is a good time to learn.... (it's the learning curve I fear for some reason.....)
.....or just ask / pay someone to do this for me
Wish me luck guys! (I'm watching MaxScript101 right now ).
Comment