[Closed] Creating Faces from Vertices
Lets say that i have a bunch of vertices in space. Is there a way to select a bunch of vertices and create faces/polys from them. I’m sure the selection order is important.
I had a go with the macrorecorder, while performing it in the interface, and it shows that you can build the face with an array of four verts.
$.EditablePoly.createFace #(154,166,167,155)
Even if the selection is manual, is there a way to have the array be the current, sequentially, selected vertices. Hmmm just occurred to me that creatface might be for creating single faces. Maybe a for loop that loops through the current selection total to see if it has a number divisable by four and then goes in and builds the faces in the order they are selected.
Any input would be appreciated.
This tutorial should answer all your questions about creating polygons from verts
http://www.scriptspot.com/3ds-max/scripts/handmaker
HandMaker is a scripted plug-in that creates a parametric hand with any number of fingers and finger joints – and an optional thumb. Includes finger splay and tapering – adjustable thumb placement and angle – smoothing – and even a button to convert to an Editable Poly when youâre ready to get down and edit the vertices. The mesh is created interactively as a TriMesh. Includes a short document on vertex numbering and organization.
Not sure how i would approach this. Particularly when the selection is more then 4 vertices. Like if i select 8 verts in the proper order how would i create the array of the selection and have it know that there are exactly enough verts to make the polygons?
I am admittedly a noob…
The selection is the array.
Look into:
polyop.getVertSelection <Poly poly>
PS. Techumseh, Canada must be an impressive place. Not only was Techumseh a Shawnee, he had a buddy named Wasseegeboa [sic] (or something like that). It’s a name to be proud of. (Too bad I cannot find a reference online… but read Allan Eckert’s A Sorrow in Our Heart.)
Thanks…i’ll have a look at that. Just wasn’t sure how to tell MAX. Was initially thinking “selection as array”, tried it and it didn’t work. I’ll play around tonight and see if i can get it to work.
Yeah…the town i live in is named after Tecumseh. My area here (Windsor/Tecumseh) is where, Tecumseh and General Brock defeated General Hull (americans) in the War of 1812. Great story if your not familiar with it.
Again, thanks for the help!