Skip to content

Migration guide

Unreleased

From 0.4.0 to 0.5.0

  • Change imports of rounded_canister.RoundedCanister to rounded_canister_threaded.RoundedCanisterThreaded
  • Change imports of rectangle_canister.RectangleCanister to rectangle_canister_threaded.RectangleCanisterThreaded
  • Change imports of screw_lid.ScrewLid to threaded_lid.ThreadedLid
  • On all models:
  • rename method screw() to lid()
  • rename all properties and method argument screw_hole_wall_thickness to cap_lid_hole_wall_thickness
  • rename all properties and method argument cap_screw_hole_radius to cap_lid_hole_radius
  • rename all properties and method argument screw_shoulder to lid_shoulder
  • rename method argument screw_shoulder to lid_shoulder
  • On *CanisterThreaded:
  • rename property screw_pitch to thread_pitch

From 0.3.0 to 0.4.0

No notable change in the API

Note that the threads created with v0.3 are incompatible with pieces created with 0.4.

From 0.2.1 to 0.3.0

  • Canister moved and was renamed. Change your imports and calls:
  • import Canister from bd_tube_boxes.canister to import RoundedCanister from bd_tube_boxes.rounded_canister
  • Canister(...) to RoundedCanister(...)

From 0.2.0 to 0.2.1

No notable change

From 0.1.1 to 0.2.0

  • Fix the imports:
    # Change from:
    from bd_tube_boxes.box import Box
    # to
    from bd_tube_boxes.canister import Canister
    

From 0.1.0 to 0.1.1

No notable change