Notifications
Clear all

[Closed] insertVertexInEdge placement rule

Hi.
What rule is behind vertex placement in edge when max doing
“$.insertVertexInEdge edgeid proportion_value “
I doing a script that place something like drip shape on geometry.
So in some places it’s work correctly but there are some problems in others.
I’m not understand how to set the rule placement. What proportion need to set in “insertVertexInEdge” let say 0.25 or flipped (1-0.25. )
In first thought i check a what vertex is first after getvert by edge. But it’s not solve problem completely. Then I look more deeply and find that max not use any rule and placed them randomly and i have a flip side in shape.
So how to check this correctly?

1 Reply

I find problem.
To find how it make a choice this value need to be tested

[size=+0][size=2][font=Courier New][size=2]<index><EditablePoly>.GetEdgeVertex <index>edgeID <index>end[/size][/font][/size][/size]