pyleecan.Methods.GUI_Option.Unit.get_m2 module

get_m2(self, value)[source]

Convert the value the correct m² unit (to display in GUI)

Parameters:
  • self (Unit) – A Unit object

  • value (float) – Value to convert

Returns:

value – Value in the current unit

Return type:

float