GithubHelp home page GithubHelp logo

Comments (5)

lachlangrose avatar lachlangrose commented on May 21, 2024

Most of the time the interpolator does not need to have a property name but if you want to interpolate two properties on the same support it is used to differentiate the results. I will remove this in the future as it is not used in LoopStructural anymore but it is not the cause of the bug you are having.

Without seeing your data or the whole code used to create the model I can't really help. The interpolator is not being created, but I don't know why. Are you seeing a warning "Interpolator not created"?

from loopstructural.

lachlangrose avatar lachlangrose commented on May 21, 2024

from loopstructural.

mustaeenqazi avatar mustaeenqazi commented on May 21, 2024

Hi,

Thanks for your input on this bug, and helping to understand. The bug is solved by adding the line: "model.set_model_data(data)" , before using the line: "model.create_and_add_foliation()". I dont understand why i need to use this because the data is already set, but it somehow makes the code work.

Cheers,

from loopstructural.

lachlangrose avatar lachlangrose commented on May 21, 2024

You have created a dataframe for the data but LoopStructural uses an object-oriented program design meaning that the data needs to be an attribute of the model. This process makes a copy of the dataframe so the original data are not modified, transforms the data so that the origin of the model is [0,0,0] and converts strike and dip to normal vectors.

from loopstructural.

mustaeenqazi avatar mustaeenqazi commented on May 21, 2024

Okay i understand it now. Thank you for your input!!

Cheers,
Mustaeen

from loopstructural.

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.