def addAlongWay(begin, distance, end, loop):
 endMinusBegin = (end - begin)
 endMinusBeginLength = abs(endMinusBegin)
 if (endMinusBeginLength <= 0.0):
  return
 alongWayMultiplier = (distance / endMinusBeginLength)
 loop.append((begin + (alongWayMultiplier * endMinusBegin)))

def addAlongWay ( begin , distance , end , loop ) : endMinusBegin = ( end - begin ) endMinusBeginLength = abs ( endMinusBegin ) if ( endMinusBeginLength <= 0.0 ) : return alongWayMultiplier = ( distance / endMinusBeginLength ) loop . append ( ( begin + ( alongWayMultiplier * endMinusBegin ) ) )
get the beveled rectangle .