Std Refresh: Difference between revisions
mNo edit summary |
(Removed a reference to V0.19.) |
||
(25 intermediate revisions by 6 users not shown) | |||
Line 4: | Line 4: | ||
<!--T:9--> |
<!--T:9--> |
||
{{Docnav |
{{Docnav |
||
|[[Std_DuplicateSelection| |
|[[Std_DuplicateSelection|DuplicateSelection]] |
||
|[[Std_BoxSelection| |
|[[Std_BoxSelection|BoxSelection]] |
||
|[[Std_Edit_Menu|Std Edit Menu]] |
|[[Std_Edit_Menu|Std Edit Menu]] |
||
|IconL=Std_DuplicateSelection. |
|IconL=Std_DuplicateSelection.svg |
||
⚫ | |||
|IconR=Std_BoxSelection.svg |
|IconR=Std_BoxSelection.svg |
||
⚫ | |||
}} |
}} |
||
Line 15: | Line 15: | ||
{{GuiCommand |
{{GuiCommand |
||
|Name=Std Refresh |
|Name=Std Refresh |
||
|MenuLocation= |
|MenuLocation=Edit → Refresh |
||
|Workbenches=All |
|Workbenches=All |
||
|Shortcut={{KEY|F5 |
|Shortcut={{KEY|F5}} |
||
}} |
}} |
||
==Description== <!--T:3--> |
|||
<!--T:14--> |
|||
The '''Std Refresh''' command recomputes the active document. The command is disabled if the document does not require a recompute. |
|||
== |
==Usage== <!--T:5--> |
||
<!--T:7--> |
<!--T:7--> |
||
# There are several ways to invoke the |
# There are several ways to invoke the command: |
||
⚫ | |||
#* Pressing the {{KEY|F5}} keyboard shortcut |
|||
⚫ | |||
#* Pressing the {{KEY|Ctrl}}+{{KEY|R}} keyboard shortcut |
|||
#* Use the keyboard shortcut: {{KEY|F5}}. |
|||
⚫ | |||
⚫ | |||
== |
==Options== <!--T:15--> |
||
FreeCAD will only allow Refresh when (according to the program's opinion) an alteration of a component happened. |
|||
Then the grayed-out Refresh-Icon will become blue. |
|||
To force a manual recompute you could use the macro [[Macro ForceRecompute|Force Recompute]] |
|||
<!--T:16--> |
|||
* To force a recompute select the document or one or more objects in the [[Tree_view|Tree view]], choose the {{MenuCommand|[[Image:Std_MarkToRecompute.svg|16px]] Mark to recompute}} option from the context menu, and invoke the command. |
|||
* For objects, but not for documents, you can also choose {{MenuCommand|Recompute object}} from the same context menu. |
|||
⚫ | |||
<!--T:18--> |
|||
* For a macro that will recompute the active document see: [[Macro_ForceRecompute|Macro ForceRecompute]]. |
|||
==Scripting== <!--T:10--> |
|||
<!--T:11--> |
<!--T:11--> |
||
{{Emphasis|See also:}} [[ |
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
||
<!--T:12--> |
<!--T:12--> |
||
To recompute a document use the {{incode|recompute}} method of the document object. |
|||
</translate> |
</translate> |
||
{{Code|code= |
{{Code|code= |
||
import FreeCAD |
import FreeCAD |
||
doc = |
doc = FreeCAD.newDocument() |
||
doc.recompute() |
doc.recompute() |
||
# App.ActiveDocument.recompute() |
|||
}} |
}} |
||
<translate> |
<translate> |
||
Line 58: | Line 63: | ||
<!--T:13--> |
<!--T:13--> |
||
{{Docnav |
{{Docnav |
||
|[[Std_DuplicateSelection| |
|[[Std_DuplicateSelection|DuplicateSelection]] |
||
|[[Std_BoxSelection| |
|[[Std_BoxSelection|BoxSelection]] |
||
|[[Std_Edit_Menu|Std Edit Menu]] |
|[[Std_Edit_Menu|Std Edit Menu]] |
||
|IconL=Std_DuplicateSelection. |
|IconL=Std_DuplicateSelection.svg |
||
⚫ | |||
|IconR=Std_BoxSelection.svg |
|IconR=Std_BoxSelection.svg |
||
⚫ | |||
}} |
}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
</translate> |
</translate> |
||
⚫ | |||
⚫ | |||
{{clear}} |
{{clear}} |
Latest revision as of 15:39, 20 May 2023
Std Refresh |
Menu location |
---|
Edit → Refresh |
Workbenches |
All |
Default shortcut |
F5 |
Introduced in version |
- |
See also |
None |
Description
The Std Refresh command recomputes the active document. The command is disabled if the document does not require a recompute.
Usage
- There are several ways to invoke the command:
- Press the Std Refresh button.
- Select the Edit → Refresh option from the menu.
- Use the keyboard shortcut: F5.
Options
- To force a recompute select the document or one or more objects in the Tree view, choose the Mark to recompute option from the context menu, and invoke the command.
- For objects, but not for documents, you can also choose Recompute object from the same context menu.
Notes
- For a macro that will recompute the active document see: Macro ForceRecompute.
Scripting
See also: FreeCAD Scripting Basics.
To recompute a document use the recompute
method of the document object.
import FreeCAD
doc = FreeCAD.newDocument()
doc.recompute()
Std Base
- 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, Toggle measurement, Clear measurement
- 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, Project utility, Measure distance, 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
User documentation
- 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, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub