Mesh Export/de: Difference between revisions

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

{{UnfinishedDocu{{#translation:}}}}
{{Docnav
<div class="mw-translate-fuzzy">
|[[Mesh_Import|Mesh Import]]
{{Docnav/de
|[[Mesh_FromPartShape|Mesh FromPartShape]]
|[[Mesh Import/de|Netz importieren]]
|[[Mesh_Workbench|Mesh]]
|[[Mesh FromPartShape/de|Netz aus Form erstellen]]
|IconL=Mesh_Import.svg
|[[Mesh_Workbench/de|Netze-Arbeitsbereich]]
|IconR=Mesh_FromPartShape.svg
|IconL=Mesh_ImportMesh.png
|IconC=Workbench_Mesh.svg
|IconC=Workbench_Mesh.svg
|IconR=Mesh MeshFromShape.png
}}
}}
</div>


{{GuiCommand
<div class="mw-translate-fuzzy">
|Name=Mesh Export
{{GuiCommand/de
|MenuLocation=MeshesExport mesh...
|Name=Mesh ExportMesh‏‎|Name/de=Netz exportieren‏‎
|Workbenches=[[Mesh_Workbench|Mesh]]
|MenuLocation=NetzeNetz exportieren
|SeeAlso=[[Std_Export|Std Export]], [[Import_Export|Import Export]]
|Workbenches=[[Mesh Workbench/de|Netze]]
|SeeAlso=[[Std_Export/de|Std Export]]
}}
}}
</div>


==Description==
<div class="mw-translate-fuzzy">
==Einleitung==
</div>


The '''Mesh Export''' command exports a mesh object to a mesh file format. Several file formats are supported.
<div class="mw-translate-fuzzy">
Dieses Tool erlaubt es, ein Netz-Objekt als [https://de.wikipedia.org/wiki/STL-Schnittstelle *.STL], [https://de.wikipedia.org/wiki/STL-Schnittstelle#ASCII-Format *.AST], *.BMS, [https://de.wikipedia.org/wiki/Object_File_Format *.OBJ], [http://en.wikipedia.org/wiki/OFF *.OFF], [http://web.mit.edu/ivlib/www/iv/files.html *.iv], [https://de.wikipedia.org/wiki/Polygon_File_Format *.PLY] Dateiformat zu exportieren.
</div>


==Usage==
<div class="mw-translate-fuzzy">
==Anwendung==
</div>


# Select a single mesh object.
<div class="mw-translate-fuzzy">
# There are several ways to invoke the command:
# Selektiere das zu exportierende Netz
#* Press the {{Button|[[Image:Mesh_Export.svg|16px]] [[Mesh_Export|Mesh Export]]}} button.
# klicke auf [[Image:Mesh_ExportMesh.png|32px]] oder wähle {{Button|Netze}} → {{Button|[[Image:Mesh ExportMesh.png|24px]] Netz exportieren...}} aus der Menüleiste.
#* Select the {{MenuCommand|Meshes → [[Image:Mesh_Export.svg|16px]] Export mesh...}} option from the menu.
</div>
#* Select the {{MenuCommand|[[Image:Mesh_Export.svg|16px]] Export mesh...}} option from the [[Tree_view|Tree view]] context menu or [[3D_view|3D view]] context menu.
# Select the correct file format in the dialog box.
# Enter a filename. If you have selected the {{Value|All files (*.*)}} option in the previous step, and do not specify a file extension here, the {{FileName|.stl}} extension will be used.
# Press the {{Button|Save}} button.


==Notes==
==Notes==

* There are some [[Import_Export_Preferences#Mesh_Formats|export preferences related to Mesh Formats]] but these do not apply to this command. They are used by the [[Std_Export|Std Export]] command.

==Preferences==

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


==Scripting==
==Scripting==


See also: [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
<div class="mw-translate-fuzzy">
==Verweise==
</div>


To export objects (including mesh objects) to a mesh file format use the {{incode|export}} method of the Mesh module.


{{Code|code=
<div class="mw-translate-fuzzy">
import FreeCAD
{{Docnav/de
import Mesh
|[[Mesh Import/de|Netz importieren]]

|[[Mesh FromPartShape/de|Netz aus Form erstellen]]
doc = FreeCAD.ActiveDocument
|[[Mesh_Workbench/de|Netze-Arbeitsbereich]]

|IconL=Mesh_ImportMesh.png
Mesh.export([doc.Cone, doc.Cylinder], 'D:/testfiles/mymodel.stl')
|IconC=Workbench_Mesh.svg
|IconR=Mesh MeshFromShape.png
}}
}}
</div>




{{Docnav
{{Mesh Tools navi{{#translation:}}}}
|[[Mesh_Import|Mesh Import]]
|[[Mesh_FromPartShape|Mesh FromPartShape]]
|[[Mesh_Workbench|Mesh]]
|IconL=Mesh_Import.svg
|IconR=Mesh_FromPartShape.svg
|IconC=Workbench_Mesh.svg
}}


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

Revision as of 12:09, 25 July 2020

Mesh Export

Menu location
Meshes → Export mesh...
Workbenches
Mesh
Default shortcut
None
Introduced in version
-
See also
Std Export, Import Export

Description

The Mesh Export command exports a mesh object to a mesh file format. Several file formats are supported.

Usage

  1. Select a single mesh object.
  2. There are several ways to invoke the command:
    • Press the Mesh Export button.
    • Select the Meshes → Export mesh... option from the menu.
    • Select the Export mesh... option from the Tree view context menu or 3D view context menu.
  3. Select the correct file format in the dialog box.
  4. Enter a filename. If you have selected the All files (*.*) option in the previous step, and do not specify a file extension here, the .stl extension will be used.
  5. Press the Save button.

Notes

Preferences

  • The last used file location is stored: Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath.

Scripting

See also: FreeCAD Scripting Basics.

To export objects (including mesh objects) to a mesh file format use the export method of the Mesh module.

import FreeCAD
import Mesh

doc = FreeCAD.ActiveDocument

Mesh.export([doc.Cone, doc.Cylinder], 'D:/testfiles/mymodel.stl')