Notifications
Clear all
[Closed] meshop.turnEdge problem
May 08, 2009 4:29 pm
Hi…i have a simple script that takes in a bunch of edges, and turns them…
my problem is, occasionally it will turn an edge that is not selected…which is very odd…given the fact thats basically 2 calls, i’m not sure exactly what i’m doing wrong.
I have to use mesh, poly is not an option…
if anyone could take a look at this, it would be appreciated. Thanks
oh, also, if anyone knows how to make the selected edges “visible” that would help me out as well.
Thanks
(
try(destroyDialog Turn_n_Rotate)catch()
global Turn_n_Rotate
rollout Turn_n_Rotate "-------------" width:162 height:35
(
button turnBtn "Turn n' rotate" pos:[21,10] width:117 height:18
-- // Event Handler
----------------------------
on turnBtn pressed do
(
local Edges =( $.selectedEdges as bitarray)
for edge in edges do
meshop.turnEdge $ edge
update $
)
) -- end rollout
createDialog Turn_n_Rotate style:#(#style_toolwindow, #style_sysmenu, #style_resizing) --pos:[40,931]
)
1 Reply
May 08, 2009 4:29 pm
edited:
i thought maybe i had been selecting the edge without knowing, and thats why it was rotating
but i just had it rotate an edge that wasn’t selected…so, my confusion continues.
If no one can get this to occur, i will try to make a test file.