parameters: (wire, vidx=0)
return_statement: return Part.Wire(wire.Edges[vidx-1:] + wire.Edges[:vidx-1])
docstring: Return a copy of the wire with the first vertex indicated by the index.
  
      Return a new wire which is a copy of the current wire,
      but where the first vertex is the vertex indicated by the given
      index vidx, starting from 1.
      0 will return an exact copy of the wire.
docstring_summary: Return a copy of the wire with the first vertex indicated by the index.
docstring_tokens: Return a copy of the wire with the first vertex indicated by the index .
function: def rebaseWire(wire, vidx=0):
      """Return a copy of the wire with the first vertex indicated by the index.
  
      Return a new wire which is a copy of the current wire,
      but where the first vertex is the vertex indicated by the given
      index vidx, starting from 1.
      0 will return an exact copy of the wire.
      """
      if vidx < 1:
          return wire
  
      if vidx > len(wire.Vertexes):
          # print("Vertex index above maximum")
          return wire
  
      # This can be done in one step
      return Part.Wire(wire.Edges[vidx-1:] + wire.Edges[:vidx-1])
function_tokens: def rebaseWire ( wire , vidx = 0 ) : if vidx < 1 : return wire if vidx > len ( wire . Vertexes ) : # print("Vertex index above maximum") return wire # This can be done in one step return Part . Wire ( wire . Edges [ vidx - 1 : ] + wire . Edges [ : vidx - 1 ] )