Skip to content

antonszilasi/honeybeex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

honeybeex

Honeybee plugin for Grasshopper

# Here is a simple example on how to use the API
from honeybeex.radiance.sky.certainIlluminance import SkyWithCertainIlluminanceLevel
from honeybeex.radiance.recipe.gridbased import HBGridBasedAnalysisRecipe
from honeybeex.hbsurface import HBAnalysisSurface


pts = [(0, 0, 0), (10, 0, 0), (10, 10, 0), (0, 10, 0)]
vectors = [(0, 0, 1)]

# create the sky
sky = SkyWithCertainIlluminanceLevel(2000)

# create a Honeybee surface using vertices
hbsrf = HBAnalysisSurface("001", pts, surfaceType=None, isNameSetByUser=True)

# put an analysis recipe together
rp = HBGridBasedAnalysisRecipe(sky, pts, vectors, None, [hbsrf])

# write the files and runs the analysis
rp.writeToFile("c:\ladybug", "test")
rp.run(False)

# read the results
print rp.results

About

Honeybee plugin for Grasshopper and Dynamo!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%