Exemple #1
0
 def create_octree_with_suns(self,
                             model=create_rad_folder._outputs.model_folder,
                             sky=generate_sunpath._outputs.sunpath):
     """Create octree from radiance folder and sunpath for direct studies."""
     return [{
         'from': CreateOctreeWithSky()._outputs.scene_file,
         'to': 'resources/scene_with_suns.oct'
     }]
 def create_octree(self, model=create_rad_folder._outputs.model_folder):
     """Create octree from radiance folder."""
     return [
         {
             'from': CreateOctreeWithSky()._outputs.scene_file,
             'to': 'resources/scene.oct'
         }
     ]
Exemple #3
0
def test_create_octree_with_sky():
    function = CreateOctreeWithSky().queenbee
    assert function.name == 'create-octree-with-sky'
    assert isinstance(function, Function)