You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A “Getting Started” section in the README file could be a powerful way to show, in less than five minutes, what eppy can be useful for and how to use it. It could capture the reader's interest encouraging them to invest their time to delve deeper into understanding and learning more about this package.
An example:
Getting Started
Install eppy
pip install eppy
Read an .idf file and update the name of the building object
importeppy# set idd and idf fileseppy.IDF.setiddname('in.idd')
idf=eppy.IDF('in.idf')
# get the building objectbuilding=idf.idfobjects['BUILDING'][0]
building.Name='Empire State Building'# save changesidf.save()
Print IDF objects
# print the building's namebuilding=idf.idfobjects['BUILDING'][0]
print(building.Name)
# print surfacessurfaces=idf.idfobjects['BUILDINGSURFACE:DETAILED']
forsurfaceinsurfaces:
print(f'{surface.azimuth=}, {surface.tilt=}, {surface.area=}')
# print the entire idfidf.printidf()
Add a new material
idf.newidfobject('MATERIAL')
material=materials[-1]
material.Name='F08 Metal Surface'material.Roughness='Smooth'material.Thickness=0.0008material.Conductivity=45.28material.Density=7824material.Specific_Heat=500idf.save()
A “Getting Started” section in the README file could be a powerful way to show, in less than five minutes, what
eppy
can be useful for and how to use it. It could capture the reader's interest encouraging them to invest their time to delve deeper into understanding and learning more about this package.An example:
Getting Started
Install
eppy
Read an
.idf
file and update the name of the building objectPrint IDF objects
Add a new material
See more at https://eppy.readthedocs.io/en/latest/Main_Tutorial.html.
The text was updated successfully, but these errors were encountered: