Giter Site home page Giter Site logo

Modify fucntions about pynite HOT 5 CLOSED

jwock82 avatar jwock82 commented on May 18, 2024
Modify fucntions

from pynite.

Comments (5)

JWock82 avatar JWock82 commented on May 18, 2024 1

PYTHONPATH is a system environment variable that tells python which folders to look in when using an import statement. You can edit environment variables such as PYTHONPATH in Windows 10 by searching "Environment Variables" in the start menu search bar.

from pynite.

JWock82 avatar JWock82 commented on May 18, 2024

I'm not sure what function you've changed or how you've changed it. I'm not sure why you'd need to modify the program to test it. Most of the important methods and attributes that create the underlying stiffness and load matrices are public members that can be readily accessed. For example, type help(FEModel3D) into a Python terminal after importing FEModel3D and you can see all the class members available to you.

When I run example problems, I create a separate .py file for each example. You can see some of the examples I've tested against in the "Testing & Debugging" folder on GitHub.

Regardless, I definitely recommend upgrading to the latest version using $ pip install --upgrade PyNiteFEA from the command line. I made some important changes last week that fixed some major bugs in the global transformation matrix.

from pynite.

LcnGnd avatar LcnGnd commented on May 18, 2024

For example, i want to try modify discretization used to plot shear, moment etc. Also, I'd like add new type load like thermal variation (constant and linear) and concentreated torsional moment. In order to do this developing, I have to follow some particular procedure or modify methods and attributes in python files in my pc (FEModel3D.py, Member3D.py, etc...) is enough?

from pynite.

JWock82 avatar JWock82 commented on May 18, 2024

For what you'd like to do I'd recommend cloning PyNite to your local PYTHONPATH directory. You should probably uninstall PyNite using pip before cloning so there's no ambiguity between the two versions.

Those are great ideas for features to add to PyNite, but I've got other priorities I'd like to take care of first. Once you've cloned it I'd recommend starting a new branch for your code. When you get it working I believe you can issue a pull request for the branch and I can review the code and then merge it with PyNite.

from pynite.

LcnGnd avatar LcnGnd commented on May 18, 2024

Sorry, how does work PYTHONPATH? I've tried to modify methods and attributes in python files in my pc (FEModel3D.py, Member3D.py, etc...) but i don't see any changing.

from pynite.

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.