Merge branch 'main' into bim-cleanup-license
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
"""The BIM workbench"""
|
||||
|
||||
import os
|
||||
|
||||
import FreeCAD
|
||||
import FreeCADGui
|
||||
import Arch_rc
|
||||
@@ -317,7 +318,9 @@ class BIMWorkbench(Workbench):
|
||||
# load webtools
|
||||
|
||||
try:
|
||||
import BIMServer, Git, Sketchfab
|
||||
import BIMServer
|
||||
import Git
|
||||
import Sketchfab
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
@@ -332,7 +335,9 @@ class BIMWorkbench(Workbench):
|
||||
# load flamingo
|
||||
|
||||
try:
|
||||
import CommandsPolar, CommandsFrame, CommandsPipe
|
||||
import CommandsPolar
|
||||
import CommandsFrame
|
||||
import CommandsPipe
|
||||
except ImportError:
|
||||
flamingo = None
|
||||
else:
|
||||
@@ -371,7 +376,8 @@ class BIMWorkbench(Workbench):
|
||||
# load fasteners
|
||||
|
||||
try:
|
||||
import FastenerBase, FastenersCmd
|
||||
import FastenerBase
|
||||
import FastenersCmd
|
||||
except ImportError:
|
||||
fasteners = None
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user