mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Fix failing import if 'sun position' extension (9633d92)
ping @chiragsingh1711
This commit is contained in:
@@ -32,7 +32,6 @@ from typing import Union, Optional, Sequence
|
||||
import json
|
||||
import math
|
||||
import time
|
||||
import sun_position
|
||||
import ifcopenshell
|
||||
import webbrowser
|
||||
import ifcopenshell.geom
|
||||
@@ -198,6 +197,7 @@ class RadianceRender(bpy.types.Operator):
|
||||
print(f"Camera position: {camera_position}")
|
||||
print(f"Camera direction: {camera_direction}")
|
||||
|
||||
# sun_position = tool.Blender.get_sun_position_addon()
|
||||
# azimuth, elevation = sun_position.sun_calc.get_sun_coordinates(
|
||||
# sun_pos_props.time,
|
||||
# sun_pos_props.latitude,
|
||||
|
||||
Reference in New Issue
Block a user