5 The feature **Measurement** calculates dimensions of sub-elements of a geometrical object (shape).
7 The measured dimension is displayed in the property panel and shown in 3D OCC viewer.
9 The properties of dimension text and line, such as font, color, arrow size, etc. can be defined in the Preferences :ref:`visualization_preferences`.
11 **Apply** button does not generate any result and has the same effect as **Cancel** for this feature.
13 To start Measurement in the active part:
15 #. select in the Main Menu *Part - > Measurement* item or
16 #. click **Measurement** button in the toolbar
18 .. image:: images/measurement.png
22 **Measurement** button
24 The following dimensions can be calculated:
26 .. image:: images/meas_length_32x32.png
30 .. image:: images/meas_distance_32x32.png
32 distance between objects
34 .. image:: images/meas_radius_32x32.png
38 .. image:: images/meas_angle_32x32.png
42 .. image:: images/meas_angle3p_32x32.png
49 The length can be measured for straight or curved edge built on two points.
51 .. image:: images/Measurement1.png
59 - **Edge** contains edge to be measured selected in 3D OCC viewer or object browser.
61 Note, that for curved edges length is displayed only in the property panel.
63 **TUI Command**: *length =model.measureLength(Part_doc, edge)*
65 **Arguments**: part + edge in format *model.selection("EDGE", edge)*.
68 Distance between objects
69 ------------------------
71 **Distance between objects** calculates minimal distance for any pair of shapes: vertex, edge, face, solid.
73 .. image:: images/Measurement2.png
77 Distance between objects
81 - **From**, **To** contain shapes between which distance is measured. Shapes are selected in 3D OCC viewer or object browser.
83 **TUI Command**: *length =model.measureDistance(Part_doc, shape1, shape2)*
85 **Arguments**: part + 2 shapes in format *model.selection("TYPE", shape)*.
90 **Radius** calculates radius for circular edge or cylindrical face.
92 .. image:: images/Measurement3.png
100 - **Object** contains shape to be measured selected in 3D OCC viewer or object browser.
103 **TUI Command**: *radius = model.measureRadius(Part_doc, shape)*
105 **Arguments**: part + shape in format *model.selection("TYPE", shape)*.
110 **Angle between edges** calculates angle between the selected pair of edges in the point of intersection. If there are several points of intersection, then angles are calculated in all points.
112 .. image:: images/Measurement4.png
120 - **First Edge**, **Second edge** contain edges between which angle is measured. Edges are selected in 3D OCC viewer or object browser.
122 **TUI Command**: *angle = model.measureAngle(Part_doc, edge1, edge2)*
124 **Arguments**: part + 2 edges in format *model.selection("EDGE", edge)*.
129 **Angle by 3 points** calculates angle between the selected three points. The second point is in the corner of the angle.
131 .. image:: images/Measurement5.png
139 - **First point**, **Second point**, **Third point** contain point between which angle is measured. Points are selected in 3D OCC viewer or object browser.
141 **TUI Command**: *angle = model.measureAngle(Part_doc, vertex1, vertex2, vertex3)*
143 **Arguments**: part + 3 vertices in format *model.selection("VERTEX", vertex)*.