• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test
#1
Big Grin 
if $selection.count == 1 and classof $ == Editable_Poly and ($.EditablePoly.getSelection #Vertex as array ).count == 3 do
(
    vertsel = $.EditablePoly.getSelection #Vertex as array
    vertsel[1] = polyop.getvert $ vertsel[1]
    vertsel[2] = polyop.getvert $ vertsel[2]
    vertsel[3] = polyop.getvert $ vertsel[3]
    vertsel[2] = vertsel[1] - vertsel[2]
    vertsel[3] = vertsel[1] - vertsel[3]
    if not polyop.inSlicePlaneMode $ do $.toggleCommandMode #SlicePlane
    polyop.setsliceplane $ (ray vertsel[1] (cross vertsel[2] vertsel[3])) 10
)
[Image: timg?image&quality=80&size=b9999_10000&s...2F3598.png]
https://timgsa.baidu.com/timg?image&qual...2F3598.png


  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)