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)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand/cs|Name=Part RefineShape|Name/cs=Díl Vyčistit tvar|MenuLocation=Díl → Vyčistit tvar|Workbenches=[[Part Module/cs|Díl]], [[OpenSCAD_Module/cs|OpenSCAD]]|SeeAlso=}}


{{Docnav
|[[Part_ElementCopy|ElementCopy]]
|[[Part_CheckGeometry|CheckGeometry]]
|[[Part_Workbench|Part]]
|IconL=Part_ElementCopy.svg
|IconR=Part_CheckGeometry.svg
|IconC=Workbench_Part.svg
}}


<div class="mw-translate-fuzzy">
==Description==
{{GuiCommand/cs|Name=Part RefineShape|Name/cs=Díl Vyčistit tvar|MenuLocation=Díl → Vyčistit tvar|Workbenches=[[Part_Workbench/cs|Díl]], [[OpenSCAD_Workbench/cs|OpenSCAD]]|SeeAlso=}}
Cleans unnecessary lines. After a Boolean operation some lines defining the previous form remain visible, this tool creates a copy of the totally cleaned.
</div>

<span id="Description"></span>
<div class="mw-translate-fuzzy">
==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.
</div>

The [[Image:Part_RefineShape.svg|24px]] '''Part RefineShape''' command produces parametric copies with a refined shape from selected objects. It can for example be used to remove unnecessary edges left over after a [[Part_Fuse|Part Fuse]] operation.


[[File:PartRefineShape_it.png]]
[[File:PartRefineShape_it.png]]
{{Caption|Original with 11 faces (left), and refined copy with 7 faces (right).}}


<span id="Usage"></span>
==Use==
<div class="mw-translate-fuzzy">
# Select the shape to be cleaned.
==Použití==
# Click the {{KEY|Part → Refine shape}} menu.
# Vyberte tvar, který má být vyčištěn.
* A copy of the object is created and totally cleaned, the original object is rendered hidden.
# Klikněte na menu {{KEY|Díl → Vyčistit tvar}}.
* The newly created copy is independent of the original.
* 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.
</div>


# Select one or more objects.
==Limitations==
# Select the {{MenuCommand|Part → Create a copy → [[Image:Part_RefineShape.svg|16px]] Refine shape}} option from the menu.
* 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.
# For each object a cleaned, parametric copy is created
* Opposed to [[OpenSCAD RefineShapeFeature|RefineShapeFeature]] in OpenSCAD workbench, this feature won't update when the underlying shapes are changed
# The original objects are hidden.

== Notes ==

* This command can be used as the last step in a traditional [[constructive solid geometry|constructive solid geometry]] workflow.
* It may help to clean up the model before applying other features, such as [[Part_Fillet|fillets]].
* Cleaning up an object may prevent 3D printers from printing unwanted edges once the object is exported to a mesh format.
* This command can also be used after converting a mesh to a shape ([[Part_ShapeFromMesh|Part ShapeFromMesh]]).
* By default this command creates parametric (linked) copies. There is [[Fine-tuning|fine-tuning]] parameter to change this to non-parametric copies. More information about parametric/non-parametric copy behavior can be found in this [https://forum.freecad.org/viewtopic.php?t=42993 forum post].
* Some interesting information about what is happening with placement and how to access by Python can be found in this [https://forum.freecad.org/viewtopic.php?t=77568#p675456 forum post].


==Scripting==
==Scripting==

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

{{Code|code=
{{Code|code=
shape.removeSplitter()
shape.removeSplitter()
}}
}}


==Notes==
* the function does not modify the existing shape, but returns a new shape
* the function is normally used as last step in the modelling history
* the function can help to get difficult fillets to work
* the function is intended to stop 3D printers from printing unwanted edges
* the function can be used after converting a mesh to shape to clean up the residual edges on planar faces.


{{Docnav
<br />
|[[Part_ElementCopy|ElementCopy]]
<br />
|[[Part_CheckGeometry|CheckGeometry]]
|[[Part_Workbench|Part]]
|IconL=Part_ElementCopy.svg
|IconR=Part_CheckGeometry.svg
|IconC=Workbench_Part.svg
}}


{{Part Tools navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}
<languages/>

Latest revision as of 14:13, 5 February 2024

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.

The Part RefineShape command produces parametric copies with a refined shape from selected objects. It can for example be used to remove unnecessary edges left over after a Part Fuse operation.

Original with 11 faces (left), and refined copy with 7 faces (right).

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.
  1. Select one or more objects.
  2. Select the Part → Create a copy → Refine shape option from the menu.
  3. For each object a cleaned, parametric copy is created
  4. The original objects are hidden.

Notes

  • This command can be used as the last step in a traditional constructive solid geometry workflow.
  • It may help to clean up the model before applying other features, such as fillets.
  • Cleaning up an object may prevent 3D printers from printing unwanted edges once the object is exported to a mesh format.
  • This command can also be used after converting a mesh to a shape (Part ShapeFromMesh).
  • By default this command creates parametric (linked) copies. There is fine-tuning parameter to change this to non-parametric copies. More information about parametric/non-parametric copy behavior can be found in this forum post.
  • Some interesting information about what is happening with placement and how to access by Python can be found in this forum post.

Scripting

The Python command for refining a shape is the following:

shape.removeSplitter()