PyFemtet 0.3.11__tar.gz → 0.3.12__tar.gz
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.
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/PKG-INFO +1 -1
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/her_ex40_parametric.py +1 -1
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/wat_ex14_parallel_parametric.py +1 -1
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/wat_ex14_parametric.py +1 -1
- pyfemtet-0.3.12/pyfemtet/__init__.py +1 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/opt/interface.py +5 -11
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyproject.toml +1 -1
- pyfemtet-0.3.11/pyfemtet/__init__.py +0 -1
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/LICENSE +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/README.md +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/NX_ex01/NX_ex01.femprj +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/NX_ex01/NX_ex01.prt +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/NX_ex01/NX_ex01.py +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/Sldworks_ex01/Sldworks_ex01.SLDPRT +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/Sldworks_ex01/Sldworks_ex01.femprj +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/Sldworks_ex01/Sldworks_ex01.py +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/gau_ex08_parametric.femprj +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/gau_ex08_parametric.py +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/her_ex40_parametric.femprj +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/wat_ex14_parametric.femprj +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/core.py +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/dispatch_extensions.py +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/logger.py +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/opt/_FemtetWithNX/update_model.py +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/opt/__init__.py +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/opt/base.py +0 -0
- {pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/opt/monitor.py +0 -0
{pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/wat_ex14_parallel_parametric.py
RENAMED
|
@@ -32,7 +32,7 @@ def substrate_size(Femtet):
|
|
|
32
32
|
Femtet : マクロを使用するためのインスタンスです。詳しくは "Femtet マクロヘルプ / CFemtet クラス" をご覧ください。
|
|
33
33
|
目的関数は第一引数に Femtet インスタンスを取る必要があります。
|
|
34
34
|
|
|
35
|
-
subs_w * subs_d : XY
|
|
35
|
+
subs_w * subs_d : XY 平面における基板の占有面積です。
|
|
36
36
|
目的関数は単一の float を返す必要があります。
|
|
37
37
|
|
|
38
38
|
"""
|
|
@@ -32,7 +32,7 @@ def substrate_size(Femtet):
|
|
|
32
32
|
Femtet : マクロを使用するためのインスタンスです。詳しくは "Femtet マクロヘルプ / CFemtet クラス" をご覧ください。
|
|
33
33
|
目的関数は第一引数に Femtet インスタンスを取る必要があります。
|
|
34
34
|
|
|
35
|
-
subs_w * subs_d : XY
|
|
35
|
+
subs_w * subs_d : XY 平面における基板の占有面積です。
|
|
36
36
|
目的関数は単一の float を返す必要があります。
|
|
37
37
|
|
|
38
38
|
"""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.3.12"
|
|
@@ -618,16 +618,13 @@ class FemtetWithNXInterface(FemtetInterface):
|
|
|
618
618
|
raise FileNotFoundError(r'"%UGII_BASE_DIR%\NXBIN\run_journal.exe" が見つかりませんでした。環境変数 UGII_BASE_DIR 又は NX のインストール状態を確認してください。')
|
|
619
619
|
|
|
620
620
|
# 引数の処理
|
|
621
|
-
self.prt_path = os.path.abspath(prt_path)
|
|
622
|
-
|
|
623
621
|
# dask サブプロセスのときは prt_path を worker space から取るようにする
|
|
624
622
|
try:
|
|
625
623
|
worker = get_worker()
|
|
626
624
|
space = worker.local_directory
|
|
627
|
-
|
|
628
|
-
self.prt_path = os.path.join(space, os.path.basename(self.prt_path))
|
|
625
|
+
self.prt_path = os.path.join(space, os.path.basename(prt_path))
|
|
629
626
|
except ValueError: # get_worker に失敗した場合
|
|
630
|
-
|
|
627
|
+
self.prt_path = os.path.abspath(prt_path)
|
|
631
628
|
|
|
632
629
|
# FemtetInterface の設定 (femprj_path, model_name の更新など)
|
|
633
630
|
# + restore 情報の上書き
|
|
@@ -730,16 +727,13 @@ class FemtetWithSolidworksInterface(FemtetInterface):
|
|
|
730
727
|
strictly_pid_specify=True,
|
|
731
728
|
):
|
|
732
729
|
# 引数の処理
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
# dask サブプロセスのときは prt_path を worker space から取るようにする
|
|
730
|
+
# dask サブプロセスのときは space 直下の sldprt_path を参照する
|
|
736
731
|
try:
|
|
737
732
|
worker = get_worker()
|
|
738
733
|
space = worker.local_directory
|
|
739
|
-
|
|
740
|
-
self.prt_path = os.path.join(space, os.path.basename(self.prt_path))
|
|
734
|
+
self.sldprt_path = os.path.join(space, os.path.basename(sldprt_path))
|
|
741
735
|
except ValueError: # get_worker に失敗した場合
|
|
742
|
-
|
|
736
|
+
self.sldprt_path = os.path.abspath(sldprt_path)
|
|
743
737
|
|
|
744
738
|
# FemtetInterface の設定 (femprj_path, model_name の更新など)
|
|
745
739
|
# + restore 情報の上書き
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "pyfemtet"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.12" # ignored by versioning plugin
|
|
4
4
|
description = "Design parameter optimization using Femtet."
|
|
5
5
|
authors = ["kazuma.naito <kazuma.naito@murata.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.3.11"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/Sldworks_ex01/Sldworks_ex01.SLDPRT
RENAMED
|
File without changes
|
{pyfemtet-0.3.11 → pyfemtet-0.3.12}/pyfemtet/FemtetPJTSample/Sldworks_ex01/Sldworks_ex01.femprj
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|