v1.5.0
smith120bh
released this
30 Oct 11:38
·
205 commits
to master
since this release
This release includes multiple breaking changes that had been building up in the backlog. Hopefully these changes will now make various parts of anaStruct make more intuitive sense, but some minor updates may be required to scripts or APIs that use this package as a result.
Breaking Changes
- Definitions of "y" and "z" axis directions have been made fully consistent throughout all user-facing and internal code. The "y" axis is now always the vertical, in-plane axis, and the "z" axis is now always the out-of-plane axis. Changes generally do not affect inputs, but several outputs are affected. For example, "Ty" and "phi_y" are now "Tz" and "phi_z", respectively.
insert_node()
now splits up an element in-place, rather than re-creating the entire system. As a consequence, the function will now no longer lose your loads and supports! While technically breaking behaviour, this is probably also more intuitive behaviour.get_element_result_range()
now by default returns the maximum absolute value of the given unit along the entire length of each element, rather than the first mesh value. A new optional parameter calledminmax
can customise this behaviour to alternatively return the "min", "max", or "both".get_node_results_system()
andget_node_displacements()
now return a list of dictionaries rather than a list of long tuples by default or whennode_id=0
. This now mirrors the behaviour of theget_element_result*()
functions, and should be easier to read.
What's Changed
- Return min/max values with get_element_result_range() by @smith120bh in #212
- Return a list of dicts from get_node_results_system() & get_node_displacements() by @smith120bh in #213
- Rewrite insert_node() to manipulate the existing system by @smith120bh in #215
- Correctly split triangular q-loads in insert_node() by @smith120bh in #216
- Remove orphaned nodes in remove_element() by @smith120bh in #217
- Fix show_results() plotting by @smith120bh in #218
- Clean up all y and z coordinates by @smith120bh in #219
Full Changelog: release-v1.4.4...release-v1.5.0