Package: ply-convert
About ply_convertply_convert is a command line tool to manipulae ply meshesDeveloped by Serge Dmitrieff.https://www.biophysics.frInstallationInstalling with pip3 (recommended)$pip3installply_convertRequired packagesply_convert requires Sklearn, Numpy, plyfile, and sio_tools. They will be downloaded when installed with pip3.Syntaxply_convert[INPUT_FILE[INPUT_FILE_2_3...]][out=OUTPUT_FILE][OPTION=VALUE][-ADDITIONAL_OPTIONS]OPTIONSOptions are to be written as opt=value or -option  
Unless mentioned otherwise, options are not applied by default  

Supported options :  
    out=            : name of output file (single file job) // extension of output file (multiple files)  
    scale=          : scale to be applied to points (float or 3x1 vector)  
    length=         : length of object on dimension of maximal variance  
    thickness=      : adds to each point a vector thickness*normal  
    batch=          : apply to all files of a certain type  
    path=           : path in which to look for files for batch operation  
    label=          : label of mesh, added when saving mesh files  
    orientation=    : orientation of normals (+1 : towards outside, -1 : towards inside)  
    prefix=         : add a prefix to output file name (multiple files)  
    suffix=         : add a suffix to output file name (multiple files)  
    -center         : center the data around [0,0,0]  
    -align          : aligns data to dimension x  
    -normals        : computes normals from faces  
    -verbose        : verbose output  
    -fixnorms       : makes sure normals are inwards (equivalent to option orientation=-1)  
    -fixuint        : fixes format to meshlab-friendly  

    batch=          : extension of files to process in batch (support multiple)  
    ** batch only **  
    path=            : folder in which to look for files (support multiple)  
    include=         : string that *must* be included in file name (support multiple)  
    exclude=         : string that *must not* be included in file name (support multiple)  
    -recursive       : searches recursively for filesEXAMPLES :ply_convertfile.plyout=file.meshconverts a ply file file.ply to a mesh file file.meshply_convert.pyfile.meshnormals=1out=file.plyconverts a mesh file to a ply file, and computes the normal at each pointply_convertfile_1.plyfile_2.plyfile_3.plyout=.meshconverts file_1.ply file_2.ply file_3.ply into mesh filesply_convertfile.ply-center-align-normalslength=7-verbosethickness=0.15scale='1.0 1.0 2.0'verbose=1out=thickened.meshout=thickened.plyconverts a ply file to a ply and a mesh file after centering, aligning, computing normals, scaling the object to a length of 7, and adding an extra thickness of 0.15, then scaling the z axis with a factor 2ply_convert.pybatch=.plypath='/home/user/simulations/'out='.ply'scale=0.1-recursiveprefix=scaled_Recursively find ply files in '/home/user/simulations/', scales them to a factor of 0.1, and                         saves them to FOLDER/suffix_NAME.ply with NAME the filename and FOLDER the folder nameply_convert.pyfile.plyout=fixed_file.ply-fixuintfixes the header of a mesh file saved by tinyply (C++) so that it doesn't crash with meshlab.