parameters: (shape, filename)
docstring: Writes a TopoDS_Shape to a brep file
      :param shape: The shape given as a PythonOCC TopoDS_Shape
      :param filename: Filename to be written
docstring_summary: Writes a TopoDS_Shape to a brep file
      :param shape: The shape given as a PythonOCC TopoDS_Shape
      :param filename: Filename to be written
docstring_tokens: Writes a TopoDS_Shape to a brep file : param shape : The shape given as a PythonOCC TopoDS_Shape : param filename : Filename to be written
function: def write_brep(shape, filename):
      """
      Writes a TopoDS_Shape to a brep file
      :param shape: The shape given as a PythonOCC TopoDS_Shape
      :param filename: Filename to be written
      """
      if not breptools_Write(shape, filename):
          raise RuntimeError("Cannot write brep file: " + filename)
function_tokens: def write_brep ( shape , filename ) : if not breptools_Write ( shape , filename ) : raise RuntimeError ( "Cannot write brep file: " + filename )