Rectangle canister base
RectangleCanisterBase
RectangleCanisterBase(
tube_width,
tube_length,
tube_ext_corner_radius,
tube_thickness,
caps_height=8,
caps_outer_thickness=1,
clearance=0.1,
lid_shoulder=None,
)
Base class for all the rectangle canisters
Parameters:
Name | Type | Description | Default |
---|---|---|---|
tube_width
|
float
|
Tube width |
required |
tube_length
|
float
|
Tube length |
required |
tube_ext_corner_radius
|
float
|
External radius of the corners |
required |
tube_thickness
|
float
|
Tube thickness |
required |
caps_height
|
float
|
Height for the caps |
8
|
caps_outer_thickness
|
float
|
Thickness applied to the outside of the caps (and the bottom part) |
1
|
clearance
|
float
|
Clearance used in various parts of the assembly |
0.1
|
lid_shoulder
|
float | None
|
Lid shoulder to hide the lock. When |
None
|
Source code in src/bd_tube_boxes/rectangle_canister_base.py
cap_lid_hole_radius
instance-attribute
Radius of the lid hole in the cap. Includes clearance
cap_lid_hole_wall_thickness
instance-attribute
Thickness of the threaded part of the top cap
cap_outer_thickness
instance-attribute
Input: caps outer thickness
lid_shoulder
instance-attribute
Lid shoulder to hide the lock
part_final_outer_radius
instance-attribute
Radius for the inside of the tube
tube_ext_corner_radius
instance-attribute
Input: external radius of the corners
tube_final_outer_radius
instance-attribute
Radius for the outside of the tube
bottom
Creates the bottom part
Source code in src/bd_tube_boxes/rectangle_canister_base.py
lid
top
Creates the top part