Open GoogleCodeExporter opened 9 years ago
Hi,
sorry for not replying for a long time (i didn't actually think that people will use it intensively enough to submit issues). You are right. The packing.xyzd description is here: https://github.com/VasiliBaranov/packing-generation#11-packing-file-format
It shall be straightforward to read these files in any language.
Best, Vasili
Hi, I have also been able to run the program with eclipse+cygwin. However, I am unable to read the generated packing.xyzd and packing_init.xyzd files. Whenever I open these files, they seem like a collection of symbols. My guess is that this issue is related to endianness of the system, but I don't really know how to fix this bug. Any heads in how to solve the problem?
Cheers,
Gloria
Hi Gloria,
I've added the MATLAB script for reading the packings. To make it work, you need to download the entire folder with the scripts. The code for reading the packing is in this file (the function ReadPacking). I think the C++ program always saves the packings in the Little-Endian format (and this MATLAB script also assumed it). Anyway, you may try to use it (and may be compare with what you've been trying to use). I think I should have added these scripts from the very beginning... Please also note the part about diameter rescaling in the MATLAB script. I realized it was missing from the documentation. I also updated the front page correspondingly. Hope this helps!
Best, Vasili
Original issue reported on code.google.com by
fdolam...@gmail.com
on 21 Apr 2015 at 11:40