parameters: (self, p1, p2, p3)
docstring: Set the arc by three points.
docstring_summary: Set the arc by three points.
docstring_tokens: Set the arc by three points .
function: def setBy3Points(self, p1, p2, p3):
          """Set the arc by three points."""
          import Part
          try:
              arc = Part.ArcOfCircle(p1, p2, p3)
          except Exception:
              return
          e = arc.toShape()
          self.autoinvert = False
          self.normal = e.Curve.Axis.negative()  # axis is always in wrong direction
          self.basevector = self.getDeviation()
          self.setCenter(e.Curve.Center)
          self.setRadius(e.Curve.Radius)
          self.setStartPoint(p1)
          self.setEndPoint(p3)
function_tokens: def setBy3Points ( self , p1 , p2 , p3 ) : import Part try : arc = Part . ArcOfCircle ( p1 , p2 , p3 ) except Exception : return e = arc . toShape ( ) self . autoinvert = False self . normal = e . Curve . Axis . negative ( ) # axis is always in wrong direction self . basevector = self . getDeviation ( ) self . setCenter ( e . Curve . Center ) self . setRadius ( e . Curve . Radius ) self . setStartPoint ( p1 ) self . setEndPoint ( p3 )