Merge branch 'main' into bim-cleanup-license
This commit is contained in:
@@ -24,22 +24,9 @@
|
||||
# * *
|
||||
# ***************************************************************************
|
||||
|
||||
import FreeCAD
|
||||
import ArchComponent
|
||||
from draftutils import params
|
||||
|
||||
if FreeCAD.GuiUp:
|
||||
import FreeCADGui
|
||||
import Arch_rc
|
||||
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__ = "Arch Pipe tools"
|
||||
__author__ = "Yorik van Havre"
|
||||
__url__ = "https://www.freecad.org"
|
||||
|
||||
## @package ArchPipe
|
||||
# \ingroup ARCH
|
||||
@@ -48,10 +35,23 @@ else:
|
||||
# This module provides tools to build Pipe and Pipe connector objects.
|
||||
# Pipes are tubular objects extruded along a base line.
|
||||
|
||||
__title__ = "Arch Pipe tools"
|
||||
__author__ = "Yorik van Havre"
|
||||
__url__ = "https://www.freecad.org"
|
||||
import FreeCAD
|
||||
import ArchComponent
|
||||
|
||||
from draftutils import params
|
||||
|
||||
if FreeCAD.GuiUp:
|
||||
from PySide.QtCore import QT_TRANSLATE_NOOP
|
||||
import FreeCADGui
|
||||
import Arch_rc
|
||||
from draftutils.translate import translate
|
||||
else:
|
||||
# \cond
|
||||
def translate(ctxt,txt):
|
||||
return txt
|
||||
def QT_TRANSLATE_NOOP(ctxt,txt):
|
||||
return txt
|
||||
# \endcond
|
||||
|
||||
|
||||
class _ArchPipe(ArchComponent.Component):
|
||||
|
||||
Reference in New Issue
Block a user