Screenshot Capture
Std ViewScreenShot |
Menu location |
---|
Tools → Save picture... |
Workbenches |
All |
Default shortcut |
None |
Introduced in version |
- |
See also |
... |
Rezumat
Această comandă deschide o fereastră de dialog pentru a salva conținutul curent la dosar. Se poate salva în diverse formate de imagine. În plus, puteți modifica ecranul folosind "Opțiuni" pentru a obține acces la mai mulți parametri.
Această comandă poate fi utilizată și ca fișier PNG sau JPEG pentru a salva informațiile MIBA împreună cu imaginea.
Formatele de imagine
FreeCAD utilizează tipurile de imagini încorporate QT și unele pluginuri QT în directorul bin/imageformats pentru a salva imagini. Știu cum puteți alege depinde de platforma dvs.
Casetă de dialog: Salvați imaginea
Mărimea Imaginii
Parametrii dimensiunii imaginii sunt setați la dimensiunea ecranului a vizualizării 3D active. Dar o puteți schimba la orice valoare doriți. Unele drivere OpenGL nu permit randări mai mari de 8000 de pixeli. Depinde de sistemul dvs.
Cu cele patru butoane puteți schimba aspectul la o anumită valoare.
Proprietăți imagine- Fundalul
Cu această casetă combo puteți alege fundalul imaginii pe care o faceți.
- Current utilizați fundalul curent de vizualizare (așa cum este ales în preferințe)
- White creează un fundal alb simplu (de exemplu, imprimări)
- Black fundal negru simplu
- Transparent creează un fundal transparent pe formatele de imagine care susțin transparența
Creation method
With this combo box you can set how the image data is collected (rendered):
- Framebuffer (custom): It uses the same technique as Framebuffer (as is). Additionally it allows to set custom sizes and the background.
- Framebuffer (as is): If multi-sampling anti-aliasing is off, it reads the image directly from the graphic renderer. If multi-sampling is on, it renders to a framebuffer and gets the image from there. (The key part of this method is Qt's QOpenGLFramebufferObject class.)
- Offscreen (new): This is the default method. It is a replacement/alternative for the Offscreen (old) rendering. Additionally it supports multi-sampling. (The most important classes are Qt's QOffscreenSurface and QOpenGLFramebufferObject.)
- Offscreen (old): It only uses functions from the library Coin3d. This method does not support multi-sampling, relies heavily on graphic driver and on many modern Linux systems it does not work. It is a real off-screen rendering method that doesn't require an OpenGL window.
To turn on multi-sampling (anti-aliasing), use the option Anti-Aliasing in the preferences.
Comentariu
Unele formate de imagine pot conține un comentariu de-a lungul imaginii. În cazul în care alegeți unul dintre aceste formate, puteți introduce un comentariu sau utilizați câmpul de cometnariu pentru informațiile MIBA.
Script
De asemenea, este posibil să salvați ecranul prin Python:
Gui.ActiveDocument.ActiveView.saveImage('C:/temp/test.png',1656,783,'Current')
Acest script creează o serie de fotografii de dimensiuni diferite și diferite puncte de vedere. Tipul camerei de fotografiat, adică modul ortografic sau modul perspectivă, pot fi, de asemenea, schimbate.
import Part,PartGui
# loading test part
Part.open("C:/Documents and Settings/jriegel/My Documents/Projects/FreeCAD/data/Blade.stp")
OutDir = 'c:/temp/'
# creating images with different Views, Cameras and sizes
for p in ["PerspectiveCamera","OrthographicCamera"]:
Gui.SendMsgToActiveView(p)
for f in ["ViewAxo","ViewFront","ViewTop"]:
Gui.SendMsgToActiveView(f)
for x,y in [[500,500],[1000,3000],[3000,1000],[3000,3000],[8000,8000]]:
Gui.ActiveDocument.ActiveView.saveImage(OutDir + "Blade_" + p +"_" + f + "_" + `x` + "_" + `y` + ".jpg",x,y,"White")
Gui.ActiveDocument.ActiveView.saveImage(OutDir + "Blade_" + p +"_" + f + "_" + `x` + "_" + `y` + ".png",x,y,"Transparent")
# close active document
App.closeDocument(App.ActiveDocument.Name)
- File: New, Open, Close, Close All, Save, Save As, Save a Copy, Save All, Revert, Import, Export,Merge project, Project information, Print, Print preview, Export PDF, Recent files, Exit
- Edit: Undo, Redo, Cut, Copy, Paste, Duplicate selection, Refresh, Box selection, Box element selection, Select All, Delete, Send to Python Console, Placement, Transform, Alignment, Toggle Edit mode, Edit mode, Preferences
- View:
- Miscellaneous: Create new view, Orthographic view, Perspective view, Fullscreen, Bounding box, Toggle axis cross, Clipping plane, Texture mapping, Toggle navigation/Edit mode, Appearance, Random color, Workbench, Status bar
- Standard views: Fit all, Fit selection, Isometric, Dimetric, Trimetric, Home, Front, Top, Right, Rear, Bottom, Left, Rotate Left, Rotate Right
- Freeze display: Save views, Load views, Freeze view, Clear views
- Draw style: As is, Points, Wireframe, Hidden line, No shading, Shaded, Flat lines
- Stereo: Stereo red/cyan, Stereo quad buffer, Stereo Interleaved Rows, Stereo Interleaved Columns, Stereo Off, Issue camera position
- Zoom: Zoom In, Zoom Out, Box zoom
- Document window: Docked, Undocked, Fullscreen
- Visibility: Toggle visibility, Show selection, Hide selection, Select visible objects, Toggle all objects, Show all objects, Hide all objects, Toggle selectability
- Toolbars: File, Edit, Clipboard, Workbench, Macro, View, Structure, Help
- Panels: Tree view, Property view, Selection view, Tasks, Python console, DAG view, Model, Report view
- Link navigation: Go to linked object, Go to the deepest linked object, Select all links
- Tree view actions: Sync view, Sync selection, Sync placement, Pre-selection, Record selection, Single document, Multi document, Collapse/Expand, Initiate dragging, Go to selection, Selection Back, Selection Forward
- Tools: Edit parameters, Save image, Load image, Scene inspector, Dependency graph, Document utility, Measure, Add text document, View turntable, Units calculator, Customize, Addon manager
- Macro: Macro recording, Macros, Recent macros, Execute macro, Attach to remote debugger, Debug macro, Stop debugging, Step over, Step into, Toggle breakpoint
- Help: Help, FreeCAD Website, Donate, Users documentation, Python scripting documentation, Automatic Python modules documentation, FreeCAD Forum, FreeCAD FAQ, Report a bug, About FreeCAD, What's This
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub