Code Monkey home page Code Monkey logo

Comments (5)

mikedh avatar mikedh commented on May 29, 2024

Hmm, probably got borked when I added support for ASCII ply. Any chance you could send me the file to test on?

from trimesh.

sukysjonas avatar sukysjonas commented on May 29, 2024

Sure,

I uploaded it here:
https://server.sukys.lt/owncloud/index.php/s/bWAvzpTVo0KlMhS

Thanks

from trimesh.

mikedh avatar mikedh commented on May 29, 2024

Looks like the exporter you used set the face element key as 'vertex_index' instead of 'vertex_indices'. Also, both trimesh and meshlab get a NaN value for the last face, which made the merge_vertices remove everything. In bd20fa1 I changed the loader to be more robust to different names for the data, and also a function to remove the NaN values cleanly on load. I'm not sure why this mesh would have been loadable with an older version of trimesh, but it should work now.

from trimesh.

sukysjonas avatar sukysjonas commented on May 29, 2024

I see, thanks for quick reply and fix.
I am aware of the last NaN, but this did not seem to cause any issues so far.
Your patch works now, thanks!

from trimesh.

mikedh avatar mikedh commented on May 29, 2024

Glad its working for you!

from trimesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.