Part RefineShape

Description
The produces a non-parametric copy with a refined shape, that is, with certain edges and faces cleaned up.

After certain boolean operations, like Part Fuse, some lines from the previous shapes may remain visible. This tool produces a copy of that boolean result, and cleans up those seams.

Alternatively, to produce other non-parametric copies use, , and



Usage

 * 1) Select an object that you wish to clean and copy.
 * 2) Go to the menu.
 * 3) A cleaned, independent copy of the original object is created; the original object is hidden.

As of the result defaults to a parametric (linked) copy.

This behavior can be changed in the Parameter editor:
 * 1) Go to the subgroup:
 * 2) Change  of type  to  to get the old behavior (independent copy).

See other parameters in Fine-tuning.

Limitations

 * The refinement algorithm only works on shells. Therefore it iterates over the shells of the input shape and then for each shell it creates a new shell with joined faces wherever possible. This means that if your input shape is only a face, wire, edge or vertex then the algorithm does nothing.
 * Unlike the [[Image:OpenSCAD_RefineShapeFeature.svg|24px]] OpenSCAD RefineShapeFeature command, [[Image:Part_RefineShape.svg|24px]] Part RefineShape won't update when the preceding shapes are changed.

Scripting
The Python command for refining a shape is the following:

The Part RefineShape command can be applied after selecting one or more objects in the Tree view:

The selection can be manual (by using the mouse), or via the Python console. To know more about selecting objects programmatically, refer to Selection methods.