pyfemtet 0.9.5__py3-none-any.whl → 1.0.0b0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pyfemtet might be problematic. Click here for more details.
- pyfemtet/__init__.py +6 -1
- pyfemtet/_i18n/1. make_pot_and_update_po.bat +8 -0
- pyfemtet/_i18n/2. build_mo.bat +5 -0
- pyfemtet/_i18n/__init__.py +4 -0
- pyfemtet/_i18n/babel.cfg +2 -0
- pyfemtet/_i18n/i18n.py +37 -0
- pyfemtet/_i18n/locales/ja/LC_MESSAGES/messages.mo +0 -0
- pyfemtet/_i18n/locales/ja/LC_MESSAGES/messages.po +1020 -0
- pyfemtet/_i18n/locales/messages.pot +987 -0
- pyfemtet/{_message → _i18n}/messages.py +128 -41
- pyfemtet/_util/closing.py +19 -0
- pyfemtet/_util/dask_util.py +89 -7
- pyfemtet/_util/df_util.py +29 -0
- pyfemtet/_util/excel_macro_util.py +8 -3
- pyfemtet/_util/excel_parse_util.py +43 -23
- pyfemtet/_util/femtet_access_inspection.py +120 -0
- pyfemtet/{_femtet_config_util/autosave.py → _util/femtet_autosave.py} +7 -0
- pyfemtet/_util/femtet_exit.py +105 -0
- pyfemtet/_util/femtet_version.py +20 -0
- pyfemtet/_util/helper.py +94 -0
- pyfemtet/_util/process_util.py +107 -0
- pyfemtet/_util/str_enum.py +44 -0
- pyfemtet/core.py +15 -47
- pyfemtet/dispatch_extensions/__init__.py +8 -11
- pyfemtet/dispatch_extensions/_impl.py +42 -198
- pyfemtet/logger/__init__.py +8 -1
- pyfemtet/logger/_impl.py +5 -6
- pyfemtet/opt/__init__.py +3 -17
- pyfemtet/opt/exceptions.py +45 -0
- pyfemtet/opt/femopt.py +608 -0
- pyfemtet/opt/history/__init__.py +11 -0
- pyfemtet/opt/history/_history.py +1404 -0
- pyfemtet/opt/history/_hypervolume.py +169 -0
- pyfemtet/opt/history/_optimality.py +79 -0
- pyfemtet/opt/interface/__init__.py +17 -24
- pyfemtet/opt/interface/_base_interface.py +222 -0
- pyfemtet/opt/interface/_excel_interface/__init__.py +3 -0
- pyfemtet/opt/interface/_excel_interface/debug-excel-interface.xlsm +0 -0
- pyfemtet/opt/interface/_excel_interface/excel_interface.py +999 -0
- pyfemtet/opt/interface/_femtet_interface/__init__.py +3 -0
- pyfemtet/opt/interface/{_femtet_parametric.py → _femtet_interface/_femtet_parametric.py} +20 -12
- pyfemtet/opt/interface/{_femtet.py → _femtet_interface/femtet_interface.py} +505 -349
- pyfemtet/opt/interface/_femtet_with_nx_interface/__init__.py +5 -0
- pyfemtet/opt/interface/_femtet_with_nx_interface/femtet_with_nx_interface.py +230 -0
- pyfemtet/opt/interface/_femtet_with_nx_interface/model1.prt +0 -0
- pyfemtet/opt/interface/_femtet_with_nx_interface/model1.x_t +98 -0
- pyfemtet/opt/interface/{_femtet_with_nx → _femtet_with_nx_interface}/update_model.py +1 -3
- pyfemtet/opt/interface/_femtet_with_solidworks/__init__.py +5 -0
- pyfemtet/opt/interface/_femtet_with_solidworks/femtet_with_solidworks_interface.py +122 -0
- pyfemtet/opt/interface/_solidworks_interface/__init__.py +5 -0
- pyfemtet/opt/interface/_solidworks_interface/solidworks_interface.py +206 -0
- pyfemtet/opt/interface/_surrogate_model_interface/__init__.py +8 -0
- pyfemtet/opt/interface/_surrogate_model_interface/base_surrogate_interface.py +150 -0
- pyfemtet/opt/interface/_surrogate_model_interface/botorch_interface.py +298 -0
- pyfemtet/opt/interface/_surrogate_model_interface/debug-pof-botorch.reccsv +18 -0
- pyfemtet/opt/interface/_with_excel_settings/__init__.py +61 -0
- pyfemtet/opt/interface/_with_excel_settings/with_excel_settings.py +134 -0
- pyfemtet/opt/meta_script/YAML_Generator.xlsm +0 -0
- pyfemtet/opt/meta_script/__main__.py +58 -36
- pyfemtet/opt/optimizer/__init__.py +7 -9
- pyfemtet/opt/optimizer/_base_optimizer.py +885 -0
- pyfemtet/opt/optimizer/optuna_optimizer/__init__.py +9 -0
- pyfemtet/opt/optimizer/optuna_optimizer/_optuna_attribute.py +73 -0
- pyfemtet/opt/optimizer/optuna_optimizer/_optuna_optimizer.py +678 -0
- pyfemtet/opt/optimizer/optuna_optimizer/_pof_botorch/__init__.py +7 -0
- pyfemtet/opt/optimizer/optuna_optimizer/_pof_botorch/debug-pof-botorch.reccsv +18 -0
- pyfemtet/opt/optimizer/optuna_optimizer/_pof_botorch/enable_nonlinear_constraint.py +244 -0
- pyfemtet/opt/optimizer/optuna_optimizer/_pof_botorch/pof_botorch_sampler.py +1249 -0
- pyfemtet/opt/optimizer/optuna_optimizer/wat_ex14_parametric_jp.femprj +0 -0
- pyfemtet/opt/optimizer/scipy_optimizer/__init__.py +1 -0
- pyfemtet/opt/optimizer/scipy_optimizer/_scipy_optimizer.py +364 -0
- pyfemtet/opt/prediction/__init__.py +7 -0
- pyfemtet/opt/prediction/_botorch_utils.py +133 -0
- pyfemtet/opt/prediction/_gpytorch_modules_extension.py +142 -0
- pyfemtet/opt/prediction/_helper.py +155 -0
- pyfemtet/opt/prediction/_model.py +118 -0
- pyfemtet/opt/problem/problem.py +304 -0
- pyfemtet/opt/problem/variable_manager/__init__.py +20 -0
- pyfemtet/opt/problem/variable_manager/_string_as_expression.py +115 -0
- pyfemtet/opt/problem/variable_manager/_variable_manager.py +295 -0
- pyfemtet/opt/visualization/history_viewer/__main__.py +5 -0
- pyfemtet/opt/visualization/{_base.py → history_viewer/_base_application.py} +18 -13
- pyfemtet/opt/visualization/history_viewer/_common_pages.py +150 -0
- pyfemtet/opt/visualization/{_complex_components → history_viewer/_complex_components}/alert_region.py +10 -5
- pyfemtet/opt/visualization/{_complex_components → history_viewer/_complex_components}/control_femtet.py +16 -13
- pyfemtet/opt/visualization/{_complex_components → history_viewer/_complex_components}/main_graph.py +117 -47
- pyfemtet/opt/visualization/{_complex_components → history_viewer/_complex_components}/pm_graph.py +159 -138
- pyfemtet/opt/visualization/history_viewer/_process_monitor/_application.py +173 -0
- pyfemtet/opt/visualization/history_viewer/_process_monitor/_pages.py +291 -0
- pyfemtet/opt/visualization/{_wrapped_components → history_viewer/_wrapped_components}/dbc.py +1 -1
- pyfemtet/opt/visualization/{_wrapped_components → history_viewer/_wrapped_components}/dcc.py +1 -1
- pyfemtet/opt/visualization/{_wrapped_components → history_viewer/_wrapped_components}/html.py +1 -1
- pyfemtet/opt/visualization/history_viewer/result_viewer/__main__.py +5 -0
- pyfemtet/opt/visualization/{result_viewer/application.py → history_viewer/result_viewer/_application.py} +6 -6
- pyfemtet/opt/visualization/{result_viewer/pages.py → history_viewer/result_viewer/_pages.py} +106 -82
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08.csv +18 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08.db +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8.log +45 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_1.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_1.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_10.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_10.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_11.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_11.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_12.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_12.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_13.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_13.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_14.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_14.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_15.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_15.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_16.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_16.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_17.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_17.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_18.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_18.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_19.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_19.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_2.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_2.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_20.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_20.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_3.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_3.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_4.bgr +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_4.bnd +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_4.btr +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_4.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_4.mtl +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_4.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_4.prm +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_5.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_5.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_6.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_6.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_7.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_7.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_8.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_8.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_9.jpg +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.Results/ex8_trial_9.pdt +0 -0
- pyfemtet/opt/visualization/history_viewer/result_viewer/tutorial_files/tutorial_gau_ex08_parametric.femprj +0 -0
- pyfemtet/opt/visualization/plotter/main_figure_creator.py +536 -0
- pyfemtet/opt/visualization/plotter/pm_graph_creator.py +359 -0
- pyfemtet/opt/worker_status.py +120 -0
- {pyfemtet-0.9.5.dist-info → pyfemtet-1.0.0b0.dist-info}/METADATA +23 -24
- pyfemtet-1.0.0b0.dist-info/RECORD +172 -0
- pyfemtet-1.0.0b0.dist-info/entry_points.txt +3 -0
- pyfemtet/_femtet_config_util/exit.py +0 -59
- pyfemtet/_message/1. make_pot.bat +0 -11
- pyfemtet/_message/2. make_mo.bat +0 -6
- pyfemtet/_message/__init__.py +0 -5
- pyfemtet/_message/babel.cfg +0 -2
- pyfemtet/_message/locales/ja/LC_MESSAGES/messages.mo +0 -0
- pyfemtet/_message/locales/ja/LC_MESSAGES/messages.po +0 -570
- pyfemtet/_message/locales/messages.pot +0 -551
- pyfemtet/_warning.py +0 -87
- pyfemtet/brep/_impl.py +0 -18
- pyfemtet/opt/_femopt.py +0 -1007
- pyfemtet/opt/_femopt_core.py +0 -1169
- pyfemtet/opt/_test_utils/control_femtet.py +0 -39
- pyfemtet/opt/_test_utils/hyper_sphere.py +0 -24
- pyfemtet/opt/_test_utils/record_history.py +0 -130
- pyfemtet/opt/advanced_samples/excel_ui/(ref) original_project.femprj +0 -0
- pyfemtet/opt/advanced_samples/excel_ui/femtet-macro.xlsm +0 -0
- pyfemtet/opt/advanced_samples/excel_ui/pyfemtet-core.py +0 -291
- pyfemtet/opt/advanced_samples/excel_ui/test-pyfemtet-core.cmd +0 -22
- pyfemtet/opt/advanced_samples/restart/gal_ex13_parametric.femprj +0 -0
- pyfemtet/opt/advanced_samples/restart/gal_ex13_parametric_restart.py +0 -99
- pyfemtet/opt/advanced_samples/restart/gal_ex13_parametric_restart_jp.py +0 -102
- pyfemtet/opt/advanced_samples/surrogate_model/gal_ex13_create_training_data.py +0 -60
- pyfemtet/opt/advanced_samples/surrogate_model/gal_ex13_create_training_data_jp.py +0 -57
- pyfemtet/opt/advanced_samples/surrogate_model/gal_ex13_optimize_with_surrogate.py +0 -100
- pyfemtet/opt/advanced_samples/surrogate_model/gal_ex13_optimize_with_surrogate_jp.py +0 -90
- pyfemtet/opt/advanced_samples/surrogate_model/gal_ex13_parametric.femprj +0 -0
- pyfemtet/opt/interface/_base.py +0 -101
- pyfemtet/opt/interface/_excel_interface.py +0 -984
- pyfemtet/opt/interface/_femtet_excel.py +0 -141
- pyfemtet/opt/interface/_femtet_with_nx/__init__.py +0 -3
- pyfemtet/opt/interface/_femtet_with_nx/_interface.py +0 -178
- pyfemtet/opt/interface/_femtet_with_sldworks.py +0 -298
- pyfemtet/opt/interface/_surrogate/__init__.py +0 -5
- pyfemtet/opt/interface/_surrogate/_base.py +0 -129
- pyfemtet/opt/interface/_surrogate/_chaospy.py +0 -71
- pyfemtet/opt/interface/_surrogate/_singletaskgp.py +0 -71
- pyfemtet/opt/interface/_surrogate_excel.py +0 -102
- pyfemtet/opt/optimizer/_base.py +0 -376
- pyfemtet/opt/optimizer/_optuna/_botorch_patch/enable_nonlinear_constraint.py +0 -220
- pyfemtet/opt/optimizer/_optuna/_optuna.py +0 -434
- pyfemtet/opt/optimizer/_optuna/_pof_botorch.py +0 -1914
- pyfemtet/opt/optimizer/_scipy.py +0 -159
- pyfemtet/opt/optimizer/_scipy_scalar.py +0 -127
- pyfemtet/opt/optimizer/parameter.py +0 -113
- pyfemtet/opt/prediction/_base.py +0 -61
- pyfemtet/opt/prediction/single_task_gp.py +0 -119
- pyfemtet/opt/samples/femprj_sample/ParametricIF.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample/ParametricIF.py +0 -29
- pyfemtet/opt/samples/femprj_sample/ParametricIF_test_result.reccsv +0 -13
- pyfemtet/opt/samples/femprj_sample/cad_ex01_NX.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample/cad_ex01_NX.prt +0 -0
- pyfemtet/opt/samples/femprj_sample/cad_ex01_NX.py +0 -135
- pyfemtet/opt/samples/femprj_sample/cad_ex01_NX_test_result.reccsv +0 -23
- pyfemtet/opt/samples/femprj_sample/cad_ex01_SW.SLDPRT +0 -0
- pyfemtet/opt/samples/femprj_sample/cad_ex01_SW.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample/cad_ex01_SW.py +0 -131
- pyfemtet/opt/samples/femprj_sample/cad_ex01_SW_test_result.reccsv +0 -23
- pyfemtet/opt/samples/femprj_sample/constrained_pipe.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample/constrained_pipe.py +0 -96
- pyfemtet/opt/samples/femprj_sample/constrained_pipe_test_result.reccsv +0 -13
- pyfemtet/opt/samples/femprj_sample/gal_ex58_parametric.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample/gal_ex58_parametric.py +0 -74
- pyfemtet/opt/samples/femprj_sample/gal_ex58_parametric_test_result.reccsv +0 -13
- pyfemtet/opt/samples/femprj_sample/gau_ex08_parametric.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample/gau_ex08_parametric.py +0 -58
- pyfemtet/opt/samples/femprj_sample/gau_ex08_parametric_test_result.reccsv +0 -23
- pyfemtet/opt/samples/femprj_sample/gau_ex12_parametric.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample/gau_ex12_parametric.py +0 -52
- pyfemtet/opt/samples/femprj_sample/her_ex40_parametric.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample/her_ex40_parametric.py +0 -138
- pyfemtet/opt/samples/femprj_sample/her_ex40_parametric_test_result.reccsv +0 -18
- pyfemtet/opt/samples/femprj_sample/paswat_ex1_parametric.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample/paswat_ex1_parametric.py +0 -60
- pyfemtet/opt/samples/femprj_sample/paswat_ex1_parametric_parallel.py +0 -61
- pyfemtet/opt/samples/femprj_sample/paswat_ex1_parametric_test_result.reccsv +0 -18
- pyfemtet/opt/samples/femprj_sample/wat_ex14_parametric.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample/wat_ex14_parametric.py +0 -58
- pyfemtet/opt/samples/femprj_sample/wat_ex14_parametric_parallel.py +0 -58
- pyfemtet/opt/samples/femprj_sample/wat_ex14_parametric_test_result.reccsv +0 -18
- pyfemtet/opt/samples/femprj_sample_jp/ParametricIF_jp.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample_jp/ParametricIF_jp.py +0 -29
- pyfemtet/opt/samples/femprj_sample_jp/cad_ex01_NX_jp.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample_jp/cad_ex01_NX_jp.py +0 -129
- pyfemtet/opt/samples/femprj_sample_jp/cad_ex01_SW_jp.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample_jp/cad_ex01_SW_jp.py +0 -125
- pyfemtet/opt/samples/femprj_sample_jp/constrained_pipe_jp.py +0 -93
- pyfemtet/opt/samples/femprj_sample_jp/gal_ex58_parametric_jp.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample_jp/gal_ex58_parametric_jp.py +0 -70
- pyfemtet/opt/samples/femprj_sample_jp/gau_ex08_parametric_jp.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample_jp/gau_ex08_parametric_jp.py +0 -57
- pyfemtet/opt/samples/femprj_sample_jp/gau_ex12_parametric_jp.py +0 -52
- pyfemtet/opt/samples/femprj_sample_jp/her_ex40_parametric_jp.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample_jp/her_ex40_parametric_jp.py +0 -138
- pyfemtet/opt/samples/femprj_sample_jp/paswat_ex1_parametric_jp.femprj +0 -0
- pyfemtet/opt/samples/femprj_sample_jp/paswat_ex1_parametric_jp.py +0 -58
- pyfemtet/opt/samples/femprj_sample_jp/paswat_ex1_parametric_parallel_jp.py +0 -59
- pyfemtet/opt/samples/femprj_sample_jp/wat_ex14_parametric_jp.py +0 -56
- pyfemtet/opt/samples/femprj_sample_jp/wat_ex14_parametric_parallel_jp.py +0 -56
- pyfemtet/opt/visualization/_complex_components/main_figure_creator.py +0 -332
- pyfemtet/opt/visualization/_complex_components/pm_graph_creator.py +0 -201
- pyfemtet/opt/visualization/_process_monitor/application.py +0 -226
- pyfemtet/opt/visualization/_process_monitor/pages.py +0 -406
- pyfemtet/opt/visualization/_wrapped_components/__init__.py +0 -0
- pyfemtet/opt/visualization/result_viewer/__init__.py +0 -0
- pyfemtet-0.9.5.dist-info/RECORD +0 -158
- pyfemtet-0.9.5.dist-info/entry_points.txt +0 -3
- /pyfemtet/{_femtet_config_util → opt/problem}/__init__.py +0 -0
- /pyfemtet/{brep → opt/visualization/history_viewer}/__init__.py +0 -0
- /pyfemtet/opt/{_test_utils → visualization/history_viewer/_complex_components}/__init__.py +0 -0
- /pyfemtet/opt/{optimizer/_optuna → visualization/history_viewer/_process_monitor}/__init__.py +0 -0
- /pyfemtet/opt/{optimizer/_optuna/_botorch_patch → visualization/history_viewer/_wrapped_components}/__init__.py +0 -0
- /pyfemtet/opt/visualization/{_wrapped_components → history_viewer/_wrapped_components}/str_enum.py +0 -0
- /pyfemtet/opt/visualization/{result_viewer → history_viewer/result_viewer}/.gitignore +0 -0
- /pyfemtet/opt/visualization/{_complex_components → history_viewer/result_viewer}/__init__.py +0 -0
- /pyfemtet/opt/visualization/{_process_monitor → plotter}/__init__.py +0 -0
- /pyfemtet/opt/{samples/femprj_sample_jp/wat_ex14_parametric_jp.femprj → wat_ex14_parametric_jp.femprj} +0 -0
- {pyfemtet-0.9.5.dist-info → pyfemtet-1.0.0b0.dist-info}/LICENSE +0 -0
- {pyfemtet-0.9.5.dist-info → pyfemtet-1.0.0b0.dist-info}/LICENSE_THIRD_PARTY.txt +0 -0
- {pyfemtet-0.9.5.dist-info → pyfemtet-1.0.0b0.dist-info}/WHEEL +0 -0
|
@@ -1,551 +0,0 @@
|
|
|
1
|
-
# Translations template for PROJECT.
|
|
2
|
-
# Copyright (C) 2025 ORGANIZATION
|
|
3
|
-
# This file is distributed under the same license as the PROJECT project.
|
|
4
|
-
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
|
|
5
|
-
#
|
|
6
|
-
#, fuzzy
|
|
7
|
-
msgid ""
|
|
8
|
-
msgstr ""
|
|
9
|
-
"Project-Id-Version: PROJECT VERSION\n"
|
|
10
|
-
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
|
11
|
-
"POT-Creation-Date: 2025-03-05 12:41+0900\n"
|
|
12
|
-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
13
|
-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
|
-
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
15
|
-
"MIME-Version: 1.0\n"
|
|
16
|
-
"Content-Type: text/plain; charset=utf-8\n"
|
|
17
|
-
"Content-Transfer-Encoding: 8bit\n"
|
|
18
|
-
"Generated-By: Babel 2.17.0\n"
|
|
19
|
-
|
|
20
|
-
#: pyfemtet/_message/messages.py:30
|
|
21
|
-
msgid "hello!"
|
|
22
|
-
msgstr ""
|
|
23
|
-
|
|
24
|
-
#: pyfemtet/_message/messages.py:35
|
|
25
|
-
msgid "Press enter to quit..."
|
|
26
|
-
msgstr ""
|
|
27
|
-
|
|
28
|
-
#: pyfemtet/_message/messages.py:38
|
|
29
|
-
msgid "The magnitude relationship is incorrect."
|
|
30
|
-
msgstr ""
|
|
31
|
-
|
|
32
|
-
#: pyfemtet/_message/messages.py:39
|
|
33
|
-
msgid "The direction of the objective function must be 'minimize', 'maximize' or a number. "
|
|
34
|
-
msgstr ""
|
|
35
|
-
|
|
36
|
-
#: pyfemtet/_message/messages.py:40
|
|
37
|
-
msgid "The variable name, object name, or constraint name contains characters that cannot be encoded. Do not use environment-dependent characters."
|
|
38
|
-
msgstr ""
|
|
39
|
-
|
|
40
|
-
#: pyfemtet/_message/messages.py:41
|
|
41
|
-
msgid "The running configuration does not match the configuration in the csv file."
|
|
42
|
-
msgstr ""
|
|
43
|
-
|
|
44
|
-
#: pyfemtet/_message/messages.py:44
|
|
45
|
-
msgid "Please specify initial_value."
|
|
46
|
-
msgstr ""
|
|
47
|
-
|
|
48
|
-
#: pyfemtet/_message/messages.py:45
|
|
49
|
-
msgid "Constraint functions are evaluated before analysis is performed, so do not access Femtet.Gogh. If you want your constraints to include values after analysis is performed, set the `strict` argument to False."
|
|
50
|
-
msgstr ""
|
|
51
|
-
|
|
52
|
-
#: pyfemtet/_message/messages.py:49
|
|
53
|
-
msgid "History csv file is in use and cannot be written to. Please free this file before exiting the program, otherwise history data will be lost."
|
|
54
|
-
msgstr ""
|
|
55
|
-
|
|
56
|
-
#: pyfemtet/_message/messages.py:52
|
|
57
|
-
msgid "Optimization finished. Results were saved in following:"
|
|
58
|
-
msgstr ""
|
|
59
|
-
|
|
60
|
-
#: pyfemtet/_message/messages.py:53
|
|
61
|
-
msgid "No bounds specified."
|
|
62
|
-
msgstr ""
|
|
63
|
-
|
|
64
|
-
#: pyfemtet/_message/messages.py:54
|
|
65
|
-
msgid "The optimization is now complete. You can view the results on the monitor until you press Enter to exit the program."
|
|
66
|
-
msgstr ""
|
|
67
|
-
|
|
68
|
-
#: pyfemtet/_message/messages.py:57
|
|
69
|
-
msgid "\"%UGII_BASE_DIR%\\NXBIN\\run_journal.exe\" is not found. Make sure you have NX installed and the environment variable UGII_BASE_DIR is set."
|
|
70
|
-
msgstr ""
|
|
71
|
-
|
|
72
|
-
#: pyfemtet/_message/messages.py:58
|
|
73
|
-
msgid "Model reconstruction failed."
|
|
74
|
-
msgstr ""
|
|
75
|
-
|
|
76
|
-
#: pyfemtet/_message/messages.py:59
|
|
77
|
-
msgid "Model update failed."
|
|
78
|
-
msgstr ""
|
|
79
|
-
|
|
80
|
-
#: pyfemtet/_message/messages.py:60
|
|
81
|
-
msgid "It was detected that the configuration of Femtet python macro constants has not been completed. The configuration was done automatically (python -m win32com.client.makepy FemtetMacro). Please restart the program. If the error persists, please run \"py -m win32com.client.makepy FemtetMacro\" or \"python -m win32com.client.makepy FemtetMacro\" on the command prompt."
|
|
82
|
-
msgstr ""
|
|
83
|
-
|
|
84
|
-
#: pyfemtet/_message/messages.py:61
|
|
85
|
-
msgid "Failed to connect to Femtet."
|
|
86
|
-
msgstr ""
|
|
87
|
-
|
|
88
|
-
#: pyfemtet/_message/messages.py:62
|
|
89
|
-
msgid "The Femtet process crashed and could not be restarted successfully."
|
|
90
|
-
msgstr ""
|
|
91
|
-
|
|
92
|
-
#: pyfemtet/_message/messages.py:63
|
|
93
|
-
msgid "An abnormal termination of the Femtet process has been detected. Recovery will be attempted."
|
|
94
|
-
msgstr ""
|
|
95
|
-
|
|
96
|
-
#: pyfemtet/_message/messages.py:64
|
|
97
|
-
msgid "Femtet has been restarted and will perform analysis and attempt to recover."
|
|
98
|
-
msgstr ""
|
|
99
|
-
|
|
100
|
-
#: pyfemtet/_message/messages.py:65
|
|
101
|
-
msgid "If you specify 'new' as the 'connect_method' argument, set the 'femprj_path' argument to existing femprj file path."
|
|
102
|
-
msgstr ""
|
|
103
|
-
|
|
104
|
-
#: pyfemtet/_message/messages.py:66
|
|
105
|
-
msgid "The specified variable is not included in the Femtet analysis model. Note the capitalization of the variable."
|
|
106
|
-
msgstr ""
|
|
107
|
-
|
|
108
|
-
#: pyfemtet/_message/messages.py:67
|
|
109
|
-
msgid "The following APIs are not accessible: "
|
|
110
|
-
msgstr ""
|
|
111
|
-
|
|
112
|
-
#: pyfemtet/_message/messages.py:68
|
|
113
|
-
msgid "Macros may not be enabled in the installed version of Femtet. Please run the \"Enable Macros\" command from the start menu with administrator privileges in the same version of Femtet that is installed."
|
|
114
|
-
msgstr ""
|
|
115
|
-
|
|
116
|
-
#: pyfemtet/_message/messages.py:69
|
|
117
|
-
msgid "No analysis model is open"
|
|
118
|
-
msgstr ""
|
|
119
|
-
|
|
120
|
-
#: pyfemtet/_message/messages.py:70
|
|
121
|
-
msgid "The analysis model does not contain any variables."
|
|
122
|
-
msgstr ""
|
|
123
|
-
|
|
124
|
-
#: pyfemtet/_message/messages.py:71
|
|
125
|
-
msgid "Failed to update variables:"
|
|
126
|
-
msgstr ""
|
|
127
|
-
|
|
128
|
-
#: pyfemtet/_message/messages.py:72
|
|
129
|
-
msgid "The specified variable is not included in the analysis model and will be ignored."
|
|
130
|
-
msgstr ""
|
|
131
|
-
|
|
132
|
-
#: pyfemtet/_message/messages.py:73
|
|
133
|
-
msgid "Model history re-execute failed."
|
|
134
|
-
msgstr ""
|
|
135
|
-
|
|
136
|
-
#: pyfemtet/_message/messages.py:74
|
|
137
|
-
msgid "Model redraw failed."
|
|
138
|
-
msgstr ""
|
|
139
|
-
|
|
140
|
-
#: pyfemtet/_message/messages.py:75
|
|
141
|
-
msgid "Mesh generation failed"
|
|
142
|
-
msgstr ""
|
|
143
|
-
|
|
144
|
-
#: pyfemtet/_message/messages.py:76
|
|
145
|
-
msgid "Parametric solve failed"
|
|
146
|
-
msgstr ""
|
|
147
|
-
|
|
148
|
-
#: pyfemtet/_message/messages.py:77
|
|
149
|
-
msgid "Solve failed."
|
|
150
|
-
msgstr ""
|
|
151
|
-
|
|
152
|
-
#: pyfemtet/_message/messages.py:78
|
|
153
|
-
msgid "Open result failed."
|
|
154
|
-
msgstr ""
|
|
155
|
-
|
|
156
|
-
#: pyfemtet/_message/messages.py:79
|
|
157
|
-
msgid "Failed to close Femtet."
|
|
158
|
-
msgstr ""
|
|
159
|
-
|
|
160
|
-
#: pyfemtet/_message/messages.py:80
|
|
161
|
-
msgid "Failed to save result (.pdt) file."
|
|
162
|
-
msgstr ""
|
|
163
|
-
|
|
164
|
-
#: pyfemtet/_message/messages.py:81
|
|
165
|
-
msgid "Failed to save screenshot (.jpg)."
|
|
166
|
-
msgstr ""
|
|
167
|
-
|
|
168
|
-
#: pyfemtet/_message/messages.py:82
|
|
169
|
-
msgid "Screenshot (.jpg) is not found."
|
|
170
|
-
msgstr ""
|
|
171
|
-
|
|
172
|
-
#: pyfemtet/_message/messages.py:83
|
|
173
|
-
msgid "Failed to update model in solidworks."
|
|
174
|
-
msgstr ""
|
|
175
|
-
|
|
176
|
-
#: pyfemtet/_message/messages.py:84
|
|
177
|
-
msgid "Probability of feasibility is less than threshold."
|
|
178
|
-
msgstr ""
|
|
179
|
-
|
|
180
|
-
#: pyfemtet/_message/messages.py:85
|
|
181
|
-
msgid "Terminating Excel process..."
|
|
182
|
-
msgstr ""
|
|
183
|
-
|
|
184
|
-
#: pyfemtet/_message/messages.py:86
|
|
185
|
-
msgid "Excel process is terminated."
|
|
186
|
-
msgstr ""
|
|
187
|
-
|
|
188
|
-
#: pyfemtet/_message/messages.py:87
|
|
189
|
-
msgid "Restore Femtet setting of autosave."
|
|
190
|
-
msgstr ""
|
|
191
|
-
|
|
192
|
-
#: pyfemtet/_message/messages.py:88
|
|
193
|
-
msgid "Failed to make output from Femtet. Please check output settings of Parametric Analysis."
|
|
194
|
-
msgstr ""
|
|
195
|
-
|
|
196
|
-
#: pyfemtet/_message/messages.py:92
|
|
197
|
-
msgid "The following features are not supported by the specified optimization method. "
|
|
198
|
-
msgstr ""
|
|
199
|
-
|
|
200
|
-
#: pyfemtet/_message/messages.py:93
|
|
201
|
-
msgid "The parameter set does not match the one added with add_init_parameter."
|
|
202
|
-
msgstr ""
|
|
203
|
-
|
|
204
|
-
#: pyfemtet/_message/messages.py:94
|
|
205
|
-
msgid "An exception has occurred during FEM update. Current parameters are: "
|
|
206
|
-
msgstr ""
|
|
207
|
-
|
|
208
|
-
#: pyfemtet/_message/messages.py:95
|
|
209
|
-
msgid "The constraints were not satisfied for the following sets of variables:"
|
|
210
|
-
msgstr ""
|
|
211
|
-
|
|
212
|
-
#: pyfemtet/_message/messages.py:96
|
|
213
|
-
msgid "Current parameter set cannot update FEM and this optimization method cannot skip current parameter set. The optimization process will be terminated."
|
|
214
|
-
msgstr ""
|
|
215
|
-
|
|
216
|
-
#: pyfemtet/_message/messages.py:97
|
|
217
|
-
msgid "Optimization has been interrupted. Note that you cannot acquire the OptimizationResult in case of `trust-constr`, `TNC`, `SLSQP` or `COBYLA`."
|
|
218
|
-
msgstr ""
|
|
219
|
-
|
|
220
|
-
#: pyfemtet/_message/messages.py:98
|
|
221
|
-
msgid "You can use parameter constraint only with BoTorchSampler."
|
|
222
|
-
msgstr ""
|
|
223
|
-
|
|
224
|
-
#: pyfemtet/_message/messages.py:99
|
|
225
|
-
msgid "Scipy is deterministic, so whether you set a seed or not will not change the results."
|
|
226
|
-
msgstr ""
|
|
227
|
-
|
|
228
|
-
#: pyfemtet/_message/messages.py:100
|
|
229
|
-
msgid "Start to candidate new parameter set with constraints. This process may take a long time."
|
|
230
|
-
msgstr ""
|
|
231
|
-
|
|
232
|
-
#: pyfemtet/_message/messages.py:101
|
|
233
|
-
msgid "Updating FEM parameter during evaluating constraints take a long time. Please consider not to use FEM variables in constraint functions and set `update_fem` to False."
|
|
234
|
-
msgstr ""
|
|
235
|
-
|
|
236
|
-
#: pyfemtet/_message/messages.py:105
|
|
237
|
-
msgid "Connect to Femtet"
|
|
238
|
-
msgstr ""
|
|
239
|
-
|
|
240
|
-
#: pyfemtet/_message/messages.py:106
|
|
241
|
-
msgid "Analysis model name described in csv does not exist in project."
|
|
242
|
-
msgstr ""
|
|
243
|
-
|
|
244
|
-
#: pyfemtet/_message/messages.py:107
|
|
245
|
-
msgid "History csv is not read yet. Open your project manually."
|
|
246
|
-
msgstr ""
|
|
247
|
-
|
|
248
|
-
#: pyfemtet/_message/messages.py:108
|
|
249
|
-
msgid "Cannot read project data from csv. Open your project manually."
|
|
250
|
-
msgstr ""
|
|
251
|
-
|
|
252
|
-
#: pyfemtet/_message/messages.py:109
|
|
253
|
-
msgid ".femprj file described in csv is not found. Open your project manually."
|
|
254
|
-
msgstr ""
|
|
255
|
-
|
|
256
|
-
#: pyfemtet/_message/messages.py:110
|
|
257
|
-
msgid "Analysis model name is not specified. Open your model in the project manually."
|
|
258
|
-
msgstr ""
|
|
259
|
-
|
|
260
|
-
#: pyfemtet/_message/messages.py:112
|
|
261
|
-
msgid "Constraint"
|
|
262
|
-
msgstr ""
|
|
263
|
-
|
|
264
|
-
#: pyfemtet/_message/messages.py:113
|
|
265
|
-
msgid "feasible"
|
|
266
|
-
msgstr ""
|
|
267
|
-
|
|
268
|
-
#: pyfemtet/_message/messages.py:114
|
|
269
|
-
msgid "infeasible"
|
|
270
|
-
msgstr ""
|
|
271
|
-
|
|
272
|
-
#: pyfemtet/_message/messages.py:115
|
|
273
|
-
msgid "Optimality"
|
|
274
|
-
msgstr ""
|
|
275
|
-
|
|
276
|
-
#: pyfemtet/_message/messages.py:116
|
|
277
|
-
msgid "non dominated"
|
|
278
|
-
msgstr ""
|
|
279
|
-
|
|
280
|
-
#: pyfemtet/_message/messages.py:117
|
|
281
|
-
msgid "dominated"
|
|
282
|
-
msgstr ""
|
|
283
|
-
|
|
284
|
-
#: pyfemtet/_message/messages.py:118
|
|
285
|
-
msgid "Hypervolume Plot"
|
|
286
|
-
msgstr ""
|
|
287
|
-
|
|
288
|
-
#: pyfemtet/_message/messages.py:119
|
|
289
|
-
msgid "Objective Plot"
|
|
290
|
-
msgstr ""
|
|
291
|
-
|
|
292
|
-
#: pyfemtet/_message/messages.py:120
|
|
293
|
-
msgid "Multi Objective Pair Plot"
|
|
294
|
-
msgstr ""
|
|
295
|
-
|
|
296
|
-
#: pyfemtet/_message/messages.py:121
|
|
297
|
-
msgid "Succeeded trial number"
|
|
298
|
-
msgstr ""
|
|
299
|
-
|
|
300
|
-
#: pyfemtet/_message/messages.py:122
|
|
301
|
-
msgid "All solutions"
|
|
302
|
-
msgstr ""
|
|
303
|
-
|
|
304
|
-
#: pyfemtet/_message/messages.py:123
|
|
305
|
-
msgid "Transition of<br>optimal solutions"
|
|
306
|
-
msgstr ""
|
|
307
|
-
|
|
308
|
-
#: pyfemtet/_message/messages.py:124
|
|
309
|
-
msgid "Target value"
|
|
310
|
-
msgstr ""
|
|
311
|
-
|
|
312
|
-
#: pyfemtet/_message/messages.py:126
|
|
313
|
-
msgid "Objectives"
|
|
314
|
-
msgstr ""
|
|
315
|
-
|
|
316
|
-
#: pyfemtet/_message/messages.py:127
|
|
317
|
-
msgid "Objectives (all)"
|
|
318
|
-
msgstr ""
|
|
319
|
-
|
|
320
|
-
#: pyfemtet/_message/messages.py:129
|
|
321
|
-
msgid "Prediction Model"
|
|
322
|
-
msgstr ""
|
|
323
|
-
|
|
324
|
-
#: pyfemtet/_message/messages.py:130
|
|
325
|
-
msgid " Recalculate Model"
|
|
326
|
-
msgstr ""
|
|
327
|
-
|
|
328
|
-
#: pyfemtet/_message/messages.py:131
|
|
329
|
-
msgid " Redraw graph"
|
|
330
|
-
msgstr ""
|
|
331
|
-
|
|
332
|
-
#: pyfemtet/_message/messages.py:132
|
|
333
|
-
msgid "Parameter"
|
|
334
|
-
msgstr ""
|
|
335
|
-
|
|
336
|
-
#: pyfemtet/_message/messages.py:133
|
|
337
|
-
msgid "Parameter2"
|
|
338
|
-
msgstr ""
|
|
339
|
-
|
|
340
|
-
#: pyfemtet/_message/messages.py:134
|
|
341
|
-
msgid "Objective"
|
|
342
|
-
msgstr ""
|
|
343
|
-
|
|
344
|
-
#: pyfemtet/_message/messages.py:135
|
|
345
|
-
msgid "No history selected."
|
|
346
|
-
msgstr ""
|
|
347
|
-
|
|
348
|
-
#: pyfemtet/_message/messages.py:136
|
|
349
|
-
msgid "No FEM result (yet)."
|
|
350
|
-
msgstr ""
|
|
351
|
-
|
|
352
|
-
#: pyfemtet/_message/messages.py:137
|
|
353
|
-
msgid "Prediction model is not calculated yet."
|
|
354
|
-
msgstr ""
|
|
355
|
-
|
|
356
|
-
#: pyfemtet/_message/messages.py:138
|
|
357
|
-
msgid "Cannot select same parameter"
|
|
358
|
-
msgstr ""
|
|
359
|
-
|
|
360
|
-
#: pyfemtet/_message/messages.py:139
|
|
361
|
-
msgid "3D graph (two or more parameters required)"
|
|
362
|
-
msgstr ""
|
|
363
|
-
|
|
364
|
-
#: pyfemtet/_message/messages.py:141
|
|
365
|
-
msgid "Prediction Model of Objective"
|
|
366
|
-
msgstr ""
|
|
367
|
-
|
|
368
|
-
#: pyfemtet/_message/messages.py:142
|
|
369
|
-
msgid "prediction model"
|
|
370
|
-
msgstr ""
|
|
371
|
-
|
|
372
|
-
#: pyfemtet/_message/messages.py:143
|
|
373
|
-
msgid "std. dev. of model"
|
|
374
|
-
msgstr ""
|
|
375
|
-
|
|
376
|
-
#: pyfemtet/_message/messages.py:145
|
|
377
|
-
msgid "Progress"
|
|
378
|
-
msgstr ""
|
|
379
|
-
|
|
380
|
-
#: pyfemtet/_message/messages.py:146
|
|
381
|
-
msgid "Prediction"
|
|
382
|
-
msgstr ""
|
|
383
|
-
|
|
384
|
-
#: pyfemtet/_message/messages.py:147
|
|
385
|
-
msgid "Workers"
|
|
386
|
-
msgstr ""
|
|
387
|
-
|
|
388
|
-
#: pyfemtet/_message/messages.py:148
|
|
389
|
-
msgid "Details"
|
|
390
|
-
msgstr ""
|
|
391
|
-
|
|
392
|
-
#: pyfemtet/_message/messages.py:150
|
|
393
|
-
msgid "Optimization status will be shown here."
|
|
394
|
-
msgstr ""
|
|
395
|
-
|
|
396
|
-
#: pyfemtet/_message/messages.py:151
|
|
397
|
-
msgid "Auto-update graph"
|
|
398
|
-
msgstr ""
|
|
399
|
-
|
|
400
|
-
#: pyfemtet/_message/messages.py:152
|
|
401
|
-
msgid "Interrupt Optimization"
|
|
402
|
-
msgstr ""
|
|
403
|
-
|
|
404
|
-
#: pyfemtet/_message/messages.py:154
|
|
405
|
-
msgid "Result"
|
|
406
|
-
msgstr ""
|
|
407
|
-
|
|
408
|
-
#: pyfemtet/_message/messages.py:156
|
|
409
|
-
msgid "Open Result in Femtet"
|
|
410
|
-
msgstr ""
|
|
411
|
-
|
|
412
|
-
#: pyfemtet/_message/messages.py:157
|
|
413
|
-
msgid "Reconstruct Model"
|
|
414
|
-
msgstr ""
|
|
415
|
-
|
|
416
|
-
#: pyfemtet/_message/messages.py:158
|
|
417
|
-
msgid "Drag and drop or select csv file"
|
|
418
|
-
msgstr ""
|
|
419
|
-
|
|
420
|
-
#: pyfemtet/_message/messages.py:159
|
|
421
|
-
msgid "Connection to Femtet is not established. Launch Femtet and Open a project."
|
|
422
|
-
msgstr ""
|
|
423
|
-
|
|
424
|
-
#: pyfemtet/_message/messages.py:160
|
|
425
|
-
msgid "No result plot is selected."
|
|
426
|
-
msgstr ""
|
|
427
|
-
|
|
428
|
-
#: pyfemtet/_message/messages.py:161
|
|
429
|
-
msgid "The femprj file path in the history csv is not found or valid."
|
|
430
|
-
msgstr ""
|
|
431
|
-
|
|
432
|
-
#: pyfemtet/_message/messages.py:162
|
|
433
|
-
msgid "The model name in the history csv is not found."
|
|
434
|
-
msgstr ""
|
|
435
|
-
|
|
436
|
-
#: pyfemtet/_message/messages.py:163
|
|
437
|
-
msgid ".pdt file is not found. Please check the .Results folder. Note that .pdt file save mode depends on the `save_pdt` argument of FemtetInterface in optimization script(default to `all`)."
|
|
438
|
-
msgstr ""
|
|
439
|
-
|
|
440
|
-
#: pyfemtet/_message/messages.py:168
|
|
441
|
-
msgid "Failed to open "
|
|
442
|
-
msgstr ""
|
|
443
|
-
|
|
444
|
-
#: pyfemtet/_message/messages.py:169
|
|
445
|
-
msgid "Specified model is not in current project. Please check opened project. For example, not \"analysis model only\" but your .femprj file."
|
|
446
|
-
msgstr ""
|
|
447
|
-
|
|
448
|
-
#: pyfemtet/_message/messages.py:172
|
|
449
|
-
msgid ".femprj file path of the history csv is invalid. Please certify matching between csv and opening .femprj file."
|
|
450
|
-
msgstr ""
|
|
451
|
-
|
|
452
|
-
#: pyfemtet/_message/messages.py:173
|
|
453
|
-
msgid "Analysis model name of the history csv is invalid. Please certify matching between csv and opening analysis model."
|
|
454
|
-
msgstr ""
|
|
455
|
-
|
|
456
|
-
#: pyfemtet/_message/messages.py:174
|
|
457
|
-
msgid "Analysis model name of the history csv and opened in Femtet is inconsistent. Please certify matching between csv and opening analysis model."
|
|
458
|
-
msgstr ""
|
|
459
|
-
|
|
460
|
-
#: pyfemtet/_message/messages.py:175
|
|
461
|
-
msgid "tutorial mode"
|
|
462
|
-
msgstr ""
|
|
463
|
-
|
|
464
|
-
#: pyfemtet/_message/messages.py:176
|
|
465
|
-
msgid "Load Sample CSV"
|
|
466
|
-
msgstr ""
|
|
467
|
-
|
|
468
|
-
#: pyfemtet/_message/messages.py:177
|
|
469
|
-
msgid "Load CSV"
|
|
470
|
-
msgstr ""
|
|
471
|
-
|
|
472
|
-
#: pyfemtet/_message/messages.py:178
|
|
473
|
-
msgid "Open your optimization result. Then connecting to femtet will start automatically. Note that in tutorial mode, this button loads the ready-made sample csv and open sample femprj."
|
|
474
|
-
msgstr ""
|
|
475
|
-
|
|
476
|
-
#: pyfemtet/_message/messages.py:180
|
|
477
|
-
msgid "Main Graph"
|
|
478
|
-
msgstr ""
|
|
479
|
-
|
|
480
|
-
#: pyfemtet/_message/messages.py:181
|
|
481
|
-
msgid "Here the optimization history is shown. Each plot represents single FEM result. You can pick a result to open the corresponding result in Femtet. "
|
|
482
|
-
msgstr ""
|
|
483
|
-
|
|
484
|
-
#: pyfemtet/_message/messages.py:184
|
|
485
|
-
msgid "Open Result"
|
|
486
|
-
msgstr ""
|
|
487
|
-
|
|
488
|
-
#: pyfemtet/_message/messages.py:185
|
|
489
|
-
msgid "After pick a point in the main graph, This button shows the corresponding FEM result in Femtet."
|
|
490
|
-
msgstr ""
|
|
491
|
-
|
|
492
|
-
#: pyfemtet/_message/messages.py:187
|
|
493
|
-
msgid "Re-connect to Femtet."
|
|
494
|
-
msgstr ""
|
|
495
|
-
|
|
496
|
-
#: pyfemtet/_message/messages.py:188
|
|
497
|
-
msgid "Sample csv is not found. Please consider to re-install pyfemtet by `py -m pip install pyfemtet -U --force-reinstall`"
|
|
498
|
-
msgstr ""
|
|
499
|
-
|
|
500
|
-
#: pyfemtet/_message/messages.py:189
|
|
501
|
-
msgid "Sample femprj file is not found. Please consider to re-install pyfemtet by `py -m pip install pyfemtet -U --force-reinstall`"
|
|
502
|
-
msgstr ""
|
|
503
|
-
|
|
504
|
-
#: pyfemtet/_message/messages.py:190
|
|
505
|
-
msgid "Sample femprj result folder is not found. Please consider to re-install pyfemtet by `py -m pip install pyfemtet -U --force-reinstall`"
|
|
506
|
-
msgstr ""
|
|
507
|
-
|
|
508
|
-
#: pyfemtet/_message/messages.py:192
|
|
509
|
-
msgid "Loading data..."
|
|
510
|
-
msgstr ""
|
|
511
|
-
|
|
512
|
-
#: pyfemtet/_message/messages.py:193
|
|
513
|
-
msgid "Plots of objectives versus trials"
|
|
514
|
-
msgstr ""
|
|
515
|
-
|
|
516
|
-
#: pyfemtet/_message/messages.py:194
|
|
517
|
-
msgid "The vertical axis is the objective, and the horizontal axis is the number of trials."
|
|
518
|
-
msgstr ""
|
|
519
|
-
|
|
520
|
-
#: pyfemtet/_message/messages.py:195
|
|
521
|
-
msgid "Parallel coordinate plots"
|
|
522
|
-
msgstr ""
|
|
523
|
-
|
|
524
|
-
#: pyfemtet/_message/messages.py:196
|
|
525
|
-
msgid "The vertical axis is an objective or parameters, and one polyline indicates one result."
|
|
526
|
-
msgstr ""
|
|
527
|
-
|
|
528
|
-
#: pyfemtet/_message/messages.py:197
|
|
529
|
-
msgid "The heatmap of objectives"
|
|
530
|
-
msgstr ""
|
|
531
|
-
|
|
532
|
-
#: pyfemtet/_message/messages.py:198
|
|
533
|
-
msgid "The axes are parameters, and the color shows objective value."
|
|
534
|
-
msgstr ""
|
|
535
|
-
|
|
536
|
-
#: pyfemtet/_message/messages.py:199
|
|
537
|
-
msgid "The response of an objective versus one parameter"
|
|
538
|
-
msgstr ""
|
|
539
|
-
|
|
540
|
-
#: pyfemtet/_message/messages.py:200
|
|
541
|
-
msgid "The vertical axis is objective, and the horizontal axis is parameter."
|
|
542
|
-
msgstr ""
|
|
543
|
-
|
|
544
|
-
#: pyfemtet/_message/messages.py:201
|
|
545
|
-
msgid "The importance of parameters evaluated by fANOVA"
|
|
546
|
-
msgstr ""
|
|
547
|
-
|
|
548
|
-
#: pyfemtet/_message/messages.py:202
|
|
549
|
-
msgid "The normalized relative importance of parameters. Please note that the importance is calculated from the overall relationship of the input-output response, rather than from a specific solution."
|
|
550
|
-
msgstr ""
|
|
551
|
-
|
pyfemtet/_warning.py
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import warnings
|
|
2
|
-
from functools import wraps
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
def show_experimental_warning(feature_name):
|
|
6
|
-
warnings.warn(
|
|
7
|
-
f"The function '{feature_name}' is experimental and may change in the future.",
|
|
8
|
-
category=UserWarning,
|
|
9
|
-
stacklevel=2
|
|
10
|
-
)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
def experimental_feature(func):
|
|
14
|
-
|
|
15
|
-
@wraps(func)
|
|
16
|
-
def wrapper(*args, **kwargs):
|
|
17
|
-
show_experimental_warning(func.__name__)
|
|
18
|
-
return func(*args, **kwargs)
|
|
19
|
-
|
|
20
|
-
return wrapper
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
def experimental_class(cls):
|
|
24
|
-
|
|
25
|
-
class Wrapper(cls):
|
|
26
|
-
def __new__(cls, *args, **kwargs):
|
|
27
|
-
warnings.warn(
|
|
28
|
-
f"The class '{cls.__name__}' is experimental and may change in the future.",
|
|
29
|
-
category=UserWarning,
|
|
30
|
-
stacklevel=2
|
|
31
|
-
)
|
|
32
|
-
return super().__new__(cls)
|
|
33
|
-
|
|
34
|
-
Wrapper.__name__ = cls.__name__
|
|
35
|
-
Wrapper.__doc__ = cls.__doc__
|
|
36
|
-
return Wrapper
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
def changed_feature(version, additional_message=None):
|
|
40
|
-
|
|
41
|
-
def changed_feature_wrapper(func):
|
|
42
|
-
|
|
43
|
-
@wraps(func)
|
|
44
|
-
def wrapper(*args, **kwargs):
|
|
45
|
-
|
|
46
|
-
version_string = f'in version {version}' if version is not None else 'in recent update'
|
|
47
|
-
additional_message_string = ' ' + additional_message if additional_message is not None else ''
|
|
48
|
-
|
|
49
|
-
warnings.warn(
|
|
50
|
-
f"The behavior of function '{func.__name__}' is changed {version_string}." + additional_message_string,
|
|
51
|
-
category=UserWarning,
|
|
52
|
-
stacklevel=2
|
|
53
|
-
)
|
|
54
|
-
return func(*args, **kwargs)
|
|
55
|
-
|
|
56
|
-
return wrapper
|
|
57
|
-
|
|
58
|
-
return changed_feature_wrapper
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
if __name__ == '__main__':
|
|
62
|
-
|
|
63
|
-
# 使用例
|
|
64
|
-
@experimental_feature
|
|
65
|
-
def my_experimental_function():
|
|
66
|
-
print("This is an experimental function.")
|
|
67
|
-
|
|
68
|
-
class Sample:
|
|
69
|
-
|
|
70
|
-
def __init__(self):
|
|
71
|
-
show_experimental_warning("Sample")
|
|
72
|
-
|
|
73
|
-
@experimental_feature
|
|
74
|
-
def add(self, a, b):
|
|
75
|
-
return a + b
|
|
76
|
-
|
|
77
|
-
# 実行すると、警告が表示されます。
|
|
78
|
-
my_experimental_function()
|
|
79
|
-
sample = Sample()
|
|
80
|
-
print(sample.add(1, 2))
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
@changed_feature('0.1.0', 'See documentation of `Optimizer` for more details.')
|
|
84
|
-
def product(a, b):
|
|
85
|
-
return a * b
|
|
86
|
-
|
|
87
|
-
print(product(1, 2))
|
pyfemtet/brep/_impl.py
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import warnings
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
try:
|
|
5
|
-
import brepmatching
|
|
6
|
-
|
|
7
|
-
except ModuleNotFoundError as e:
|
|
8
|
-
warnings.warn(
|
|
9
|
-
'There is no installation of `brepmatching`. '
|
|
10
|
-
'Please confirm installation via '
|
|
11
|
-
'`pip install pyfemtet[brep]` or '
|
|
12
|
-
'`pip install brepmatching` command.'
|
|
13
|
-
)
|
|
14
|
-
raise e
|
|
15
|
-
|
|
16
|
-
except FileNotFoundError as e:
|
|
17
|
-
warnings.warn(str(e))
|
|
18
|
-
raise e
|