Giter Site home page Giter Site logo

Comments (1)

oliveroxtoby avatar oliveroxtoby commented on June 12, 2024

Firstly, why does ShapeRefs only store the string name of the relevant faces rather than just storing the faces themselves? This is what I changed locally and that removes the huge overhead of needing to go from the string names back to the face objects (saving me ~40 hours per case).

That's good to know! No particular reason. I haven't really got to doing any optimisation on this as it hasn't been much of an obstacle in the examples I've run. I'd be interested to see your example in order to understand better, if you can share it.

Secondly, I can guess at why matchFaces exists: maybe a user manually selected the face in an object that was used to create a mesh, rather than selecting the face on the mesh object itself. But this resolving process is very expensive (about 6 hours of the remaining 6 hours processing time), and AFAICT isn't needed if creating the case programmatically or if a user is careful in selecting the correct faces when creating a mesh refinement.

Correct, but I would like to keep this flexibility. Sometimes it's much more convenient to select a face on a simpler object than the full compound that the mesh is composed of. I'd gratefully receive any optimisations though. Presumably we can detect and skip if we see the selection has been made on the primary mesh shape.

I'm new to the code so could be missing something crucial so thought I'd ask before going down the wrong path.

No problem. I sadly have very little time for this project so unfortunately I've erred on the side of adequacy rather than optimality, in many respects.

I'm wondering if all of this resolving work could be done only if manually selecting faces and the underlying object properties could contain the raw data needed to quickly generate a mesh. That way if not manually selecting things, most of the processing cost could be skipped.

Sounds good.

from cfdof.

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.