Git Product home page Git Product logo

Comments (4)

tjstienstra avatar tjstienstra commented on September 27, 2024

I think that I'm going with the solution of adding a new class Connection(Requirement) and a non-abstract method define_connections. Connection will automatically have an is_submodel = False.

from brim.

tjstienstra avatar tjstienstra commented on September 27, 2024

I think that I'm going with the solution of adding a new class Connection(Requirement) and a non-abstract method define_connections. Connection will automatically have an is_submodel = False.

There is actually one big problem. Currently the choice is made to always first traverse the submodels as they do not define any connections with others at the same level. Adding connections does add this option making it possible that one tries to define something based on a relation, which does not yet exist. For example the wheel may try to compute its contact point using the ground without any relation on how the wheel is oriented w.r.t. the ground. This is not possible.

from brim.

tjstienstra avatar tjstienstra commented on September 27, 2024

While this could be fixed by adding an order attribute to the define functions. A problem that remains is that this entire feature is extremely sensitive to circular import errors.

from brim.

tjstienstra avatar tjstienstra commented on September 27, 2024

While this could be fixed by adding an order attribute to the define functions. A problem that remains is that this entire feature is extremely sensitive to circular import errors.

Option to solve it is to just say that it should be of type ModelBase in the case of connections.

from brim.

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.