BIM: Fix Arch Panel imports (#14644)

Fixes #14585.
This commit is contained in:
Roy-043
2024-06-13 15:26:06 +02:00
committed by GitHub
parent c8c2c52e3e
commit fc8f7eeea4
2 changed files with 22 additions and 21 deletions

View File

@@ -35,7 +35,6 @@ if FreeCAD.GuiUp:
from PySide import QtCore, QtGui
from draftutils.translate import translate
from PySide.QtCore import QT_TRANSLATE_NOOP
import draftguitools.gui_trackers as DraftTrackers
else:
# \cond
def translate(ctxt,txt):
@@ -56,19 +55,6 @@ __title__ = "FreeCAD Panel"
__author__ = "Yorik van Havre"
__url__ = "https://www.freecad.org"
# Description l w t
Presets = [None,
["Plywood 12mm, 1220 x 2440",1220,2440,12],
["Plywood 15mm, 1220 x 2440",1220,2440,15],
["Plywood 18mm, 1220 x 2440",1220,2440,18],
["Plywood 25mm, 1220 x 2440",1220,2440,25],
["MDF 3mm, 900 x 600", 900, 600, 3],
["MDF 6mm, 900 x 600", 900, 600, 6],
["OSB 18mm, 1220 x 2440", 1220,2440,18],
]
class _Panel(ArchComponent.Component):