Mesh SegmentationBestFit: Difference between revisions

From FreeCAD Documentation
(Added icon to usage section.)
(Button text.)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<!--T:1-->
<!--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=Mesh_Segmentation.svg
|IconL=Mesh_Segmentation.svg
Line 32: Line 32:
#* 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 → [[Image:Mesh_SegmentationBestFit.svg|16px]] 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:
Line 55: Line 57:
<!--T:7-->
<!--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=Mesh_Segmentation.svg
|IconL=Mesh_Segmentation.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.