Create Vertex in the center of the Edge

A few questions. How to create Vertex in the center of the Edge, using Maxscript? And is it possible to do this, but stay in the vertex mode, not switching to edge mode? For example, if the edge is longer than other edges, add a vertex to it, but stay in vertex mode.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

.

Select an object that have more than 5 edges. The code below will create a vertex at the center of the edge 5. No need to go to edge sub-object level. No need the Modify Panel to be open.

-- polyop.divideEdge <Poly poly> <integer edge> <float fraction>
polyop.divideEdge $ 5 0.5
chooj's picture

.

thanks, I will try this

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.