Part RefineShape: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
mNo edit summary
Line 18: Line 18:
==Limitations== <!--T:7-->
==Limitations== <!--T:7-->
* 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 if your input shape is only a face, wire, edge or vertex then the algorithm does nothing.
* 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 if your input shape is only a face, wire, edge or vertex then the algorithm does nothing.
* Opposed to [[OpenSCAD RefineShapeFeature|RefineShapeFeature]] in OpenSCAD workbench, this feature won't update when the underlying shapes are changed


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

Revision as of 07:07, 21 January 2016

Part RefineShape

Menu location
Part → Refine Shape
Workbenches
Part, OpenSCAD
Default shortcut
None
Introduced in version
-
See also
None


Description

Cleans its unnecessary lines. After a Boolean operation some lines defining the previous form remain visible, this tool creates a copy of the totally cleaned.

Use

  1. Select the shape to be cleaned.
  2. Click the Part → Refine shape menu.
  • A copy of the object is created and totally cleaned, the original object is rendered hiden.
  • The newly created copy is independent of the original.

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 if your input shape is only a face, wire, edge or vertex then the algorithm does nothing.
  • Opposed to RefineShapeFeature in OpenSCAD workbench, this feature won't update when the underlying shapes are changed

Scripting

The Phyton command for refining a shape is the following:

shape.removeSplitter()

Note that the function does not modify the existing shape, but returns a new shape.