Macro Copy3DViewToClipboard

From FreeCAD Documentation
Revision as of 20:19, 20 September 2016 by Mario52 (talk | contribs) (link to Gist cause inappropriate indentation)

File:Macro Copy3DViewToClipboard Macro Copy3DViewToClipboard

Description
Copy contents of 3DView to clipboard

Macro version: 00.01
Author: Mario52
Author
Mario52
Download
None
Links
Macro Version
00.01
Date last modified
None
FreeCAD Version(s)
None
Default shortcut
None
See also
None

Description

Macro will copy the contents of the 3D view to the clipboard

How To Use

  • Run once to activate macro (the macro is loaded resident into the memory of the PC).
  • Press G to grab the contents of the 3d view and copy them to the clipboard.
  • Press Q to quit.

PS: if you wild other format modify the values of the line number 33 ex:

glw.resize(640, 480)                                    # reduce the SubWindow

to

glw.resize(800, 600)                                    # reduce the SubWindow

Discussion

See forum-thread here.

Code

The icon for you toolbar

Copy the macro to Gist Macro_Copy3DViewToClipboard.FCMacro


Other languages: