Hi, I am trying to convert my pts. format file into LFD format on my python. Because I found that .lfd file can be open on notepad and can be read as text file. However, I cannot seem to interpret the structure of the format. The first 3 lines seem quite close to the .pts format, where the first line is the size of the data, and the other 2 lines composed of x, y, z coordinates for first 3 columns, and the other 3 columns for RGB color information. However, this data that I am trying to interpret is definitely longer than 5 as shown on the first line. I am not sure whether my educated guess is even correct. I have asked it to ChatGPT but I am not getting the satisfactory answer. Does anyone know how to interpret the format of .lfd file? It is not so kind as there is no columns labelled and I wonder if anyone is familiar with the format of .lfd.
Here is the piece of .lfd file that I am trying to interpret on Notepad.
5 44.13452675 166.56203898 39.70127788 1.00000000 0.00000000 0.00000000 15.74172737 92.76964243 -28.34532246 74.23542740 240.60513743 61.92547717 X 44.13452675 166.56203898 39.70127788 1 G:\Desktop\Nr667\Nr667 high I2010.zfc*0 0.57953177 0.81494281 0.00333929 0.00000000 -0.81494800 0.57951749 0.00438706 0.00000000 0.00164003 -0.00526378 0.99998480 0.00000000 0.00000000 0.00000000 0.00000000 1.00000000 1000000015047466219876688855040.00000000 0000001 -0.01595788 -3.99607373 -1.57421921 0 commn 0 0 3 0000003 -2.09329100 -0.05833755 5.94071835 0 commn 0 0 7 0000007 -3.17732572 -10.10654342 0.93038380 0 commn 0 0 15 0000015 -1.69594802 -2.91974834 -1.56782370 0 commn 0 0 31 0000031 -4.06540087 -1.92724701 -1.56589455 0 commn 0 0 63 0000063 -6.97010221 -4.59555085 -1.11903871 0 commn 0 0 127 0000127 -2.71105912 -4.08490701 -1.16500061 Nr667Small_0.points 0 common 65535 1 255 0000255 -2.81153697 -4.42399537 -1.35858365 0 commn 0 0 511 0000511 -5.74541502 -5.49886731 -1.55700082 0 commn 0 0 1023 0001023 -4.67770820 -5.47981082 -1.56017850 ...
I would appreciate the help from someone who is knowledgeable.
Thanks a lot and have a great day!