This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from FreeCAD import Base | |
import math | |
class Protractor: | |
"""Reports the angle between two edges. | |
Select the edges and the result will be shown in Report View""" | |
def __init__(self): | |
self.firstEdge = None | |
Gui.Selection.addObserver(self) | |
FreeCAD.Console.PrintMessage("Select any 2 edges\n") |