Advertisement
nik684

Untitled

Jan 11th, 2021
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. (
  2. distrobj = $[1]
  3. copyobj = $[2]
  4. smesh = snapshotasmesh distrobj
  5.  
  6. for v in polyop.getVertSelection distrobj do
  7. (
  8. o = instance copyobj
  9. o.pos = polyop.getVert distrobj v
  10. tm = matrixfromnormal (getNormal smesh v)
  11. o.transform = tm * o.transform
  12. )
  13. delete smesh
  14. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement