Part RefineShape/cs: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 2: | Line 2: | ||
{{Docnav|[[Part CreateSimpleCopy|Create simple copy]]|[[Part CheckGeometry|Check geometry]]|[[Part_Module|Part]]|IconL=Part_CreateSimpleCopy.svg|IconC=Workbench_Part.svg|IconR=Part CheckGeometry.png}} |
{{Docnav|[[Part CreateSimpleCopy|Create simple copy]]|[[Part CheckGeometry|Check geometry]]|[[Part_Module|Part]]|IconL=Part_CreateSimpleCopy.svg|IconC=Workbench_Part.svg|IconR=Part CheckGeometry.png}} |
||
<div class="mw-translate-fuzzy"> |
|||
{{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=}} |
{{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=}} |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 8: | Line 10: | ||
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. |
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> |
</div> |
||
[[Part_RefineShape|Part RefineShape]] produces a non-parametric copy with a refined shape, that is, with certain edges and faces cleaned up. |
|||
After certain boolean operations, like [[Part Union|Part Union]], some lines from the previous shapes main remain visible. This tool produces a copy of that boolean result, and cleans up those seams. |
|||
To produce other non-parametric copies use [[Part_SimpleCopy|SimpleCopy]], [[Part_TransformedCopy|TransformedCopy]], and [[Part_ElementCopy|ElementCopy]]. |
|||
[[File:PartRefineShape_it.png]] |
[[File:PartRefineShape_it.png]] |
||
{{Caption|Original boolean result (left), and refined shape copy (right).}} |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 19: | Line 28: | ||
</div> |
</div> |
||
# Select an object that you wish to clean and copy. |
|||
⚫ | |||
# Go to the menu {{MenuCommand|Part → Create a copy → [[File:Part_RefineShape.svg|16px]] Refine shape}}. |
|||
⚫ | |||
# A cleaned, independent copy of the original object is created; the original object is hidden. |
|||
⚫ | |||
Starting in FreeCAD 0.19, the result defaults to a parametric (linked) copy. |
|||
This behavior can be changed in the [[parameter editor|parameter editor]]. Go to the subgroup |
|||
* {{incode|BaseApp/Preferences/Mod/Part}} |
|||
and change {{incode|ParametricRefine}} of type {{incode|Boolean}} to {{FALSE}} to get the old behavior (independent copy). |
|||
See other parameters in [[Fine-tuning|Fine-tuning]]. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
* This function can be used as the last step in the modelling work to clean up shapes in a traditional [[constructive solid geometry|constructive solid geometry]] workflow. |
|||
* This function may help to clean up the model before applying another feature, such as a [[Part_Fillet|Fillet]]. |
|||
⚫ | |||
⚫ | |||
==Scripting== |
==Scripting== |
||
Line 28: | Line 58: | ||
shape.removeSplitter() |
shape.removeSplitter() |
||
}} |
}} |
||
⚫ | |||
* 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 |
|||
⚫ | |||
⚫ | |||
{{Docnav|[[Part CreateSimpleCopy|Create simple copy]]|[[Part CheckGeometry|Check geometry]]|[[Part_Module|Part]]|IconL=Part_CreateSimpleCopy.svg|IconC=Workbench_Part.svg|IconR=Part CheckGeometry.png}} |
{{Docnav|[[Part CreateSimpleCopy|Create simple copy]]|[[Part CheckGeometry|Check geometry]]|[[Part_Module|Part]]|IconL=Part_CreateSimpleCopy.svg|IconC=Workbench_Part.svg|IconR=Part CheckGeometry.png}} |
Revision as of 11:30, 29 September 2019
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.
Part RefineShape produces a non-parametric copy with a refined shape, that is, with certain edges and faces cleaned up.
After certain boolean operations, like Part Union, some lines from the previous shapes main remain visible. This tool produces a copy of that boolean result, and cleans up those seams.
To produce other non-parametric copies use SimpleCopy, TransformedCopy, and ElementCopy.
Original boolean result (left), and refined shape copy (right).
Použití
- Vyberte tvar, který má být vyčištěn.
- 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.
- Select an object that you wish to clean and copy.
- Go to the menu Part → Create a copy → Refine shape.
- A cleaned, independent copy of the original object is created; the original object is hidden.
Starting in FreeCAD 0.19, the result defaults to a parametric (linked) copy.
This behavior can be changed in the parameter editor. Go to the subgroup
BaseApp/Preferences/Mod/Part
and change ParametricRefine
of type Boolean
to false
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 OpenSCAD RefineShapeFeature command, Part RefineShape won't update when the preceding shapes are changed.
Notes
- This function can be used as the last step in the modelling work to clean up shapes in a traditional constructive solid geometry workflow.
- This function may help to clean up the model before applying another feature, such as a Fillet.
- This clean up may stop 3D printers from printing unwanted edges once the solid model is exported to a mesh format.
- This function can also be used after converting a mesh to a shape (ShapeFromMesh) to clean up the residual edges on flat faces.
Scripting
The Python command for refining a shape is the following:
shape.removeSplitter()
- Primitives: Box, Cylinder, Sphere, Cone, Torus, Tube, Create primitives, Shape builder
- Creation and modification: Extrude, Revolve, Mirror, Fillet, Chamfer, Make face from wires, Ruled Surface, Loft, Sweep, Section, Cross sections, 3D Offset, 2D Offset, Thickness, Projection on surface, Attachment
- Boolean: Make compound, Explode Compound, Compound Filter, Boolean, Cut, Fuse, Common, Connect, Embed, Cutout, Boolean fragments, Slice apart, Slice, XOR
- Measure: Measure Linear, Measure Angular, Measure Refresh, Clear All, Toggle All, Toggle 3D, Toggle Delta
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub