BIM: cleanup imports in nativeifc
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
|
||||
"""This NativeIFC module handles the retrieval and display of geometry compositions of objects"""
|
||||
|
||||
|
||||
import FreeCAD
|
||||
|
||||
TAB = 2
|
||||
@@ -80,7 +79,7 @@ def show_geometry_tree(element):
|
||||
import Arch_rc
|
||||
import FreeCADGui # lazy import
|
||||
from . import ifc_tools
|
||||
from PySide import QtGui, QtWidgets
|
||||
from PySide import QtWidgets
|
||||
|
||||
if isinstance(element, FreeCAD.DocumentObject):
|
||||
element = ifc_tools.get_ifc_element(element)
|
||||
@@ -147,7 +146,7 @@ def show_properties(current, previous):
|
||||
|
||||
import FreeCADGui
|
||||
from . import ifc_tools # lazy loading
|
||||
from PySide import QtCore, QtGui, QtWidgets
|
||||
from PySide import QtCore, QtWidgets
|
||||
|
||||
ifcid = int(current.text(0).split("=", 1)[0].strip(" ").strip("#"))
|
||||
sel = FreeCADGui.Selection.getSelection()
|
||||
|
||||
Reference in New Issue
Block a user