Std Open: Difference between revisions
mNo edit summary |
(<nowiki>=</nowiki> Instead of {{:=}}) |
||
(44 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
{{GuiCommand|Name=Std_Open|Workbenches=All|SeeAlso=[[Std_Save]],[[Std_Import]]}} |
|||
<translate> |
|||
<!--T:9--> |
|||
{{Docnav |
|||
|[[Std_New|New]] |
|||
|[[Std_CloseActiveWindow|CloseActiveWindow]] |
|||
|[[Std_File_Menu|Std File Menu]] |
|||
|IconL=Std_New.svg |
|||
|IconR=Std_CloseActiveWindow.svg |
|||
|IconC=Freecad.svg |
|||
}} |
|||
<!--T:1--> |
|||
Opens and loads project files into FreeCAD's workspace and depending on the installed extension modules further file types are supported such as IGES, STEP, BREP, STL, OBJ, PLY and so on. |
|||
{{GuiCommand |
|||
|Name=Std Open |
|||
|MenuLocation=File → Open... |
|||
|Workbenches=All |
|||
|Shortcut={{KEY|Ctrl}}+{{KEY|O}} |
|||
|SeeAlso=[[Std_Import|Std Import]], [[Std_New|Std New]] |
|||
}} |
|||
==Description== <!--T:2--> |
|||
When loading files always a new document gets created. If you want to load a file into an existing document use the [[Std_Import]] instead. |
|||
<!--T:10--> |
|||
FreeCAD project files have the extension "FCStd". To get more information about the internal layout of FreeCAD projects files read the article [[File Format FCStd]]. |
|||
The '''Std Open''' command opens a file. If the file is not a native FreeCAD file (*.FCStd) its geometry will be imported into a new document. See [[Std_Import|Std Import]] for more information. |
|||
==Usage== <!--T:6--> |
|||
{{languages | {{es|Std_Open/es}} }} |
|||
<!--T:11--> |
|||
# There are several ways to invoke the command: |
|||
#* Press the {{Button|[[Image:Std_Open.svg|16px]] [[Std_Open|Std Open]]}} button. |
|||
#* Select the {{MenuCommand|File → [[Image:Std_Open.svg|16px]] Open...}} option from the menu. |
|||
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|O}}. |
|||
# Optionally select the correct file format in the dialog box. |
|||
# Select a file. |
|||
# Press the {{Button|Open}} button. |
|||
==Options== <!--T:12--> |
|||
<!--T:13--> |
|||
* Press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command. |
|||
==Preferences== <!--T:14--> |
|||
<!--T:15--> |
|||
* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}. |
|||
==Scripting== <!--T:16--> |
|||
<!--T:17--> |
|||
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
<!--T:18--> |
|||
To open a document use the {{incode|open(filepath)}} method or the {{incode|openDocument(filepath, [hidden<nowiki>=</nowiki>False])}} method of the FreeCAD application. |
|||
<!--T:20--> |
|||
These methods create and return a document and load a project file into it. The {{incode|filepath}} argument must be a string pointing to an existing file. If the file doesn't exist or the file cannot be loaded an I/O exception is thrown. In this case the created document is kept, but will be empty. If {{incode|hidden<nowiki>=</nowiki>True}} is used, the document won't be displayed in the GUI and no tab will appear for it. This allows performing automatic operations on a document and closing it without disrupting the user interface. |
|||
<!--T:21--> |
|||
For a scripting example see [[Std_New#Scripting|Std New]]. |
|||
<!--T:19--> |
|||
{{Docnav |
|||
|[[Std_New|New]] |
|||
|[[Std_CloseActiveWindow|CloseActiveWindow]] |
|||
|[[Std_File_Menu|Std File Menu]] |
|||
|IconL=Std_New.svg |
|||
|IconR=Std_CloseActiveWindow.svg |
|||
|IconC=Freecad.svg |
|||
}} |
|||
</translate> |
|||
{{Std Base navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
|||
{{clear}} |
Latest revision as of 03:45, 4 February 2021
Std Open |
Menu location |
---|
File → Open... |
Workbenches |
All |
Default shortcut |
Ctrl+O |
Introduced in version |
- |
See also |
Std Import, Std New |
Description
The Std Open command opens a file. If the file is not a native FreeCAD file (*.FCStd) its geometry will be imported into a new document. See Std Import for more information.
Usage
- There are several ways to invoke the command:
- Press the Std Open button.
- Select the File → Open... option from the menu.
- Use the keyboard shortcut: Ctrl+O.
- Optionally select the correct file format in the dialog box.
- Select a file.
- Press the Open button.
Options
- Press Esc or the Cancel button to abort the command.
Preferences
- The last used file location is stored: Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath.
Scripting
See also: FreeCAD Scripting Basics.
To open a document use the open(filepath)
method or the openDocument(filepath, [hidden=False])
method of the FreeCAD application.
These methods create and return a document and load a project file into it. The filepath
argument must be a string pointing to an existing file. If the file doesn't exist or the file cannot be loaded an I/O exception is thrown. In this case the created document is kept, but will be empty. If hidden=True
is used, the document won't be displayed in the GUI and no tab will appear for it. This allows performing automatic operations on a document and closing it without disrupting the user interface.
For a scripting example see Std New.
- 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
- 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, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub