Migration guide
Unreleased
0.3.0 to 0.3.1
No breaking change, you can update safely
0.2.0 to 0.3.0
- Fix your imports:
- rename
from bd_beams_and_bars.profiles.fl
tofrom bd_beams_and_bars.profiles.flat_bars
- rename
from bd_beams_and_bars.profiles.r
tofrom bd_beams_and_bars.profiles.round_bars
0.1.1 to 0.2.0
There was a big rework of the profile classes:
- *Size
where moved in a Standards
namespace and the Size
suffix was dropped. Import them with either:
# Instead of:
from bd_beams_and_bars.profiles.fl import FLSize, LFLSize
# do
from bd_beams_and_bars.profiles.fl import Standards
# Or, if you need multiple standards in the same file
from bd_beams_and_bars.profiles.fl import Standards as FLStandards
from bd_beams_and_bars.profiles.ipe import Standards as IPEStandards
Standards
class: Standards.FL.<variant>
instead of FLSize.variant
- *Section
: All these classes are now Section
for consistency. Import and use them with:
# Instead of:
from bd_beams_and_bars.profiles.fl import FLSize, FLSection
# do
from bd_beams_and_bars.profiles.fl import Standards, Section
# Usage:
Section(Standards.FL.<variant>)
*Beam
, *Bar
: All these classes are now Bar
for consistency. Import and use them with:
# Instead of:
from bd_beams_and_bars.profiles.fl import FLSize, FLBar
# do
from bd_beams_and_bars.profiles.fl import Standards, Bar
# Usage:
Bar(Standards.FL.<variant>, 1000)
*Definition
: All these classes are now Definition
for consistency Import and use them with:
# Instead of:
from bd_beams_and_bars.profiles.fl import FLDefinition, FLSection
# do
from bd_beams_and_bars.profiles.fl import Definition, Section
# Usage:
Section(Definition(h=11, w=51))
0.1.0 to 0.1.1
Only linting/formatting and documentation changes; nothing to do.