Mesh Smoothing: Difference between revisions

From FreeCAD Documentation
No edit summary
(Button text.)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Page in progress}}

<translate>
<translate>


<!--T:4-->
{{Docnav
{{Docnav
|[[Mesh_SegmentationBestFit|Mesh SegmentationBestFit]]
|[[Mesh_SegmentationBestFit|SegmentationBestFit]]
|[[Mesh_Decimating|Mesh Decimating]]
|[[Mesh_Decimating|Decimating]]
|[[Mesh_Workbench|Mesh]]
|[[Mesh_Workbench|Mesh]]
|IconL=Mesh_SegmentationBestFit.svg
|IconL=
|IconR=
|IconR=Mesh_Decimating.svg
|IconC=Workbench_Mesh.svg
|IconC=Workbench_Mesh.svg
}}
}}


<!--T:5-->
{{GuiCommand
{{GuiCommand
|Name=Mesh Smoothing
|Name=Mesh Smoothing
|Empty=1
|MenuLocation=Meshes → Smooth...
|MenuLocation=Meshes → Smooth...
|Workbenches=[[Mesh_Workbench|Mesh]]
|Workbenches=[[Mesh_Workbench|Mesh]]
}}
}}


==Description==
==Description== <!--T:6-->


<!--T:7-->
The '''Mesh Smoothing''' command smooths mesh objects by changing the position of their vertices.
The '''Mesh Smoothing''' command smooths mesh objects by changing the position of their vertices.


</translate>
</translate>
[[Image:Meshes_Smooth.jpg]]
[[Image:Meshes_Smooth.jpg|350px]]
<translate>
<translate>
<!--T:3-->
<!--T:3-->
{{Caption|The Smoothing task panel after choosing the Only selection option}}
{{Caption|The Smoothing task panel after choosing the Only selection option}}


==Usage==
==Usage== <!--T:8-->


<!--T:9-->
# If you plan to smooth only certain areas, note that the command uses the color red to mark the faces selected for this option. To see them properly:
# If you plan to smooth only certain areas, note that the command uses the color red to mark the faces selected for this option. To see them properly:
#* The {{PropertyView|Display Mode}} of the mesh objects ideally should be {{Value|Flat lines}}, but should at least show faces. If necessary use the [[Std_DrawStyle|Std DrawStyle]] command to override this property.
#* The {{PropertyView|Display Mode}} of the mesh objects ideally should be {{Value|Flat lines}}, but should at least show faces. If necessary use the [[Std_DrawStyle|Std DrawStyle]] command to override this property.
#* The {{PropertyView|Shape Color}} of the mesh objects should not be red.
#* The {{PropertyView|Shape Color}} of the mesh objects should not be red.
# Select one or more mesh objects.
# Select one or more mesh objects.
# There are several ways to invoke the command:
# Select the {{MenuCommand|Meshes → Smooth...}} option from the menu.
#* Press the {{Button|[[Image:Mesh_Smoothing.svg|16px]] [[Mesh_Smoothing|Smooth...]]}} button.
#* Select the {{MenuCommand|Meshes → [[Image:Mesh_Smoothing.svg|16px]] Smooth...}} option from the menu.
# The {{MenuCommand|Smoothing}} task panel opens.
# The {{MenuCommand|Smoothing}} task panel opens.
# If you only want to smooth selected areas: choose the {{MenuCommand|Only selection}} option:
# If you only want to smooth selected areas: choose the {{MenuCommand|Only selection}} option:
Line 44: Line 46:
#** {{MenuCommand|Respect only visible triangles}}
#** {{MenuCommand|Respect only visible triangles}}
#** {{MenuCommand|Respect only triangles with normals facing screen}}
#** {{MenuCommand|Respect only triangles with normals facing screen}}
#* Press the {{Button|Add}} button and while holding down the left mouse button draw a region, a closed spline, in the [[3D_view|3D view]]. Faces that match the region options and (partially) fall inside the region will be selected.
#* Press the {{Button|Add}} button.
#* Optionally press the {{Button|Clear}} button to clear the selection.
#* While holding down the left mouse button draw a region, a closed spline, in the [[3D_view|3D view]]. Faces that match the region options and (partially) fall inside the region will be selected. But at least one face has to fall completely inside the region.
#* Press the {{Button|Clear}} button to clear the selection.
# Select the smoothing {{MenuCommand|Method}}:
# Select the smoothing {{MenuCommand|Method}}:
#* {{MenuCommand|Taubin}}
#* {{MenuCommand|Taubin}}
Line 57: Line 58:




<!--T:10-->
{{Docnav
{{Docnav
|[[Mesh_SegmentationBestFit|Mesh SegmentationBestFit]]
|[[Mesh_SegmentationBestFit|SegmentationBestFit]]
|[[Mesh_Decimating|Mesh Decimating]]
|[[Mesh_Decimating|Decimating]]
|[[Mesh_Workbench|Mesh]]
|[[Mesh_Workbench|Mesh]]
|IconL=Mesh_SegmentationBestFit.svg
|IconL=
|IconR=
|IconR=Mesh_Decimating.svg
|IconC=Workbench_Mesh.svg
|IconC=Workbench_Mesh.svg
}}
}}

Latest revision as of 16:38, 25 November 2023

Other languages:

Mesh Smoothing

Menu location
Meshes → Smooth...
Workbenches
Mesh
Default shortcut
None
Introduced in version
-
See also
None

Description

The Mesh Smoothing command smooths mesh objects by changing the position of their vertices.

The Smoothing task panel after choosing the Only selection option

Usage

  1. If you plan to smooth only certain areas, note that the command uses the color red to mark the faces selected for this option. To see them properly:
    • The ViewDisplay Mode of the mesh objects ideally should be Flat lines, but should at least show faces. If necessary use the Std DrawStyle command to override this property.
    • The ViewShape Color of the mesh objects should not be red.
  2. Select one or more mesh objects.
  3. There are several ways to invoke the command:
    • Press the Smooth... button.
    • Select the Meshes → Smooth... option from the menu.
  4. The Smoothing task panel opens.
  5. If you only want to smooth selected areas: choose the Only selection option:
    • The Selection panel is added to the task panel.
    • Specify the region options:
      • Respect only visible triangles
      • Respect only triangles with normals facing screen
    • Press the Add button and while holding down the left mouse button draw a region, a closed spline, in the 3D view. Faces that match the region options and (partially) fall inside the region will be selected.
    • Optionally press the Clear button to clear the selection.
  6. Select the smoothing Method:
    • Taubin
    • Laplace
  7. Specify the Parameters:
    • Iterations: the higher this number the smoother the final result. The value also has an impact on the total processing time of the command. Avoid high values if the mesh objects have many points.
    • λ: the value must be in the 0 - 1 range.
    • μ: the value must be in the 0 - 1 range.
  8. Press the OK button to finish the command.