add two new materials and list additional information
This commit is contained in:
36
src/data/Al99.5.json
Executable file
36
src/data/Al99.5.json
Executable file
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"Name": "Al99.5",
|
||||||
|
"Formula": "Al99.5",
|
||||||
|
"Standard": {
|
||||||
|
"ISO": "Al99.5",
|
||||||
|
"DIN1725": "Al99,5",
|
||||||
|
"EN-AW": "1050A",
|
||||||
|
"WERKSTOFFNUMMER": "3.0255",
|
||||||
|
"Type": "Pure aluminium"
|
||||||
|
},
|
||||||
|
"Mechanical Properties": {
|
||||||
|
"T": ["20-25", "°C"],
|
||||||
|
"R_m": [160, "MPa"],
|
||||||
|
"Hardness": {
|
||||||
|
"HV": [400, "0.05"]
|
||||||
|
},
|
||||||
|
"Anodising": {
|
||||||
|
"AH": 1,
|
||||||
|
"ASA": 1
|
||||||
|
},
|
||||||
|
"Annotation": "Material way too soft for mechanical processing"
|
||||||
|
},
|
||||||
|
"Source": [
|
||||||
|
{
|
||||||
|
"Type": "Web",
|
||||||
|
"URL": "http://www.eloxal-muenchen.de/techinfoh.html"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Web",
|
||||||
|
"Author": "Fa. Honsel",
|
||||||
|
"Title": "Handbuch Knetwerkstoffe",
|
||||||
|
"Year": 2010,
|
||||||
|
"URL": "http://www.eloxal-muenchen.de/downloads/Handbuch_Knetwerkstoffe.pdf"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
36
src/data/AlMg3.json
Executable file
36
src/data/AlMg3.json
Executable file
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"Name": "AlMg3",
|
||||||
|
"Formula": "AlMg3",
|
||||||
|
"Standard": {
|
||||||
|
"ISO": "AlMg3",
|
||||||
|
"DIN1725": "AlMg3",
|
||||||
|
"EN-AW": "5754",
|
||||||
|
"WERKSTOFFNUMMER": "3.3535",
|
||||||
|
"Type": "Non age hardening"
|
||||||
|
},
|
||||||
|
"Mechanical Properties": {
|
||||||
|
"T": ["20-25", "°C"],
|
||||||
|
"R_m": [305, "MPa"],
|
||||||
|
"Hardness": {
|
||||||
|
"HV": [300, "0.05"]
|
||||||
|
},
|
||||||
|
"Anodising": {
|
||||||
|
"AH": 1,
|
||||||
|
"ASA": 1
|
||||||
|
},
|
||||||
|
"Annotation": "Material is usually only available as a sheet metal"
|
||||||
|
},
|
||||||
|
"Source": [
|
||||||
|
{
|
||||||
|
"Type": "Web",
|
||||||
|
"URL": "http://www.eloxal-muenchen.de/techinfoh.html"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Web",
|
||||||
|
"Author": "Fa. Honsel",
|
||||||
|
"Title": "Handbuch Knetwerkstoffe",
|
||||||
|
"Year": 2010,
|
||||||
|
"URL": "http://www.eloxal-muenchen.de/downloads/Handbuch_Knetwerkstoffe.pdf"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -71,7 +71,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "Web",
|
"Type": "Web",
|
||||||
"URL": "http://"
|
"Author": "Fa. Honsel",
|
||||||
|
"Title": "Handbuch Knetwerkstoffe",
|
||||||
|
"Year": 2010,
|
||||||
|
"URL": "http://www.eloxal-muenchen.de/downloads/Handbuch_Knetwerkstoffe.pdf"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ def main():
|
|||||||
file, _ = os.path.splitext(os.path.basename(filename))
|
file, _ = os.path.splitext(os.path.basename(filename))
|
||||||
print(file)
|
print(file)
|
||||||
data = read_file(filename)
|
data = read_file(filename)
|
||||||
data_dict = search_keys(data, 'Name')
|
data_dict = search_keys(data, ['Name', 'EN-AW', 'WERKSTOFFNUMMER'])
|
||||||
print_dict(data_dict, False, 2)
|
print_dict(data_dict, False, 2)
|
||||||
|
|
||||||
elif args.command == 'get':
|
elif args.command == 'get':
|
||||||
|
|||||||
Reference in New Issue
Block a user