mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 06:18:09 +00:00
delete unused import (#6093)
This commit is contained in:
@@ -20,8 +20,7 @@ import os
|
|||||||
import bpy
|
import bpy
|
||||||
import bpy.utils.previews
|
import bpy.utils.previews
|
||||||
import importlib
|
import importlib
|
||||||
from pathlib import Path
|
from . import handler, ui, prop, operator
|
||||||
from . import handler, ui, prop, operator, helper
|
|
||||||
from typing import Callable, Union
|
from typing import Callable, Union
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ from __future__ import annotations
|
|||||||
import os
|
import os
|
||||||
import bpy
|
import bpy
|
||||||
import json
|
import json
|
||||||
import numpy as np
|
|
||||||
import datetime
|
import datetime
|
||||||
import zipfile
|
import zipfile
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|||||||
@@ -20,15 +20,12 @@ from __future__ import annotations
|
|||||||
import importlib
|
import importlib
|
||||||
import bpy
|
import bpy
|
||||||
import json
|
import json
|
||||||
import math
|
|
||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
import ifcopenshell.ifcopenshell_wrapper as W
|
import ifcopenshell.ifcopenshell_wrapper as W
|
||||||
import ifcopenshell.util.attribute
|
import ifcopenshell.util.attribute
|
||||||
import ifcopenshell.util.element
|
import ifcopenshell.util.element
|
||||||
import ifcopenshell.util.unit
|
import ifcopenshell.util.unit
|
||||||
from ifcopenshell.util.doc import get_attribute_doc, get_predefined_type_doc, get_property_doc
|
from ifcopenshell.util.doc import get_attribute_doc, get_predefined_type_doc, get_property_doc
|
||||||
from mathutils import geometry
|
|
||||||
from mathutils import Vector
|
|
||||||
import bonsai.tool as tool
|
import bonsai.tool as tool
|
||||||
from bonsai.bim.ifc import IfcStore
|
from bonsai.bim.ifc import IfcStore
|
||||||
from typing import Optional, Callable, Any, Union, Iterable, TYPE_CHECKING
|
from typing import Optional, Callable, Any, Union, Iterable, TYPE_CHECKING
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
import os
|
import os
|
||||||
import bpy
|
import bpy
|
||||||
import bmesh
|
import bmesh
|
||||||
import json
|
|
||||||
import time
|
import time
|
||||||
import logging
|
import logging
|
||||||
import textwrap
|
import textwrap
|
||||||
@@ -32,11 +31,10 @@ import ifcopenshell
|
|||||||
import bonsai.bim
|
import bonsai.bim
|
||||||
import bonsai.tool as tool
|
import bonsai.tool as tool
|
||||||
from bonsai.bim import import_ifc
|
from bonsai.bim import import_ifc
|
||||||
from bonsai.bim.ifc import IfcStore
|
|
||||||
from bonsai.bim.prop import StrProperty
|
from bonsai.bim.prop import StrProperty
|
||||||
from bonsai.bim.ui import IFCFileSelector
|
from bonsai.bim.ui import IFCFileSelector
|
||||||
from bonsai.bim.helper import get_enum_items
|
from bonsai.bim.helper import get_enum_items
|
||||||
from mathutils import Vector, Matrix, Euler
|
from mathutils import Vector, Euler
|
||||||
from math import radians
|
from math import radians
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
|
|||||||
@@ -16,11 +16,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from pathlib import Path
|
|
||||||
import os
|
import os
|
||||||
import bpy
|
import bpy
|
||||||
import json
|
import json
|
||||||
import importlib
|
|
||||||
import platformdirs
|
import platformdirs
|
||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
import ifcopenshell.util.pset
|
import ifcopenshell.util.pset
|
||||||
@@ -36,7 +34,6 @@ import bonsai.bim
|
|||||||
import bonsai.bim.schema
|
import bonsai.bim.schema
|
||||||
import bonsai.bim.handler
|
import bonsai.bim.handler
|
||||||
import bonsai.tool as tool
|
import bonsai.tool as tool
|
||||||
from collections import defaultdict
|
|
||||||
from bpy.types import PropertyGroup
|
from bpy.types import PropertyGroup
|
||||||
from bpy.props import (
|
from bpy.props import (
|
||||||
PointerProperty,
|
PointerProperty,
|
||||||
|
|||||||
Reference in New Issue
Block a user