Arch Survey/ro: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 25: Line 25:
== Cum se folosește ==
== Cum se folosește ==


# Press the {{KEY|[[Image:Arch Survey.png|16px]] [[Arch Survey]]}} button
# Apăsați butonul {{KEY|[[Image:Arch Survey.png|16px]] [[Arch Survey]]}}
# Click on vertices, edges, faces or double-click to select whole objects
# Click on vertices, edges, faces or double-click to select whole objects
# Click outside any geometry (on the background of the 3D view) to remove existing labels, print a total line in the Task dialog, and restart counting lengths and areas from zero
# Click outside any geometry (on the background of the 3D view) to remove existing labels, print a total line in the Task dialog, and restart counting lengths and areas from zero

Revision as of 08:35, 18 September 2018

Arch Survey

Menu location
Arch → Survey
Workbenches
Arch
Default shortcut
None
Introduced in version
-
See also
FCInfo (macro)

Descriere

Instrumentul de anchetă introduce un mod special de supraveghere, care vă permite să luați rapid măsuri și informații dintr-un model și să transferați aceste informații către alte aplicații. Odată ce vă aflați în modul Survey, faceți clic pe subelementele diferite ale obiectelor 3D, adună următoarele informații, în funcție de ce faceți clic:

  • Dacă faceți clic pe o margine, obțineți lungimea sa
  • If you click on a vertex, you get its height (coordinate on the Z axis)
  • If you click on a face, you get its area
  • If you double-click anything, therefore select the whole object, you get its volume

Când se colectează o astfel de informație, se întâmplă mai multe lucruri:

  • O etichetă este plasată pe elementul pe care ați făcut clic, care afișează valoarea (cu "a" pentru zonă, "l" pentru lungime, "z" pentru înălțime sau "v" pentru volum)
  • The numeric value is copied to the clipboard, so you can paste it in another application
  • A line is printed on the FreeCAD output window. After you exit the survey mode, those lines can be copied and pasted in another application (the values are comma-separated, making it easy to convert to spreadsheet data)
  • The total length or area of the elements you clicked so far is also printed in the output window
  • Each length or area is also recorded in the task dialog

Imaginea de mai sus arată ce se întâmplă atunci când rulați modul survey.

Cum se folosește

  1. Apăsați butonul Arch Survey
  2. Click on vertices, edges, faces or double-click to select whole objects
  3. Click outside any geometry (on the background of the 3D view) to remove existing labels, print a total line in the Task dialog, and restart counting lengths and areas from zero
  4. Press ESC or the Close button to exit survey mode and remove all the labels.

Opţiuni

  • You can add a custom label to any line in the Task dialog by clicking that line, then adding a text in the description field, then press the set description button.
  • Once you are done, before closing, you can export the contents of the Task dialog by pressing the "export CSV" button. The resulting CSV file can then be opened in any spreadsheet application such as Excel or LibreOffice Calc. The values and units will be separated in the resulting CSV file, and the totals are written as SUM() functions.

Script

The Survey mode cannot be used directly from python scripts, but gathering the same information from any selected Part-based object is easy reproduced with the following script:

import FreeCADGui
selection = FreeCADGui.Selection.getSelectionEx()
for obj in selection:
   for element in obj.SubObjects:
       print "Area: ", element.Area
       print "Length: ", element.Length
       print "Volume: ", element.Volume
       print "Center of Mass: ", element.CenterOfMass