FEM-Design 0.0.7__py3-none-any.whl → 0.0.8__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.
- {FEM_Design-0.0.7.dist-info → fem_design-0.0.8.dist-info}/METADATA +6 -4
- {FEM_Design-0.0.7.dist-info → fem_design-0.0.8.dist-info}/RECORD +6 -7
- {FEM_Design-0.0.7.dist-info → fem_design-0.0.8.dist-info}/WHEEL +1 -1
- femdesign/comunication.py +1 -1
- femdesign/database.py +0 -63
- {FEM_Design-0.0.7.dist-info → fem_design-0.0.8.dist-info/licenses}/LICENSE +0 -0
- {FEM_Design-0.0.7.dist-info → fem_design-0.0.8.dist-info}/top_level.txt +0 -0
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: FEM-Design
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: The FEM-Design API package
|
|
5
5
|
Author-email: FEM-Design <femdesign.api@strusoft.com>
|
|
6
6
|
Maintainer-email: Marco Pellegrino <marco.pellegrino@strusoft.com>, Illyés Zoltán <sinnach@strusoft.hu>
|
|
7
|
+
License: MIT
|
|
7
8
|
Project-URL: Homepage, https://femdesign-api-docs.onstrusoft.com
|
|
8
9
|
Project-URL: Repository, https://github.com/strusoft/femdesign-api/tree/master/FemDesign.Python
|
|
9
10
|
Project-URL: Issues, https://github.com/strusoft/femdesign-api/issues
|
|
10
11
|
Keywords: fem,fea,structures,strusoft,FEM-Design API
|
|
11
12
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier:
|
|
13
|
-
Classifier: Operating System :: Microsoft
|
|
13
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
14
14
|
Requires-Python: >=3.8
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
+
Requires-Dist: pywin32>=306
|
|
18
|
+
Dynamic: license-file
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
+
fem_design-0.0.8.dist-info/licenses/LICENSE,sha256=C1trwjHDz-8nu89CQ5_3BXEJiOrsl1tJJqtEzEi_dA0,1086
|
|
1
2
|
femdesign/__init__.py,sha256=D0UVD6fSKhTEm2bcEShuydq4MtAQfmIq3CLzUVZH53I,21
|
|
2
|
-
femdesign/comunication.py,sha256=
|
|
3
|
-
femdesign/database.py,sha256=lHu5mIVtYw1s6tILOoLdNsLmI6IqGP-zwBlXI4ZKX2s,2113
|
|
3
|
+
femdesign/comunication.py,sha256=yL7qXoZrkJo90S_BjVeeKo9SdS4syu726iTuLynpjHk,18622
|
|
4
4
|
femdesign/calculate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
femdesign/calculate/analysis.py,sha256=ETQzTj3pKvF1SzfQMDw4d1ObH0MxFNtX2qJcQ4sRfck,16068
|
|
6
6
|
femdesign/calculate/command.py,sha256=SnWuDxXAN7psDK6RD64CL7kUxOt4Iw3ltjdvEPil_lw,17516
|
|
7
7
|
femdesign/calculate/fdscript.py,sha256=Uf1NNEMvnRWh3FviYSrC69FtGr1IXZGOSz3SwCnRD6M,3037
|
|
8
8
|
femdesign/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
femdesign/utilities/filehelper.py,sha256=ocztMNTePr-bUpquY8DAI1s4BHptlhnMzwYOMrDbB_8,1528
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
FEM_Design-0.0.7.dist-info/RECORD,,
|
|
10
|
+
fem_design-0.0.8.dist-info/METADATA,sha256=Bo6Izu6KbO7xBLh4k71H77sZqnnpYnM3nnH-jeqqBKo,3114
|
|
11
|
+
fem_design-0.0.8.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
12
|
+
fem_design-0.0.8.dist-info/top_level.txt,sha256=QcarGV2EBCVqig6Yj3dB5-Q8Mi-eXtEEhUyRKWIP21I,10
|
|
13
|
+
fem_design-0.0.8.dist-info/RECORD,,
|
femdesign/comunication.py
CHANGED
|
@@ -298,7 +298,7 @@ class Verbosity(Enum):
|
|
|
298
298
|
|
|
299
299
|
class FemDesignConnection(_FdConnect):
|
|
300
300
|
def __init__(self,
|
|
301
|
-
fd_path : str = r"C:\Program Files\StruSoft\FEM-Design
|
|
301
|
+
fd_path : str = r"C:\Program Files\StruSoft\FEM-Design 24\fd3dstruct.exe",
|
|
302
302
|
pipe_name : str ="FdPipe1",
|
|
303
303
|
verbose : Verbosity = Verbosity.SCRIPT_LOG_LINES,
|
|
304
304
|
output_dir : str = None,
|
femdesign/database.py
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import xml.etree.ElementTree as ET
|
|
2
|
-
import uuid
|
|
3
|
-
import datetime
|
|
4
|
-
|
|
5
|
-
namespace = {'': 'urn:strusoft'}
|
|
6
|
-
|
|
7
|
-
class Database:
|
|
8
|
-
def __init__(self, country):
|
|
9
|
-
self.struxml_version = "01.00.000"
|
|
10
|
-
self.source_software = f"FEM-Design API SDK {self.get_version()}"
|
|
11
|
-
self.start_time = "1970-01-01T00:00:00.000"
|
|
12
|
-
self.end_time = datetime.datetime.now(datetime.UTC).strftime("%Y-%m-%dT%H:%M:%S.%f")[:-3]
|
|
13
|
-
self.guid = str(uuid.uuid4())
|
|
14
|
-
self.convert_id = "00000000-0000-0000-0000-000000000000"
|
|
15
|
-
self.standard = "EC"
|
|
16
|
-
self.country = country
|
|
17
|
-
self.end = ""
|
|
18
|
-
|
|
19
|
-
def get_version(self):
|
|
20
|
-
return "0.1.0"
|
|
21
|
-
|
|
22
|
-
@property
|
|
23
|
-
def eurocode(self):
|
|
24
|
-
return self._root.attrib["standard"]
|
|
25
|
-
|
|
26
|
-
@property
|
|
27
|
-
def country(self):
|
|
28
|
-
return self._root.attrib["country"]
|
|
29
|
-
|
|
30
|
-
@property
|
|
31
|
-
def source_software(self):
|
|
32
|
-
return self._root.attrib["source_software"]
|
|
33
|
-
|
|
34
|
-
@property
|
|
35
|
-
def entities(self):
|
|
36
|
-
return self._root.findall(".//entities", namespace)
|
|
37
|
-
|
|
38
|
-
@property
|
|
39
|
-
def sections(self):
|
|
40
|
-
return self._root.findall(".//sections", namespace)
|
|
41
|
-
|
|
42
|
-
@property
|
|
43
|
-
def materials(self):
|
|
44
|
-
return self._root.findall(".//materials", namespace)
|
|
45
|
-
|
|
46
|
-
@property
|
|
47
|
-
def bars(self):
|
|
48
|
-
return self._root.findall(".//bar", namespace)
|
|
49
|
-
|
|
50
|
-
def serialise_to_xml(self):
|
|
51
|
-
return ET.tostring(self._root, encoding="UTF-8")
|
|
52
|
-
|
|
53
|
-
# private void Initialize(Country country)
|
|
54
|
-
# {
|
|
55
|
-
# this.StruxmlVersion = "01.00.000";
|
|
56
|
-
# this.SourceSoftware = $"FEM-Design API SDK {Assembly.GetExecutingAssembly().GetName().Version.ToString()}";
|
|
57
|
-
# this.StartTime = "1970-01-01T00:00:00.000";
|
|
58
|
-
# this.EndTime = System.DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ss.fff", CultureInfo.InvariantCulture);
|
|
59
|
-
# this.Guid = System.Guid.NewGuid();
|
|
60
|
-
# this.ConvertId = "00000000-0000-0000-0000-000000000000";
|
|
61
|
-
# this.Standard = "EC";
|
|
62
|
-
# this.Country = country;
|
|
63
|
-
# this.End = "";
|
|
File without changes
|
|
File without changes
|