Giter Club home page Giter Club logo

Comments (10)

JWock82 avatar JWock82 commented on September 24, 2024 1

This feature is now complete as of v0.0.67.

from pynite.

JWock82 avatar JWock82 commented on September 24, 2024

Definitely a feature I've been wanting to add. I've been slow to get to it knowing it will take a fair effort, and could cost some computational overhead if I don't do it right.

from pynite.

maderero avatar maderero commented on September 24, 2024

Hey is there any interest in this still?
image

Code here: repair_mwe.py

from pynite.

JWock82 avatar JWock82 commented on September 24, 2024

There definitely is. Is that what your code above does?

from pynite.

maderero avatar maderero commented on September 24, 2024

Yes it's a minimal working example to generate the example image above. I have not done extensive testing, but from the examples I have run, it is correctly breaking up members at intersections then correctly reassigning the relevant releases, distributed loads, and point loads.

from pynite.

maderero avatar maderero commented on September 24, 2024

I'm working on incorporating this into Node3D/Member3D/Model3D now. I'll come back with a link shortly.

from pynite.

maderero avatar maderero commented on September 24, 2024

I've put it up here: https://github.com/maderero/PyNite/tree/repair_model
Please try the example under Examples/Braced Frame - Repair Usage.py
This will create intersecting vertical and horizontal members. The added repair method takes care of the subdivisions.

I am seeing some warnings coming out of the Visualizer (related to how I am breaking up the distributed loads):

.../PyNite/PyNite/Visualization.py:1173: RuntimeWarning: divide by zero encountered in double_scalars
  step = loadLength/num_steps
.../PyNite/PyNite/Visualization.py:1179: RuntimeWarning: invalid value encountered in double_scalars
  position = (position1[0] + i*step*lineDirCos[0], position1[1] + i*step*lineDirCos[1], position1[2] + i*step*lineDirCos[2])
.../PyNite/PyNite/Visualization.py:1182: RuntimeWarning: invalid value encountered in double_scalars
  length = length1 + (length2 - length1)/loadLength*i*step

Any ideas?

from pynite.

maderero avatar maderero commented on September 24, 2024

I just pushed a commit d1b03ed that substantially reduces the runtime.

from pynite.

JWock82 avatar JWock82 commented on September 24, 2024

An update on this feature:

This is my current focus for PyNite. I think I've found a simple way to implement this with minimal code using class inheritance to nest members within other specialized members. I need to modify a few more parts of PyNite, and then run tests and debug, but I expect to have this done very soon.

from pynite.

JWock82 avatar JWock82 commented on September 24, 2024

Update #2:

I think I've got it implemented. I'm starting to run tests on this feature. Once I'm done testing it I'll roll it out in a new version.

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.