Return to the original name

This commit is contained in:
Alireza Adli 2024-10-13 12:36:10 -04:00
parent f142332cb9
commit b50724690f

View File

@ -141,16 +141,22 @@ class AccessNrcanCatalog:
elif opaque_surface[opaque_surface_key]['type'] == component_type:
return opaque_surface[opaque_surface_key]['layers']
def material_embodied(self, material_name):
def search_material(self, material_name):
"""
Brings up the material's embodied carbon based on material's name
:param material_name: <class 'str'>
:return: <class 'float'>
:return: <class 'dict'>
"""
return self.materials[f'{material_name}']
def search_transparent_surfaces(
self, surface_type, opaque_surface_code):
"""
:param surface_type:
:param opaque_surface_code:
:return:
"""
return self.transparent_surfaces[
f'{surface_type}_{opaque_surface_code}']