Macro MeasureCircle: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
(link)
Line 29: Line 29:


<!--T:9-->
<!--T:9-->
The lastest version of the macro is to be found at https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/SelectVisible.FCMacro
The lastest version of the macro is to be found at https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/MeasureCircle.FCMacro


</translate>
</translate>

Revision as of 10:13, 9 April 2016

File:Macro MeasureCircle Macro MeasureCircle

Description
Compute the radius of a circle by 3 points or a circular edge

Author: galou_breizh
Author
galou_breizh
Download
None
Links
Macro Version
1.0
Date last modified
None
FreeCAD Version(s)
None
Default shortcut
None
See also
None

Description

This macro will report the computed radius and center of a circle given 3 vertices or a circular edge. A line is drawn from the center of the circle to the first vertex, which may be used for future measurements.


How To Use

Copy the macro in your macros' folder and run (see Macro Install HowTo for further details).

Just select the vertices and the result will be shown in the Report View. Edges may also be selected and count as two vertices. A circular edge can also be selected. If two edges are selected the end vertex of the second edge is not used in the calculation.

You can either select elements and then launch the macro or launch the macro without selection and select elements after launch. If not enough elements are selected before launching the macro, you must select the missing elements.

Code

The lastest version of the macro is to be found at https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/MeasureCircle.FCMacro

Other languages: