Skip to content

Commit

Permalink
drop support for tributary area analysis
Browse files Browse the repository at this point in the history
Relying on `scikit-geometry` for tributary area analysis is
problematic, since it can't be directly installed using pip.
Dropping support for tributary area analysis, and will consider adding
it back at some point with a custom implementation of the straight
skeleton generation algorithm.
  • Loading branch information
ioannis-vm committed Oct 9, 2023
1 parent f346c12 commit a4b7664
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions docs/source/notebooks/doc_2_define_a_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,6 @@
specified levels. Only primary nodes are affected (not internal
nodes of component assemblies).
* `tributary_area_analysis` distributes loads from the floors to the
supporting elements.
* `self_weight`, `self_mass` assign self-weight loads and lumped
self-mass to all the elements / nodes.
Expand All @@ -176,7 +173,6 @@
from osmg.load_case import LoadCase
from osmg.preprocessing.self_weight_mass import self_weight
from osmg.preprocessing.self_weight_mass import self_mass
from osmg.preprocessing.tributary_area_analysis import PolygonLoad


# %%
Expand All @@ -192,15 +188,6 @@
testcase.rigid_diaphragms([1, 2])


# %%
for key in [1, 2]:
testcase.tributary_area_analysis[key].polygon_loads.append(
PolygonLoad('dead', 50.00, None, None, False))
testcase.tributary_area_analysis[key].polygon_loads.append(
PolygonLoad('live', 10.00, None, None, True))
testcase.tributary_area_analysis[key].run()


# %%
# visualize the model
show(mdl, testcase, extrude=True)

0 comments on commit a4b7664

Please sign in to comment.