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é |
Contents |
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 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 Simple Copy,
Transformed Copy, and
Element Copy
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.
As of v0.19 and above 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
- Change
ParametricRefine
of typeBoolean
tofalse
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, Cone, Cylinder, Sphere, Torus, CreatePrimitives, Shapebuilder
- Modifying objects: Booleans, Union, Common, Cut, Join features, Connect, Embed, Cutout
- Splitting tools: Boolean fragments, Slice a part, Slice, XOR, Part Defeaturing
- Compound: Make compound, Explode Compound, Compound Filter; Extrude, Fillet, Revolve, Section, Cross sections, Chamfer, Mirror, Ruled Surface, Sweep, Loft
- Offset tools: 3D Offset, 2D Offset, Thickness

- Installation: Windows, Linux, Mac; Getting started
- Basics: About FreeCAD, Workbenches, Preferences, Document structure, Interface Customization, Properties, Mouse Model; Tutorials
- Workbenches: Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Scripting: Introduction to Python, FreeCAD scripting tutorial, FreeCAD Scripting Basics, How to install macros, Gui Command, Units Modules: Builtin modules, Workbench creation, Installing more workbenches Meshes: Mesh Scripting, Mesh Module Parts: The Part Module, Topological data scripting, PythonOCC, Mesh to Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Qt interface: PySide, Using the FreeCAD GUI, Dialog creation Parametric objects: Scripted objects Other: Code snippets, Line drawing function, Embedding FreeCAD, FreeCAD vector math library, Power users hub, Python, Macros, FreeCAD Scripting Basics, Topological data scripting