mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
black .
This commit is contained in:
@@ -159,7 +159,9 @@ class BIMGeometryProperties(PropertyGroup):
|
|||||||
should_force_triangulation: BoolProperty(name="Force Triangulation", default=False)
|
should_force_triangulation: BoolProperty(name="Force Triangulation", default=False)
|
||||||
is_changing_mode: BoolProperty(name="Is Changing Mode", default=False)
|
is_changing_mode: BoolProperty(name="Is Changing Mode", default=False)
|
||||||
mode: EnumProperty(items=get_mode, name="IFC Interaction Mode", update=update_mode)
|
mode: EnumProperty(items=get_mode, name="IFC Interaction Mode", update=update_mode)
|
||||||
representation_obj: PointerProperty(name="Representation Object", type=bpy.types.Object, update=update_representation_obj)
|
representation_obj: PointerProperty(
|
||||||
|
name="Representation Object", type=bpy.types.Object, update=update_representation_obj
|
||||||
|
)
|
||||||
item_objs: CollectionProperty(name="Item Objects", type=RepresentationItemObject)
|
item_objs: CollectionProperty(name="Item Objects", type=RepresentationItemObject)
|
||||||
|
|
||||||
def is_object_valid_for_representation_copy(self, obj: bpy.types.Object) -> bool:
|
def is_object_valid_for_representation_copy(self, obj: bpy.types.Object) -> bool:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) == sys.path[0]:
|
if os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) == sys.path[0]:
|
||||||
# Don't import ifcopenshell from local directory, because it most likely
|
# Don't import ifcopenshell from local directory, because it most likely
|
||||||
# does not contain the built binary
|
# does not contain the built binary
|
||||||
sys.path[0:1] = []
|
sys.path[0:1] = []
|
||||||
|
|||||||
Reference in New Issue
Block a user