New to MaxScript, wondering if this is possible
Hello, I have been working on a fairly basic script that I was hoping could do a little more. Basically here is the workflow of my current script.
-Create Box
-Delete bottom face of box so now its a 5 sided box
-Unwrap UVW/weld verts (DO NOT normalize mapping, so it keeps real world size)(It unwraps like a + shape)
-Copy Map Channel info to Mesh so the 3d model lays out like my mapping.
-Create a spline from border of object
-Export spline as an .ai file
This works as intended but I am kind of stuck on where to go from here. What I would like to do is first to have a list of box sizes in a csv or similar file, and it would run the script on each line of the csv, then output each line as its own .ai file. So if I had 20 rows of data in the CSV, it would output 20 .ai files. There would be 4 columns of data in each row (Name, Length, Width, Height)
The other issue I would need sorted out would be that once the spline is created there are 12 verticies that look like a plus sign. The top of the box in center and each of the 4 sides are attached to the top. I need the script to somehow move certain verts as shown in picture below. It will always be a constant number for example 1.125". The light blue line is the original shape, and the pink line is what it should look like when complete. I manually moved these verts to get the pink line, but none of it was recorded in the listener.
That is basically all I need this script to do for now. If anyone has any ideas please let me know. I would pay a bounty if anyone can get this working as needed. Thank you.
Attachment | Size |
---|---|
vertsample.jpg | 1.25 MB |
Comments
.
If you still need someone to help you you can send me an email to [email protected].
Tools and Scripts for Autodesk 3dsMax