|
|
| Posizione nel menu |
|---|
| OpenSCAD → Scala la mesh |
| Ambiente |
| OpenSCAD |
| Avvio veloce |
| Nessuno |
| Introdotto nella versione |
| - |
| Vedere anche |
| Nessuno |
Creates a new scaled Mesh object with independent scaling for each axis.
The function can be accessed via Python:
import OpenSCADUtils
import Mesh
#this assumes an existing object in the document named "Mesh" that you wish to scale
original_mesh = App.ActiveDocument.Mesh
scaled_mesh = OpenSCADUtils.scalemesh(original_mesh.Mesh, FreeCAD.Base.Vector(1,0,0))
Mesh.show(scaled_mesh)