Parsing .obj file - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Programming (https://www.wings3d.com/forum/forumdisplay.php?fid=7) +--- Thread: Parsing .obj file (/showthread.php?tid=1128) |
Parsing .obj file - Namrata - 03-30-2015 Hi, I imported a .obj file using the e3d_obj:import("filename") command. Now I need to access all the vertices from that file. I have attached in the file the record that is created. Could you please help me figure out how I can access all the values corresponding to 'vs' and store that as a separate list. RE: Parsing .obj file - ggaliens - 03-30-2015 As you probably know ... #e3d_file is an intermediate data format. I will find you a snippet that converts into #we{ } Code: carveCSGImport(FileName) -> So ... wpa:import(E3dFile0, St0) will get the data into the current wings state #st{} And then you can just find the last item into that state if you want. |