Part RefineShape/cs: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 15: Line 15:
==Limitations==
==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.
* 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==
==Scripting==

Revision as of 09:15, 21 January 2016

Díl Vyčistit tvar

Umístění Menu
Díl → Vyčistit tvar
Pracovní stoly
Díl, OpenSCAD
Výchozí zástupce
Nikdo
Představen ve verzi
-
Viz také
Nikdo


Popis

Vyčistí zbytečné čáry. Po logických operacích zůstávají viditelné čáry, které definovaly původní tvary. Nástroj vytváří kopii vyčištěného objektu.

Použití

  1. Vyberte tvar, který má být vyčištěn.
  2. Klikněte na menu Díl → Vyčistit tvar.
  • Je vytvořena kopie objektu a je kompletně vyčištěna, původní objekt je skryt.
  • Nově vytvořená kopie je nezávislá na originálu.

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.