|
Menyplacering |
---|
Arch → Survey |
Arbetsbänkar |
Arch |
Standard genväg |
Ingen |
Introducerad i version |
- |
Se även |
FCInfo (macro) |
The Arch Survey tool enters a special surveying mode, which allows you to quickly grab measurements and information from a model, and transfer that information to other applications. Once you are in Survey mode, clicking on different subelements of 3D objects gathers the following information (depending on what you click):
When such a piece of information is gathered, several things happen:
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)