Merge branch 'main' into bim-cleanup-license
This commit is contained in:
@@ -22,21 +22,9 @@
|
||||
# * *
|
||||
# ***************************************************************************
|
||||
|
||||
import FreeCAD
|
||||
import ArchComponent
|
||||
import Draft
|
||||
import DraftVecUtils
|
||||
if FreeCAD.GuiUp:
|
||||
import FreeCADGui
|
||||
from draftutils.translate import translate
|
||||
from PySide.QtCore import QT_TRANSLATE_NOOP
|
||||
else:
|
||||
# \cond
|
||||
def translate(ctxt,txt):
|
||||
return txt
|
||||
def QT_TRANSLATE_NOOP(ctxt,txt):
|
||||
return txt
|
||||
# \endcond
|
||||
__title__ = "FreeCAD Arch Frame"
|
||||
__author__ = "Yorik van Havre"
|
||||
__url__ = "https://www.freecad.org"
|
||||
|
||||
## @package ArchFrame
|
||||
# \ingroup ARCH
|
||||
@@ -46,10 +34,22 @@ else:
|
||||
# Frames are objects made of a profile and an object with
|
||||
# edges along which the profile gets extruded
|
||||
|
||||
__title__ = "FreeCAD Arch Frame"
|
||||
__author__ = "Yorik van Havre"
|
||||
__url__ = "https://www.freecad.org"
|
||||
import FreeCAD
|
||||
import ArchComponent
|
||||
import Draft
|
||||
import DraftVecUtils
|
||||
|
||||
if FreeCAD.GuiUp:
|
||||
from PySide.QtCore import QT_TRANSLATE_NOOP
|
||||
import FreeCADGui
|
||||
from draftutils.translate import translate
|
||||
else:
|
||||
# \cond
|
||||
def translate(ctxt,txt):
|
||||
return txt
|
||||
def QT_TRANSLATE_NOOP(ctxt,txt):
|
||||
return txt
|
||||
# \endcond
|
||||
|
||||
|
||||
class _Frame(ArchComponent.Component):
|
||||
|
||||
Reference in New Issue
Block a user