# Tube

class Tube(length: str, ID: str, OD: str, material: str)

A tube.

# Arguments

  • length: The length of the tube as a str.
  • ID: The inner diameter of the tube as a str.
  • OD: The outer diameter of the tube as a str.
  • material: The material of the tube.

# Attributes

  • ID: The inner diameter of the tube, converted to a pint.Quantity.
  • length: The length of the tube, converted to a pint.Quantity.
  • material: The material of the tube.
  • OD: The outer diameter of the tube, converted to a pint.Quantity.
  • volume: The volume of the tube, as determined from the length and inner diameter, converted to a pint.Quantity.

# Raises

- ValueError: When the outer diameter is less than the inner diameter of the tube.