change to one material per file
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
[{
|
{
|
||||||
"Name": "Aluminum",
|
"Name": "Aluminum",
|
||||||
"Formula": "Al",
|
"Formula": "Al",
|
||||||
"CAS Reg No.": "7429-90-5",
|
"CAS Reg No.": "7429-90-5",
|
||||||
@@ -150,40 +150,4 @@
|
|||||||
"Title" : "",
|
"Title" : "",
|
||||||
"Pages": [694, 758, 760, 764, 767, 781, 792, 978, 1017, 1035, 1122, 1179, 1182, 1207]
|
"Pages": [694, 758, 760, 764, 767, 781, 792, 978, 1017, 1035, 1122, 1179, 1182, 1207]
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
{
|
|
||||||
"Name": "G.AL® C250 Aluminium Präzisionsplatte",
|
|
||||||
"Alloy": {
|
|
||||||
"Standard": "EN AW 5083",
|
|
||||||
"Type": "non heat-treatable"
|
|
||||||
},
|
|
||||||
"Formula": "AlMg4.5Mn0.7",
|
|
||||||
"Heat treatment": {
|
|
||||||
"Temper": "homogenized and stress relieved, O3"
|
|
||||||
},
|
|
||||||
"Electromagnetic Data": {
|
|
||||||
"sigma": ["16-18", "m/Ω/mm²"]
|
|
||||||
},
|
|
||||||
"Mechanical Properties": {
|
|
||||||
"T": ["20-25", "°C"],
|
|
||||||
"rho": [2.66, "g/cm³"],
|
|
||||||
"E": [70, "GPa"],
|
|
||||||
"R_p02": ["110-130", "MPa"],
|
|
||||||
"R_m": ["230-290", "MPa"],
|
|
||||||
"Elongation": ["10-15", "%"],
|
|
||||||
"Hardness": {
|
|
||||||
"HBW": ["68-75", "2.5/62.5"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Thermodynamic Properties": {
|
|
||||||
"Crystal": {
|
|
||||||
"alpha": [23.3, "m/µm/K"],
|
|
||||||
"k": ["110-130", "W/m/K"],
|
|
||||||
"cp": [900, "J/kg/K"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Source": {
|
|
||||||
"Type": "Web",
|
|
||||||
"URL": "https://gleich.de/en/wp-content/uploads/sites/4/2016/10/en_g.al_c250.pdf"
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
36
src/data/AlMg4.5Mn0.7.json
Normal file
36
src/data/AlMg4.5Mn0.7.json
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"Name": "G.AL® C250 Aluminium Präzisionsplatte",
|
||||||
|
"Alloy": {
|
||||||
|
"Standard": "EN AW 5083",
|
||||||
|
"Type": "non heat-treatable"
|
||||||
|
},
|
||||||
|
"Formula": "AlMg4.5Mn0.7",
|
||||||
|
"Heat treatment": {
|
||||||
|
"Temper": "homogenized and stress relieved, O3"
|
||||||
|
},
|
||||||
|
"Electromagnetic Data": {
|
||||||
|
"sigma": ["16-18", "m/Ω/mm²"]
|
||||||
|
},
|
||||||
|
"Mechanical Properties": {
|
||||||
|
"T": ["20-25", "°C"],
|
||||||
|
"rho": [2.66, "g/cm³"],
|
||||||
|
"E": [70, "GPa"],
|
||||||
|
"R_p02": ["110-130", "MPa"],
|
||||||
|
"R_m": ["230-290", "MPa"],
|
||||||
|
"Elongation": ["10-15", "%"],
|
||||||
|
"Hardness": {
|
||||||
|
"HBW": ["68-75", "2.5/62.5"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Thermodynamic Properties": {
|
||||||
|
"Crystal": {
|
||||||
|
"alpha": [23.3, "m/µm/K"],
|
||||||
|
"k": ["110-130", "W/m/K"],
|
||||||
|
"cp": [900, "J/kg/K"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Source": {
|
||||||
|
"Type": "Web",
|
||||||
|
"URL": "https://gleich.de/en/wp-content/uploads/sites/4/2016/10/en_g.al_c250.pdf"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -165,7 +165,7 @@ def main():
|
|||||||
file_list = read_dir(absolute_path("data"), "INFO.json", True)
|
file_list = read_dir(absolute_path("data"), "INFO.json", True)
|
||||||
for filename in file_list:
|
for filename in file_list:
|
||||||
file, _ = os.path.splitext(os.path.basename(filename))
|
file, _ = os.path.splitext(os.path.basename(filename))
|
||||||
print(file.title())
|
print(file)
|
||||||
data = read_file(filename)
|
data = read_file(filename)
|
||||||
data_dict = search_keys(data, 'Name')
|
data_dict = search_keys(data, 'Name')
|
||||||
print_dict(data_dict, False, 2)
|
print_dict(data_dict, False, 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user