mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 19:56: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 json
|
||||||
import math
|
import math
|
||||||
import time
|
import time
|
||||||
import sun_position
|
|
||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
import webbrowser
|
import webbrowser
|
||||||
import ifcopenshell.geom
|
import ifcopenshell.geom
|
||||||
@@ -198,6 +197,7 @@ class RadianceRender(bpy.types.Operator):
|
|||||||
print(f"Camera position: {camera_position}")
|
print(f"Camera position: {camera_position}")
|
||||||
print(f"Camera direction: {camera_direction}")
|
print(f"Camera direction: {camera_direction}")
|
||||||
|
|
||||||
|
# sun_position = tool.Blender.get_sun_position_addon()
|
||||||
# azimuth, elevation = sun_position.sun_calc.get_sun_coordinates(
|
# azimuth, elevation = sun_position.sun_calc.get_sun_coordinates(
|
||||||
# sun_pos_props.time,
|
# sun_pos_props.time,
|
||||||
# sun_pos_props.latitude,
|
# sun_pos_props.latitude,
|
||||||
|
|||||||
Reference in New Issue
Block a user