Mesh Import/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav
|
|
|[[Mesh Export|Export Mesh]]
|[[Mesh_Export|Mesh Export]]
|[[Mesh_Workbench|Mesh]]
|[[Mesh_Workbench|Mesh]]
|IconL=
|IconC=Workbench_Mesh.svg
|IconR=Mesh_Export.svg
|IconR=Mesh_Export.svg
|IconC=Workbench_Mesh.svg
}}
}}


Line 18: Line 20:
</div>
</div>


==Description==
==Description==


The '''Mesh Import''' command imports geometry from a mesh file format into the active document. Several file formats are supported. The command creates a non-parametric mesh object, a [[Mesh_Feature|Mesh Feature]].
This tool allows you to import a mesh file into the current document. See [[Import_Export_Preferences#Mesh_Formats]] for the various types of Mesh formats FreeCAD can handle.


==Usage==
==Usage==


# Invoke the ImportMesh command several ways:
# There are several ways to invoke the command:
#* Press on the [[Image:Mesh_Import.svg|32px]] button in the Mesh toolbar
#* Press the {{Button|[[Image:Mesh_Import.svg|16px]] [[Mesh_Import|Mesh Import]]}} button.
#* Use the {{MenuCommand|Meshes [[Image:Mesh_Import.svg|24px]] Import Mesh...}} entry from the Meshes menu.
#* Select the {{MenuCommand|Meshes → [[Image:Mesh_Import.svg|16px]] Import mesh...}} option from the menu.
#* Select the {{MenuCommand|[[Image:Mesh_Import.svg|16px]] Import mesh...}} option from the [[Tree_view|Tree view]] context menu or [[3D_view|3D view]] context menu. This option is only available if an existing mesh object has been selected. Note that the selected object is actually not used or modified by the command.
# Select the file to be imported
# Optionally select the correct file format in the dialog box.
# Select a file.
# Press the {{Button|Open}} button.


==Links==
==Options==


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

==Preferences==

* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}.

==Properties==

See [[Mesh_Feature|Mesh Feature]].

==Scripting==

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

To import a mesh file use the {{incode|insert}} method of the Mesh module.

{{Code|code=
import Mesh
Mesh.insert('D:/testfiles/cylinder.stl')
}}


{{Docnav
{{Docnav
|
|
|[[Mesh Export|Export Mesh]]
|[[Mesh_Export|Mesh Export]]
|[[Mesh_Workbench|Mesh]]
|[[Mesh_Workbench|Mesh]]
|IconL=
|IconC=Workbench_Mesh.svg
|IconR=Mesh_Export.svg
|IconR=Mesh_Export.svg
|IconC=Workbench_Mesh.svg
}}
}}


{{Mesh Tools navi{{#translation:}}}}
{{Mesh Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 16:56, 3 July 2020

Other languages:

Mesh ImportMesh‏‎

Системное название
Mesh ImportMesh‏‎
Расположение в меню
Сетки → Импорт сетки
Верстаки
Mesh
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Импорт файла

Description

The Mesh Import command imports geometry from a mesh file format into the active document. Several file formats are supported. The command creates a non-parametric mesh object, a Mesh Feature.

Usage

  1. There are several ways to invoke the command:
    • Press the Mesh Import button.
    • Select the Meshes → Import mesh... option from the menu.
    • Select the Import mesh... option from the Tree view context menu or 3D view context menu. This option is only available if an existing mesh object has been selected. Note that the selected object is actually not used or modified by the command.
  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.

Properties

See Mesh Feature.

Scripting

See also: FreeCAD Scripting Basics.

To import a mesh file use the insert method of the Mesh module.

import Mesh
Mesh.insert('D:/testfiles/cylinder.stl')