ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Why you don't want to use Cap Poly? This is the easies method.
polyOp.createPolygon $ #(177, 145, 146, 178)
creates polygon on oject. See the attached image.
Don't use bitarray to store the selected verts. In bitarray the verts are sorted from the lower to higher vert index.
To use polyOp.createPolygon to create face from 4 verts, you have to store the selected verts in an array, where the verts are sorted in proper order. See the image - did you see the verts indexes and how I sort the verts in the array that is passed to polyOp.createPolygon. The verts order is essential when you wants to create 4 sided polygon.
If class of object == editable_mesh or editable_poly then \
Enable sub-object vertex ➜ go to righr-panel settings ➜ Create ➜ pick to viewport for create vertices
You have to have a mesh. Create a plane, convert it to mesh, delete all verts and you will have an empty mesh and can start adding verts where you want.
Comments
I found a script (on this site) that does it
.
Why you don't want to use Cap Poly? This is the easies method.
creates polygon on oject. See the attached image.
Don't use bitarray to store the selected verts. In bitarray the verts are sorted from the lower to higher vert index.
To use polyOp.createPolygon to create face from 4 verts, you have to store the selected verts in an array, where the verts are sorted in proper order. See the image - did you see the verts indexes and how I sort the verts in the array that is passed to polyOp.createPolygon. The verts order is essential when you wants to create 4 sided polygon.
Tools and Scripts for Autodesk 3dsMax
Okay, I agree with you. It is
Okay, I agree with you. It is better to use the cap. Thank you
I know about cap
But
polyOp.createPolygon $ #{ , , , }
dont create polygon on oject (works with only isolate vertex).
Creating polygon from four verts see the attached image.
Tools and Scripts for Autodesk 3dsMax
How to create vertices
How do you create vertices without the mesh?
If class of object ==
If class of object == editable_mesh or editable_poly then \
Enable sub-object vertex ➜ go to righr-panel settings ➜ Create ➜ pick to viewport for create vertices
You have to have a mesh.
You have to have a mesh. Create a plane, convert it to mesh, delete all verts and you will have an empty mesh and can start adding verts where you want.
Tools and Scripts for Autodesk 3dsMax