Giter Site home page Giter Site logo

Comments (5)

imikejackson avatar imikejackson commented on July 17, 2024

If you would like the centroid of each triangle, we have the "Generate Triangle Centroids" filter that should be used.

from dream3d.

eugenianietov avatar eugenianietov commented on July 17, 2024

Hi Michael,

I used the "Generate Triangle Centroids" to get the centroid of each triangle, and I could export it with no problem with the "Export ASCII Data filter". Everything seems fine with that calculation. The problem comes from the "Find Feature Centroids" data output. I am using this filter in order to obtain the centroid of each surface mesh face, that takes into account all the triangles that belong to each face. When I write these data to a file, I saw that the centroids are written just for the first 155 faces out of 772 faces, the rest appear as just (0,0,0).

I attach the Face Feature Data csv file just in case you want to take a look. Thanks a lot!

Eugenia
Top-7_export_FaceFeatureData.csv

from dream3d.

imikejackson avatar imikejackson commented on July 17, 2024

Try the "Find Feature Centroids from Triangle Geometry" filter. I think that is what you are looking for.

from dream3d.

eugenianietov avatar eugenianietov commented on July 17, 2024

I already used that filter and it does the job. The problem comes when I try to export the data with the "Export ASCII Data filter" as I said before. It only writes the centroids of the first 155 faces out of 772 faces; the rest appear as just (0,0,0) and this is wrong. You can check it in the provided csv file in my previous comment.

from dream3d.

imikejackson avatar imikejackson commented on July 17, 2024

@eugenianietov This was fixed in the recen6 6.5.167 release. Please give that one a try.

from dream3d.

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.