Skip to content

Instantly share code, notes, and snippets.

@lapaev
Created March 26, 2015 01:23
Show Gist options
  • Select an option

  • Save lapaev/041a0762fab2f55ffa63 to your computer and use it in GitHub Desktop.

Select an option

Save lapaev/041a0762fab2f55ffa63 to your computer and use it in GitHub Desktop.
Render viewport in MOI3D
script:var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 4; v.renderToClipboard( 4096, 4096 ); moi.view.lineWidth = 1; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment