mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Resolve #1860. Brickschema is now optional.
This commit is contained in:
@@ -18,10 +18,15 @@
|
||||
|
||||
import os
|
||||
import bpy
|
||||
import brickschema
|
||||
import blenderbim.core.tool
|
||||
import blenderbim.tool as tool
|
||||
|
||||
try:
|
||||
import brickschema
|
||||
except:
|
||||
# See #1860
|
||||
print("Warning: brickschema not available.")
|
||||
|
||||
|
||||
class Brick(blenderbim.core.tool.Brick):
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user