pyleecan.Functions.init_environment module

save_config_dict(config_dict)[source]

update the config file with config_dict values

Parameters:

config_dict (dict) – new values to put in the config file

init_user_dir()[source]

Initialize the USER DIR with the default files

update_user_dir()[source]

Initialize the USER DIR with the default files

init_config_dict()[source]

Create the default config dict and save it in USER_DIR

get_config_dict()[source]

Return the config dict (update with default to make sure all parameter exist)

Returns:

config_dict – dictionary gather the parameters of the software

Return type:

dict

update_dict(source, update)[source]