BIM: cleanup imports at module root

This commit is contained in:
marcuspollio
2025-03-23 23:32:16 +01:00
parent 6eb6e44232
commit ba67de4c05
40 changed files with 637 additions and 596 deletions

View File

@@ -20,6 +20,16 @@
#* *
#***************************************************************************
__title__ = "FreeCAD Project"
__author__ = "Yorik van Havre"
__url__ = "https://www.freecad.org"
## @package ArchProject
# \ingroup ARCH
# \brief The Project object and tools
#
# This module provides tools to build Project objects.
"""This module provides tools to build Project objects. Project objects are
objects specifically for better IFC compatibility, allowing the user to tweak
certain IFC relevant values.
@@ -28,26 +38,17 @@ certain IFC relevant values.
import FreeCAD
import ArchIFC
import ArchIFCView
if FreeCAD.GuiUp:
from PySide.QtCore import QT_TRANSLATE_NOOP
import FreeCADGui
from draftutils.translate import translate
from PySide.QtCore import QT_TRANSLATE_NOOP
else:
def translate(ctxt,txt):
return txt
def QT_TRANSLATE_NOOP(ctxt,txt):
return txt
## @package ArchProject
# \ingroup ARCH
# \brief The Project object and tools
#
# This module provides tools to build Project objects.
__title__ = "FreeCAD Project"
__author__ = "Yorik van Havre"
__url__ = "https://www.freecad.org"
class _Project(ArchIFC.IfcContext):
"""The project object.