|
Menu location |
---|
Arch → Survey |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
FCInfo (macro) |
La herramienta de encuesta ingresa en un modo de topografía especial, que le permite tomar rápidamente medidas e información de un modelo y transferir esa información a otras aplicaciones. Una vez que esté en modo Encuesta, al hacer clic en diferentes subelementos de objetos 3D, se recopila la siguiente información, en función de lo que haga clic en:
Cuando se recopila una información de este tipo, suceden varias cosas:
The above image shows what happens when running the survey mode.
See also: Arch API and FreeCAD Scripting Basics.
The Survey tool doesn't have a programming interface, but gathering the same information from any selected Part-based object is reproduced with the following script:
import FreeCADGui
selection = FreeCADGui.Selection.getSelectionEx()
for obj in selection:
for element in obj.SubObjects:
print("Area: %f", element.Area)
print("Length: %f", element.Length)
print("Volume: %f", element.Volume)
print("Center of Mass: %f", element.CenterOfMass)