Notifications
Clear all

[Closed] vertex position?

Hi
I want a simple script that allow me to modify vertex position but not move function
like what we do for a normal obj ( obj.pos.x = 0 ) I want something similar but for vertices

Can you help me on it PLEASE

4 Replies

This will work on an editable_poly object.

$.vertices[1].pos = [10,10,10]
1 Reply
(@anasyakoub)
Joined: 10 months ago

Posts: 0

thanks for your reply it works good
but what if I want to apply it on selected vertices

for o in (polyop.getvertselection $) do $.vertices[o].pos = [0,0,0]
1 Reply
(@anasyakoub)
Joined: 10 months ago

Posts: 0

thaaaaaaaaanks alot
it work very nice and simple