Mesh Workbench/cs: 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/>
{{Page in progress}}

{{Docnav
{{Docnav
|[[Inspection Workbench|Inspection Workbench]]
|[[Inspection Workbench|Inspection Workbench]]
Line 8: Line 10:


[[Image:Workbench_Mesh.svg|thumb|128px|Mesh workbench icon]]
[[Image:Workbench_Mesh.svg|thumb|128px|Mesh workbench icon]]

{{TOCright}}
{{TOCright}}

== Introduction ==
==Introduction==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 43: Line 47:
</div>
</div>


* [[Image:Mesh_Import.svg|32px]] [[Mesh_Import|Import mesh...]]: Imports a mesh from file.
=== General tools ===

* [[Image:Mesh_Import.svg|32px]] [[Mesh Import|Import Mesh]]: Import meshes in several file formats
* [[Image:Mesh_Export.svg|32px]] [[Mesh Export|Export Mesh]]: Export meshes in several file formats
* [[Image:Mesh_Export.svg|32px]] [[Mesh_Export|Export mesh...]]: Exports a mesh to file.

* [[Image:Mesh_FromPartShape.svg|32px]] [[Mesh FromPartShape|Create Mesh from shape]]: Convert [[Part Module|Part]] objects into meshes
* [[Image:Mesh_CurvaturePlot.png|32px]] [[Mesh CurvaturePlot|Curvature Plot]]: Creates a curvature plot
* [[Image:Mesh_FromPartShape.svg|32px]] [[Mesh_FromPartShape|Create mesh from shape...]]: Creates meshes from [[Part Module|Part]] objects.

* [[Image:Mesh_HarmonizeNormals.svg|32px]] [[Mesh HarmonizeNormals|Harmonize Normals]]: Harmonize normals
* [[Mesh_RemeshGmsh|Refinement...]]: Refines a mesh. {{Version|0.19}}
* [[Image:Mesh_FlipNormals.svg|32px]] [[Mesh FlipNormals|Flip Normals]]: Flip [http://en.wikipedia.org/wiki/Surface_normal normals]

* [[Mesh FillHoles|Fill Holes...]]: Fill up holes
* Analyze
* [[Image:Mesh_FillInteractiveHole.svg|32px]] [[Mesh FillInteractiveHole|Close hole]]: Close holes in meshes
** [[Mesh_Evaluation|Evaluate and repair mesh...]]: Opens a dialog to analyze and repair a mesh.
* [[Mesh AddTriangle|Add triangle]]: Add triangle
* [[Image:Mesh_RemoveComponents.svg|32px]] [[Mesh RemoveComponents|Remove components...]]: Remove components of meshes
** [[Image:Mesh_EvaluateFacet.svg|32px]] [[Mesh_EvaluateFacet|Face info]]: Gives information on selected faces.
** [[Mesh_CurvatureInfo|Curvature info]]: Gives information on the curvature.
* [[Mesh RemoveCompByHand|Remove components by hand...]]: Remove components of meshes by hand
* [[Mesh CreateMeshSegment|Create mesh segments...]]: Creates mesh segments
** [[Mesh_EvaluateSolid|Check solid mesh]]: Checks if a mesh is a solid.
** [[Mesh_BoundingBox|Boundings info...]]: Shows the coordinates of the boundingbox of a mesh.
* [[Mesh Smooth|Smooth...]]: Smooth mesh

* [[Mesh Scale|Scale]]
* [[Image:Mesh_VertexCurvature.svg|32px]] [[Mesh_VertexCurvature|Curvature plot]]: Calculates the curvature of the vertices of a mesh.

* [[Image:Mesh_HarmonizeNormals.svg|32px]] [[Mesh_HarmonizeNormals|Harmonize normals]]: Harmonizes the normals of a mesh.

* [[Image:Mesh_FlipNormals.svg|32px]] [[Mesh_FlipNormals|Flip normals]]: Flips the normals of a mesh.

* [[Mesh_FillupHoles|Fill holes...]]: Closes holes in a mesh.

* [[Image:Mesh_FillInteractiveHole.svg|32px]] [[Mesh_FillInteractiveHole|Close hole]]: Interactively closes holes in a mesh.

* [[Mesh_AddFacet|Add triangle]]: Adds a triangle to a mesh.

* [[Image:Mesh_RemoveComponents.svg|32px]] [[Mesh_RemoveComponents|Remove components...]]: Removes independent components from a mesh.

* [[Mesh_RemoveCompByHand|Remove components by hand...]]: Marks a component for removal from a mesh.

* [[Mesh_Segmentation|Create mesh segments...]]: Creates mesh segments.

* [[Mesh_SegmentationBestFit|Create mesh segments from best-fit surfaces...]]: Creates mesh segments from best-fit surfaces.

* [[Mesh_Smoothing|Smooth...]]: Smooths meshes.

* [[Mesh_Decimating|Decimation...]]: Decimates meshes. {{Version|0.19}}

* [[Mesh_Scale|Scale...]]: Scales meshes.

* [[Image:Mesh_BuildRegularSolid.svg|32px]] [[Mesh_BuildRegularSolid|Regular solid...]] Creates a regular solid mesh.

* Boolean
** [[Mesh_Union|Union]]: Creates a union (fusion) from meshes.
** [[Mesh_Intersection|Intersection]]: Creates an intersection (common) from meshes.
** [[Mesh_Difference|Difference]]: Creates a difference (cut) from meshes.


* Cutting
=== Analyze ===
** [[Image:Mesh_PolyCut.svg|32px]] [[Mesh_PolyCut|Cut mesh]]: Cuts a mesh with a polygon
Analysis of curvature, faces, and check if a mesh can be safely converted into a solid
** [[Mesh_PolyTrim|Trim mesh]]: Trims a mesh with a polygon.
* [[Mesh EvaluateRepair|Evaluate & Repair mesh...]]: Evaluates and repairs meshes
** [[Mesh_TrimByPlane|Trim mesh with a plane]]: Trims a mesh with a plane.
* [[Image:Mesh_EvaluateFacet.svg|32px]] [[Mesh EvaluateFacet|Face Info]]: Gives info on faces
** [[Mesh_SectionByPlane|Create section from mesh and plane]]: Creates a section from a mesh and a plane.
* [[Mesh EvaluateCurvature|Curvature Info]]: Gives info on curvature
** [[Mesh_CrossSections|Cross-sections...]]: ???. {{Version|0.19}}
* [[Mesh EvaluateSolid|Check solid mesh]]: Checks the solid if it can be converted to a mesh
* [[Mesh BoundingBox|Boundings info...]]: Evaluates the bounding box of a mesh


* [[Mesh_Merge|Merge]]: Merges meshes.
=== Regular solid ===
[[Image:Mesh_RegularSolid.svg|32px]] [[Mesh BuildRegularSolid|Regular solid...]] Create mesh primitives, like cubes, cylinders, cones, or spheres:
* [[Image:Mesh_Cube.svg|32px]] [[Mesh_Cube|Mesh Cube]] Create a mesh cube
* [[Image:Mesh_Cylinder.svg|32px]] [[Mesh_Cylinder|Mesh Cylinder]] Create a mesh cylinder
* [[Image:Mesh_Cone.svg|32px]] [[Mesh_Cone|Mesh Cone]] Create a mesh cone
* [[Image:Mesh_Sphere.svg|32px]] [[Mesh_Sphere|Mesh Sphere]] Create a mesh sphere
* [[Image:Mesh_Ellipsoid.svg|32px]] [[Mesh_Ellipsoid|Mesh Ellipsoid]] Create a mesh ellipsoid
* [[Image:Mesh_Torus.svg|32px]] [[Mesh_Torus|Mesh Torus]] Create a mesh torus


* [[MeshPart_CreateFlatMesh|Unwrap Mesh]]: Creates a flat representation of a mesh. {{Version|0.19}}
=== Boolean ===
* [[Mesh Union|Union]]: Does a union (fusion) on meshes
* [[Mesh Intersection|Intersection]]: Does an intersection (common) on meshes
* [[Mesh Difference|Difference]]: Does a difference (cut) on meshes


* [[MeshPart_CreateFlatFace|Unwrap Face]]: Creates a flat representation of a face of a mesh. {{Version|0.19}}
=== Cutting ===
* [[Image:Mesh_PolyCut.svg|32px]] [[Mesh_PolyCut|Mesh PolyCut]]: Cut meshes along a line
* [[Mesh TrimMesh|Trim mesh]]: Trims meshes
* [[Mesh TrimMeshWithPlane|Trim mesh with a plane]]: Trims meshes with a plane
* Create section from mesh and plane


=== Other ===
==Preferences==
* [[Mesh Merge|Merge]]: Merges meshes
* [[Mesh SelectMesh|Select Mesh]]: Selects meshes
* [[Mesh SplitMesh|Split Mesh]]: Splits meshes
* [[Image:Mesh MakeSegment.png|32px]] [[Mesh MakeSegment|Make segment]]: Makes a segment


== Preferences ==
* [[Image:Preferences-import-export.svg|32px]] [[Import_Export_Preference|Preference]] Import-Export
* [[Image:Preferences-import-export.svg|32px]] [[Import_Export_Preference|Preference]] Import-Export



Revision as of 16:07, 27 June 2020

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.
Mesh workbench icon

Introduction

Pracovní plocha Síť pracuje s trojúhelníkovými sítěmi. Sítě jsou speciální typ 3D objektů, složených z trojúhelníků spojených jejich hranami a rohy (zvané také vrcholy).

Mnoho 3D aplikací používá s=tě jako svůj primární typ objektů, jako (software) SketchUp, Blender, Maya nebo 3d studio max. Protože sítě jsou velmi jednoduché objekty, které obsahují pouze vrcholy (body), hrany a (trojúhelníkové) plochy, jsou snadno vytvořitelné, modifikovatelné, dají se dělit, natahovat a mohou být snadno předávané z jedné aplikace do druhé bez jakékoliv ztráty. Kromě toho, protože obsahují velmi jednoduchá data, mohou jich 3D aplikace obsahovat velmi velké množství bez jakýchkoliv problémů. Z těchto důvodů jsou sítě velmi často 3D objekty využívané v aplikacích pracujících s filmy, animacemi a při tvorbě obrázků.

Na poli inženýringu však sítě představují jeden velký problém: Jsou to velmi hloupé objekty složené pouze z bodů, přímek a ploch. Jsou vytvořeny pouze z povrchů a nemají žádnou informaci o hmotě, takže se nechovají jako tělesa. V sítích není žádný automatický způsob jak zjistit jestli je bod uvnitř nebo zvenku objektu. To znamená, že všechny operace nad tělesy, jako je přidávání nebo odebírání, jsou u sítí vždy trochu složitější a často vracejí chyby.

Použití modulu Síť

V současné době má modul Síť velmi jednoduché rozhraní, všechny jeho funkce jsou seskupeny v menu Síť. Nejdůležitějšími funkcemi, které v současné době můžete provádět se sítěmi jsou:

  • Importovat sítě v několika souborových formátech
  • Exportovat sítě v několika souborových formátech
  • Konvertovat objekty Díl do sítí
  • Analyzovat zaoblení, plochy, a kontrolovat jestli mohou být bezpečně konvertovány do těles
  • Flip mesh normals
  • Uzavírat mezery v sítích
  • Odebírat plochy ze sítí
  • Spojovat, odebírat a protínat sítě
  • Vytvářet síťová primitiva (základní geometrické objekty), jako jsou kostky, koule, kužely nebo válce
  • Dělit sítě podle přímky
  • Close hole: Interactively closes holes in a mesh.
  • Boolean
    • Union: Creates a union (fusion) from meshes.
    • Intersection: Creates an intersection (common) from meshes.
    • Difference: Creates a difference (cut) from meshes.

Preferences

To jsou jenom některé ze základních aktuálně dostupných operací v rozhraní modulu Síť. Ale sítě FreecADu také mohou být zpracovávány mnoha dalšími způsoby pomocí skriptování.

Meshes can also be handled via Python using Mesh Scripting.

Links