Mesh: Scala
Appearance
|
|
| Posizione nel menu |
|---|
| Mesh → Scala... |
| Ambiente |
| Mesh |
| Avvio veloce |
| Nessuno |
| Introdotto nella versione |
| - |
| Vedere anche |
| Nessuno |
Descrizione
Il comando Scala scala gli oggetti mesh.
Utilizzo
- Selezionare uno o più oggetti mesh.
- Esistono diversi modi per invocare il comando:
- Premere il bottone
Scala....
- Selezionare l'opzione Mesh →
Scala... dal menu.
- Premere il bottone
- Il box dialogo Scalatura si apre.
- Specificare un fattore di scala, il valore deve essere maggiore di
0. - Premere il bottone OK per terminare il comando.
Script
Vedere anche: Script di base per FreeCAD
Per scalare una mesh usare il suo metodo transformGeometry.
import FreeCAD as App
import Mesh
# Create a non-parametric box-shaped mesh:
msh = App.ActiveDocument.addObject("Mesh::Feature", "Mesh")
msh.Mesh = Mesh.createBox(10, 10, 10)
msh.ViewObject.DisplayMode = "Flat Lines"
# Create and scale a matrix:
mat = App.Matrix()
mat.scale(2.0, 3.0, 4.0) # Unequal scaling.
# We need to work on a copy of the msh.Mesh object:
new_msh = msh.Mesh.copy()
# Transform that copy:
new_msh.transformGeometry(mat)
# 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