Releases: adtzlr/trusspy
Releases · adtzlr/trusspy
v3.0.1
v3.0.0
[3.0.0] - 2023-05-08
Changed
- Don't include the zero (undeformed) increment in the output of
Model.plot_movie()
. - Enhance
ResultHandler.add_increment(analysis=None, extforces=None, lpf=None)
.
Removed
- Remove Excel-based input files. This removes the
file
-argument ofModel
, alladd_..._matrix()
-related methods of handlers as well as all Excel-based tests. - Remove PDF- and HTML-output conversions of Markdown-logfiles. This is considered as an external
pandoc
-task and is no more a part of TrussPy. - Remove broken
increments
argument ofModel.plot_history()
and always plot all increments instead.
Fixed
- The result of the first increment contained the displacements of the first solution. However, the very first item of the results should contain the undeformed model.
- For
Model.plot_model(inc=0, contour="force")
, the contour-plot is disabled for the first increment. - Fix the plot force label shown in
Model.plot_model()
: For the first (zero) increment, the initial external loads are shown. For all other increments, the external loads scaled by the load-proportionality-factor (LPF) are shown. - Fix
Model.plot_movie(incs="all")
: Get number of increments from length of list of results
What's Changed
- Remove Excel reader by @adtzlr in #43
- Fix plot_utilities.py by @adtzlr in #49
- Fix
Model.plot_model()
beforeModel.run()
by @adtzlr in #51
Full Changelog: v2.0.0...v3.0.0
v2.0.0
[2.0.0] - 2023-05-03
Changed
- Change default
force_scale=1.0
(from0.5
) inModel.plot_model()
andModel.plot_movie()
. - Set
title="UNDEFORMED"
if increment zero is passed toModel.plot_model(inc=0)
. - If
inc < 0
inModel.plot_model()
, evaluate the increment toinc = len(Model.Results.R) - inc
.
Removed
- Remove the
config
-argument inModel.plot_model()
(plot the deformed configuration ifinc > 0
, show the undeformed configuration withlpf=1
ifinc==0
). - Don't support
Model.plot_model(force_scale=None)
, must befloat
.
What's Changed
- Plots: Remove
config
-argument (always show deformed configuration except forinc=0
) by @adtzlr in #42
Full Changelog: v1.0.4...v2.0.0
v1.0.4
[1.0.4] - 2023-05-03
Changed
- Change default config from
Model.plot_model(config="both")
toModel.plot_model(config="deformed")
. - Change default config from
Model.plot_movie(config="both")
toModel.plot_movie(config="deformed")
. - Pass optional keyword-arguments (like
fps
orduration
) to the underlyingpng_to_gif(**kwargs)
-call insideModel.plot_movie(**kwargs)
.
Fixed
- Fix overlapping title and text in
Model.plot_model()
andModel.plot_movie()
: Change relative position of the force-scale text box intools.plot_utilities.p_model()
fromax.text2D(0.3, 1.05, verticalalignment="top")
toax.text2D(0.5, 0.95, verticalalignment="top", horizontalalignment="center")
. Now identical arguments for calling 2D (ax.text()
) and 3D (ax.text2D()
) are used. - Don't pass
fps
toimagio.mimwrite()
(use the default settings instead).
What's Changed
- Fix plots: Change default config, fix overlap of texts and replace
fps
byduration
by @adtzlr in #40
Full Changelog: v1.0.3...v1.0.4
v1.0.3
[1.0.3] - 2023-03-15
Changed
- Simplify the source code: Remove unused lines of code, To-Do's from function or class docstrings, unify file docstrings. Trim the header printed by
Model
. - Build HTML and PDF logfiles only if
Settings.logpdf=True
(Pandoc and LaTeX must be installed). Otherwise, only the Markdown logfileanalysis.md
forModel(logfile=True)
is created (no Pandoc install required).