Python Forum
Saving an numpy.ndarray as .ply file in python
Thread Rating:
  • 3 Vote(s) - 3.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Saving an numpy.ndarray as .ply file in python
#5
(Oct-11-2017, 06:06 PM)Larz60+ Wrote: Sorry,  this package seems to do that: https://github.com/dranjan/python-plyfile

Thanks for the quick reply. I have already read that. It provides a way of reading the file or writing one from scratch. What I want to do is:
1- Read .ply file (as in the link)
2- add an element to the header and to the data as well (for example, before defining the colour I would like to add 'property float score\n' in the header )
3- save the edited version

Can you please help ?
Reply


Messages In This Thread
RE: Saving an numpy.ndarray as .ply file in python - by Tina - Oct-11-2017, 06:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing the content of the table and saving the new data into another file femke_pythonquestion123 1 1,588 Sep-18-2020, 12:06 PM
Last Post: femke_pythonquestion123
  Spyder: ndarray object of numpy module error python_newbie09 6 17,904 Jul-31-2019, 06:21 AM
Last Post: rohit_w
  Saving to Json file Shambob1874 1 2,479 May-30-2018, 10:00 PM
Last Post: micseydel
  Saving the results from an input in a txt. file pythonenthusiast 2 2,706 Nov-28-2017, 03:52 PM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020