change to one material per file

This commit is contained in:
2019-02-10 10:49:13 +01:00
parent f4c582d7d5
commit 52aee8e0e2
3 changed files with 39 additions and 39 deletions

View File

@@ -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"
}
}]

View 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"
}
}

View File

@@ -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)