mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
radiance_exporter_properties -> BIMRadianceExporeterProperies
For consistency with other props
This commit is contained in:
@@ -54,7 +54,7 @@ classes = (
|
|||||||
|
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
bpy.types.Scene.radiance_exporter_properties = bpy.props.PointerProperty(type=prop.RadianceExporterProperties)
|
bpy.types.Scene.BIMRadianceExporeterProperies = bpy.props.PointerProperty(type=prop.RadianceExporterProperties)
|
||||||
bpy.types.Scene.BIMSolarProperties = bpy.props.PointerProperty(type=prop.BIMSolarProperties)
|
bpy.types.Scene.BIMSolarProperties = bpy.props.PointerProperty(type=prop.BIMSolarProperties)
|
||||||
pyradiance_path = Path(get_pyradiance_path())
|
pyradiance_path = Path(get_pyradiance_path())
|
||||||
bin_path = pyradiance_path / "bin"
|
bin_path = pyradiance_path / "bin"
|
||||||
@@ -65,5 +65,5 @@ def register():
|
|||||||
|
|
||||||
|
|
||||||
def unregister():
|
def unregister():
|
||||||
del bpy.types.Scene.radiance_exporter_properties
|
del bpy.types.Scene.BIMRadianceExporeterProperies
|
||||||
del bpy.types.Scene.BIMSolarProperties
|
del bpy.types.Scene.BIMSolarProperties
|
||||||
|
|||||||
@@ -1709,7 +1709,7 @@ class Blender(bonsai.core.tool.Blender):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def get_radiance_exporter_props(cls) -> RadianceExporterProperties:
|
def get_radiance_exporter_props(cls) -> RadianceExporterProperties:
|
||||||
assert (scene := bpy.context.scene)
|
assert (scene := bpy.context.scene)
|
||||||
return scene.radiance_exporter_properties
|
return scene.BIMRadianceExporeterProperies
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_ifc_definition_id(cls, obj: IFC_CONNECTED_TYPE) -> int:
|
def get_ifc_definition_id(cls, obj: IFC_CONNECTED_TYPE) -> int:
|
||||||
|
|||||||
Reference in New Issue
Block a user