Mesh: Rifila con un piano
Appearance
Outdated translations are marked like this.
|
|
| Posizione nel menu |
|---|
| Mesh → Taglio → Rifila con un piano |
| Ambiente |
| Mesh |
| Avvio veloce |
| Nessuno |
| Introdotto nella versione |
| - |
| Vedere anche |
| Taglia la mesh, Rifila con un poligono |
Descrizione
Il comando Rifila con un piano taglia facce e parti di facce su un lato di un piano da un oggetto mesh.
Utilizzo
- Selezionare un singolo oggetto mesh e un singolo piano di Part. Il piano (esteso) deve intersecare l'oggetto mesh.
- Selezionare l'opzione Mesh → Taglio →
Rifila con un piano dal menu.
- Si apre la finestra di dialogo Rifila con un piano.
- Selezionare il lato da mantenere premendo uno dei pulsanti:
- Sopra
- Sotto
- Dividi: rimuove le facce e le parti delle facce sopra il piano e crea un nuovo oggetto mesh che le contiene.
Scripting
See also: FreeCAD Scripting Basics.
To trim a mesh with a plane use its trimByPlane method.
import FreeCAD as App
import Mesh
# Create a non-parametric box-shaped mesh:
msh = App.ActiveDocument.addObject("Mesh::Feature", "Mesh")
msh.Mesh = Mesh.createBox(30, 40, 50)
msh.ViewObject.DisplayMode = "Flat Lines"
# Define a plane by a base point and a normal vector:
pnt = App.Vector(25, 0, 0)
nor = App.Vector(0, 0, 1)
# We need to work on a copy of the msh.Mesh object:
new_msh = msh.Mesh.copy()
# Trim that copy:
new_msh.trimByPlane(pnt, nor)
# Update msh.Mesh:
msh.Mesh = new_msh
- Miscellaneous: Import Mesh, Export Mesh, Mesh From Shape, Regular solid, Unwrap Mesh, Unwrap Face
- Modifying: Harmonize Normals, Flip Normals, Fill Holes, Close Holes, Add Triangle, Remove Components, Remove Components Manually, Smooth, Refinement, Decimate, Scale
- Boolean: Union, Intersection, Difference
- Cutting: Cut, Trim, Trim With Plane, Section From Plane, Cross-Sections
- Components and segmentation: Merge, Split by Components, Segmentation, Segmentation From Best-Fit Surfaces
- Analyze: Evaluate and Repair, Face Info, Curvature Plot, Curvature Info, Evaluate Solid, Bounding Box Info
- Additional: Import Export Preferences, OpenSCAD Workbench, Mesh Scripting
- 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, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub