def getPathOutput(creationFirst, derivation, elementNode, translation, vector3ComplementPaths, vector3PinionProfile):
 vector3PinionProfile = lineation.getPackedGeometryOutputByLoop(elementNode, lineation.SideLoop(vector3PinionProfile))
 if (creationFirst == 'p'):
  return vector3PinionProfile
 packedGearGeometry = []
 for vector3ComplementPath in vector3ComplementPaths:
  sideLoop = lineation.SideLoop(vector3ComplementPath)
  packedGearGeometry += lineation.getPackedGeometryOutputByLoop(elementNode, sideLoop)
 if (creationFirst == 'c'):
  return packedGearGeometry
 euclidean.translateVector3Paths(packedGearGeometry, translation)
 return (vector3PinionProfile + packedGearGeometry)

def getPathOutput ( creationFirst , derivation , elementNode , translation , vector3ComplementPaths , vector3PinionProfile ) : vector3PinionProfile = lineation . getPackedGeometryOutputByLoop ( elementNode , lineation . SideLoop ( vector3PinionProfile ) ) if ( creationFirst == 'p' ) : return vector3PinionProfile packedGearGeometry = [ ] for vector3ComplementPath in vector3ComplementPaths : sideLoop = lineation . SideLoop ( vector3ComplementPath ) packedGearGeometry += lineation . getPackedGeometryOutputByLoop ( elementNode , sideLoop ) if ( creationFirst == 'c' ) : return packedGearGeometry euclidean . translateVector3Paths ( packedGearGeometry , translation ) return ( vector3PinionProfile + packedGearGeometry )
get gear path output .