Std Open/ro: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|[[Std_New|New]]
|[[Std_RecentFiles|RecentFiles]]
|[[Std_File_Menu|Std File Menu]]
|IconL=Std_New.svg
|IconR=
|IconC=Freecad.svg
}}

<div class="mw-translate-fuzzy">
{{GuiCommand|Name=Std Open|Name/ro=Deschidere|MenuLocation=[[Std_File_Menu/ro|File]] → Deschidere|Workbenches=All|Shortcut=Ctrl+O|SeeAlso=[[Std Save/ro|Salvare]],[[Std Import/ro|Importul]]}}
{{GuiCommand|Name=Std Open|Name/ro=Deschidere|MenuLocation=[[Std_File_Menu/ro|File]] → Deschidere|Workbenches=All|Shortcut=Ctrl+O|SeeAlso=[[Std Save/ro|Salvare]],[[Std Import/ro|Importul]]}}
</div>


<span id="Description"></span>
<div class="mw-translate-fuzzy">
Deschideți și încărcați fișierele de proiect în spațiul de lucru al FreeCAD și în funcție de modulele de extensie instalate următoarele tipuri de fișiere sunt suportate [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.
Deschideți și încărcați fișierele de proiect în spațiul de lucru al FreeCAD și în funcție de modulele de extensie instalate următoarele tipuri de fișiere sunt suportate [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.
</div>

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==

# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Std_Open.svg|16px]] [[Std_Open|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==

* Press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command.

==Scripting==

{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

To open a document use the {{incode|open(filepath)}} method or the {{incode|openDocument(filepath, [hidden<nowiki>=</nowiki>False])}} method of the FreeCAD application.

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.

For a scripting example see [[Std_New#Scripting|Std New]].


La încărcarea fișierelor se creează întotdeauna un document nou. Dacă doriți să încărcați un fișier într-un document existent [[Std_Import/ro|Importul]] în schimb.


{{Docnav
Fișierele proiectului FreeCAD au extensia "FCStd". Pentru a obține mai multe informații despre aspectul intern al proiectelor FreeCAD, citiți articolul [[File Format FCStd/ro|File Format FCStd]].
|[[Std_New|New]]
|[[Std_RecentFiles|RecentFiles]]
|[[Std_File_Menu|Std File Menu]]
|IconL=Std_New.svg
|IconR=
|IconC=Freecad.svg
}}


{{Std_Base_navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 11:48, 21 April 2024

Std Open

Menu location
File → Deschidere
Workbenches
All
Default shortcut
Ctrl+O
Introduced in version
-
See also
Salvare,Importul

Deschideți și încărcați fișierele de proiect în spațiul de lucru al FreeCAD și în funcție de modulele de extensie instalate următoarele tipuri de fișiere sunt suportate *.IGES, *.STEP, *.BREP, *.STL, *.OBJ, *.PLY, etc.

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 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.

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.