Comments (5)
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.
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.
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.
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.
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)
- Implement rotational springs? HOT 3
- Discontinuities in moment, deflection diagrams HOT 8
- Cannot create PDF report HOT 2
- Post-processing - analysis fails for two span beams HOT 2
- Define hinge at a member HOT 2
- What is "matrix is singular" error? HOT 4
- FR: Make Matplotlib optional HOT 2
- Error Creating Members with Aux Nodes HOT 4
- CylidnerMesh origin wrong when not using axis='Y' HOT 5
- Reaction force - Equilibrium problem HOT 18
- Rotational Symmetry HOT 3
- Incorrect (Zero) Reaction Observed in Z-Direction for Cantilevered Beam with Spring Supports HOT 4
- 'Quad3D' object has no attribute 'LoadCombos' HOT 2
- RuntimeWarning: divide by zero encountered in double_scalars HOT 2
- Displacement Memory Growth & Purge Option + Disk Caching of Displacements HOT 3
- P-Delta Member Internal Results Incorrect HOT 1
- PyNite Import Issue HOT 3
- Tension-only members HOT 3
- Issue initalising PhysMember HOT 3
- Variable cross-section along member HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pynite.