pyleecan.Generator.run_generate_classes module

generate_code(root_path, gen_dict=None, soft_name='pyleecan', is_log=True)[source]

Generate the package Classes code according to doc in root_path

Parameters:
  • root_path (str) – Path to the main folder of the package

  • gen_dict (dict) – Generation dictionary (contains all the csv data)

  • soft_name (str) – Name of the software to generate

  • is_log (bool) – True to add the log related code (get_logger…)

Return type:

None