parameters: (majradius, minradius, placement=None, face=None, support=None)
return_statement: return obj
docstring: make_ellipse(majradius, minradius, [placement], [face], [support])
      
      Makes an ellipse with the given major and minor radius, and optionally
      a placement.
  
      Parameters
      ----------
      majradius : 
          Major radius of the ellipse.
  
      minradius : 
          Minor radius of the ellipse.
  
      placement : Base.Placement
          If a placement is given, it is used.
      
      face : Bool
          If face is False, the rectangle is shown as a wireframe, 
          otherwise as a face.   
  
      support : 
          TODO: Describe.
docstring_summary: make_ellipse(majradius, minradius, [placement], [face], [support])
      
      Makes an ellipse with the given major and minor radius, and optionally
      a placement.
docstring_tokens: make_ellipse ( majradius minradius [ placement ] [ face ] [ support ] ) Makes an ellipse with the given major and minor radius and optionally a placement .
function: def make_ellipse(majradius, minradius, placement=None, face=None, support=None):
      """make_ellipse(majradius, minradius, [placement], [face], [support])
      
      Makes an ellipse with the given major and minor radius, and optionally
      a placement.
  
      Parameters
      ----------
      majradius : 
          Major radius of the ellipse.
  
      minradius : 
          Minor radius of the ellipse.
  
      placement : Base.Placement
          If a placement is given, it is used.
      
      face : Bool
          If face is False, the rectangle is shown as a wireframe, 
          otherwise as a face.   
  
      support : 
          TODO: Describe.
      """
  
      if not App.ActiveDocument:
          App.Console.PrintError("No active document. Aborting\n")
          return
  
      obj = App.ActiveDocument.addObject("Part::Part2DObjectPython", "Ellipse")
      Ellipse(obj)
  
      if minradius > majradius:
          majradius, minradius = minradius, majradius
      obj.MajorRadius = majradius
      obj.MinorRadius = minradius
      obj.Support = support
  
      if face != None:
          obj.MakeFace = face
  
      if placement:
          obj.Placement = placement
  
      if App.GuiUp:
          ViewProviderDraft(obj.ViewObject)
          gui_utils.format_object(obj)
          gui_utils.select(obj)
  
      return obj
function_tokens: def make_ellipse ( majradius , minradius , placement = None , face = None , support = None ) : if not App . ActiveDocument : App . Console . PrintError ( "No active document. Aborting\n" ) return obj = App . ActiveDocument . addObject ( "Part::Part2DObjectPython" , "Ellipse" ) Ellipse ( obj ) if minradius > majradius : majradius , minradius = minradius , majradius obj . MajorRadius = majradius obj . MinorRadius = minradius obj . Support = support if face != None : obj . MakeFace = face if placement : obj . Placement = placement if App . GuiUp : ViewProviderDraft ( obj . ViewObject ) gui_utils . format_object ( obj ) gui_utils . select ( obj ) return obj