Rounded canister base
RoundedCanisterBase
RoundedCanisterBase(
tube_ext_diameter,
tube_thickness,
caps_height=8,
caps_outer_thickness=1,
clearance=0.1,
lid_shoulder=None,
)
Generates parts for a rounded tube
Parameters:
Name | Type | Description | Default |
---|---|---|---|
tube_ext_diameter
|
float
|
External tube diameter |
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/rounded_canister_base.py
cap_lid_hole_radius
instance-attribute
Radius of the screw hole in the cap. Includes clearance
cap_lid_hole_wall_thickness
instance-attribute
Thickness of the wall for the lid hole
cap_outer_thickness
instance-attribute
Input: caps outer thickness
lid_shoulder
instance-attribute
part_final_outer_radius
instance-attribute
Radius for the inside of the tube
tube_final_inner_radius
instance-attribute
External radius of the part
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/rounded_canister_base.py
lid
top
Creates the top part