Mesh SegmentationBestFit: Difference between revisions

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

{{Page in progress}}

<translate>
<translate>


<!--T:1-->
{{Docnav
{{Docnav
|[[Mesh_Segmentation|Mesh Segmentation]]
|[[Mesh_Segmentation|Segmentation]]
|[[Mesh_Smoothing|Mesh Smoothing]]
|[[Mesh_Smoothing|Smoothing]]
|[[Mesh_Workbench|Mesh]]
|[[Mesh_Workbench|Mesh]]
|IconL=
|IconL=Mesh_Segmentation.svg
|IconR=
|IconR=Mesh_Smoothing.svg
|IconC=Workbench_Mesh.svg
|IconC=Workbench_Mesh.svg
}}
}}


<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=Mesh SegmentationBestFit
|Name=Mesh SegmentationBestFit
|Empty=1
|MenuLocation=Meshes → Create mesh segments from best-fit surfaces...
|MenuLocation=Meshes → Create mesh segments from best-fit surfaces...
|Workbenches=[[Mesh_Workbench|Mesh]]
|Workbenches=[[Mesh_Workbench|Mesh]]
Line 22: Line 20:
}}
}}


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


<!--T:4-->
The '''Mesh SegmentationBestFit''' command creates separate mesh segments for the specified surface types of a mesh object. The command can also identify their parameters which can be useful when re-engineering a mesh object.
The '''Mesh SegmentationBestFit''' command creates separate mesh segments for specified surface types of a mesh object. The command can also identify their parameters which can be useful when re-engineering a mesh object.


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


<!--T:6-->
# If you plan to identify the parameters of a surface type, note that the command uses the color red to mark the faces selected for this option. To see them properly:
# If you plan to identify the parameters of a surface type, 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 object 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 object 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 object should not be red.
#* The {{PropertyView|Shape Color}} of the mesh object should not be red.
# Select a single mesh object.
# Select a single mesh object.
# There are several ways to invoke the command:
# Select the {{MenuCommand|Meshes → Create mesh segments from best-fit surfaces...}} option from the menu.
#* Press the {{Button|[[Image:Mesh_SegmentationBestFit.svg|16px]] [[Mesh_SegmentationBestFit|Create mesh segments from best-fit surfaces...]]}} button.
#* Select the {{MenuCommand|Meshes → [[Image:Mesh_SegmentationBestFit.svg|16px]] Create mesh segments from best-fit surfaces...}} option from the menu.
# The {{MenuCommand|Mesh segmentation}} task panel opens.
# The {{MenuCommand|Mesh segmentation}} task panel opens.
# Optionally press one of the {{Button|Parameters...}} buttons to identify the parameters of a surface:
# Optionally press one of the {{Button|Parameters...}} buttons to identify the parameters of a surface:
#* The {{MenuCommand|Surface fit}} dialog box opens.
#* The {{MenuCommand|Surface fit}} dialog box opens.
#* Select one or more faces belonging to the surface:
#* Select one or more faces belonging to the surface:
#** Press the {{Button|Region}} button and while holding down the left mouse button draw a region, a closed spline, in the [[3D_view|3D view]]. Faces that (partially) fall inside the region will be selected. But at least one face must fall completely inside the region.
#** Press the {{Button|Region}} button and while holding down the left mouse button draw a region, a closed spline, in the [[3D_view|3D view]]. Faces that (partially) fall inside the region will be selected.
#** Press the {{Button|Triangle}} button to select individual faces.
#** Press the {{Button|Triangle}} button to select individual faces.
#** Optionally press the {{Button|Clear}} button to clear the selection.
#** Optionally press the {{Button|Clear}} button to clear the selection.
Line 53: Line 55:




<!--T:7-->
{{Docnav
{{Docnav
|[[Mesh_Segmentation|Mesh Segmentation]]
|[[Mesh_Segmentation|Segmentation]]
|[[Mesh_Smoothing|Mesh Smoothing]]
|[[Mesh_Smoothing|Smoothing]]
|[[Mesh_Workbench|Mesh]]
|[[Mesh_Workbench|Mesh]]
|IconL=
|IconL=Mesh_Segmentation.svg
|IconR=
|IconR=Mesh_Smoothing.svg
|IconC=Workbench_Mesh.svg
|IconC=Workbench_Mesh.svg
}}
}}

Latest revision as of 16:36, 25 November 2023

Other languages:

Mesh SegmentationBestFit

Menu location
Meshes → Create mesh segments from best-fit surfaces...
Workbenches
Mesh
Default shortcut
None
Introduced in version
-
See also
Mesh Segmentation

Description

The Mesh SegmentationBestFit command creates separate mesh segments for specified surface types of a mesh object. The command can also identify their parameters which can be useful when re-engineering a mesh object.

Usage

  1. If you plan to identify the parameters of a surface type, 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 object 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 object should not be red.
  2. Select a single mesh object.
  3. There are several ways to invoke the command:
  4. The Mesh segmentation task panel opens.
  5. Optionally press one of the Parameters... buttons to identify the parameters of a surface:
    • The Surface fit dialog box opens.
    • Select one or more faces belonging to the surface:
      • Press the Region button and while holding down the left mouse button draw a region, a closed spline, in the 3D view. Faces that (partially) fall inside the region will be selected.
      • Press the Triangle button to select individual faces.
      • Optionally press the Clear button to clear the selection.
    • Press the Compute button to calculate the parameters.
    • Press the OK or Cancel button to close the dialog box.
  6. Select the surface type(s) you wish to create mesh segments for:
    • Plane
    • Cylinder
    • Sphere
  7. Specify the Tolerance values.
  8. Specify the Minimum number of faces values.
  9. Press the OK button.
  10. The command will create a group containing separate mesh objects, each a segment of the original mesh object.
  11. If the created group is empty try using the command again with modified settings.