Std Open: Difference between revisions

From FreeCAD Documentation
m (added {{StdMenu}} template + moved templates out of translation tags)
No edit summary
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:9-->
{{Docnav
|[[Std_New|Std New]]
|[[Std_CloseActiveWindow|Std CloseActiveWindow]]
|[[Std_File_Menu|Std File Menu]]
|IconL=Std_New.svg
|IconR=
|IconC=Freecad.svg
}}

<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Std Open
|Name=Std Open
|MenuLocation={{StdMenu|[[Std_File_Menu|File]]}} → Open
|MenuLocation=File → Open...
|Workbenches=All
|Workbenches=All
|Shortcut={{KEY|Ctrl}}+{{KEY|O}}
|Shortcut={{KEY|Ctrl}}+{{KEY|O}}
|SeeAlso=[[Std Save|Save]], [[Std Import|Import]]
|SeeAlso=[[Std_Import|Std Import]], [[Std_New|Std New]]
}}
}}


==Description== <!--T:2-->
==Description== <!--T:2-->
The '''Std Open''' command opens and loads project files into FreeCAD's workspace. '''Note:''' depending on the installed extension modules, several file types are supported such as: [http://en.wikipedia.org/wiki/IGES *.IGES], [http://en.wikipedia.org/wiki/Step_file *.STEP], [http://en.wikipedia.org/wiki/BREP *.BREP], [http://en.wikipedia.org/wiki/STL_%28file_format%29 *.STL], [http://en.wikipedia.org/wiki/Wavefront_.obj_file *.OBJ], [http://en.wikipedia.org/wiki/PLY_%28file_format%29 *.PLY], etc...


<!--T:3-->
<!--T:10-->
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.
When loading files be aware that it's akin to a new document gets created. Alternatively, if you want to load a file into an existing document use the {{KEY|[[File:Std Import.png|16px|Std Import|link=Std Import]] [[Std Import|Std Import]]}} command instead.

<!--T:4-->
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]].


==Usage== <!--T:6-->
==Usage== <!--T:6-->
# Invoke the command several ways:
#* Pressing the {{KEY|[[File:Std_Open.svg|16px|Std Open|link=Std Open]] [[Std Open|Std Open]]}} button in the toolbar
#* Using the {{KEY|Ctrl}}+{{KEY|O}} keyboard shortcut
#* Using the {{MenuCommand|{{StdMenu|[[Std_File_Menu|File]]}} → Open}} entry in the File menu


==Scripting== <!--T:7-->
<!--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-->
</translate>
{{clear}}


<!--T:13-->
{{Std Base navi{{#translation:}}}}
* 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}} method of the FreeCAD application. For a scripting example see [[Std_New|Std New]].

<!--T:19-->
{{Docnav
|[[Std_New|Std New]]
|[[Std_CloseActiveWindow|Std CloseActiveWindow]]
|[[Std_File_Menu|Std File Menu]]
|IconL=Std_New.svg
|IconR=
|IconC=Freecad.svg
}}

</translate>
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 21:07, 5 October 2020

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

  1. 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.
  2. Optionally select the correct file format in the dialog box.
  3. Select a file.
  4. 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 method of the FreeCAD application. For a scripting example see Std New.