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,19 +20,32 @@
#* *
#***************************************************************************
import FreeCAD
import Draft
import ArchCommands
import DraftVecUtils
import ArchIFC
import tempfile
__title__ = "FreeCAD Arch BuildingPart"
__author__ = "Yorik van Havre"
__url__ = "https://www.freecad.org"
## @package ArchBuildingPart
# \ingroup ARCH
# \brief The BuildingPart object and tools
#
# This module provides tools to build BuildingPart objects.
# BuildingParts are used to group different Arch objects
import os
import tempfile
import FreeCAD
import ArchCommands
import ArchIFC
import Draft
import DraftVecUtils
from draftutils import params
if FreeCAD.GuiUp:
from PySide.QtCore import QT_TRANSLATE_NOOP
import FreeCADGui
from draftutils.translate import translate
from PySide.QtCore import QT_TRANSLATE_NOOP
import draftutils.units as units
else:
# \cond
@@ -43,17 +56,6 @@ else:
# \endcond
unicode = str
## @package ArchBuildingPart
# \ingroup ARCH
# \brief The BuildingPart object and tools
#
# This module provides tools to build BuildingPart objects.
# BuildingParts are used to group different Arch objects
__title__ = "FreeCAD Arch BuildingPart"
__author__ = "Yorik van Havre"
__url__ = "https://www.freecad.org"
BuildingTypes = ['Undefined',
'Agricultural - Barn',