1 | #!/usr/bin/env python |
||
2 | """Convert a pointcloud file from one format to another. |
||
3 | |||
4 | This procedure looses any information about the point normals, and the |
||
5 | geographic projection used. It keeps color information. It recognises |
||
6 | PLY, PCD and LAS files. |
||
7 | |||
8 | Usage: |
||
9 | convert.py [-h] <infile> <outfile> |
||
10 | """ |
||
11 | |||
12 | from patty.utils import load, save |
||
13 | from docopt import docopt |
||
14 | |||
15 | if __name__ == '__main__': |
||
16 | args = docopt(__doc__) |
||
0 ignored issues
–
show
|
|||
17 | |||
18 | pc = load(args['<infile>']) |
||
0 ignored issues
–
show
The name
pc does not conform to the constant naming conventions ((([A-Z_][A-Z0-9_]*)|(__.*__))$ ).
This check looks for invalid names for a range of different identifiers. You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements. If your project includes a Pylint configuration file, the settings contained in that file take precedence. To find out more about Pylint, please refer to their site. ![]() |
|||
19 | save(pc, args['<outfile>']) |
||
20 |
This check looks for invalid names for a range of different identifiers.
You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.
If your project includes a Pylint configuration file, the settings contained in that file take precedence.
To find out more about Pylint, please refer to their site.