WIP port search module with new features! See #1222.

* New IFC class search
 * Slicker UI
 * Colour by class and reset colours now available in search panel
This commit is contained in:
Dion Moult
2021-01-23 14:17:50 +11:00
parent 86e3d1e548
commit d0b2bf85cc
13 changed files with 313 additions and 299 deletions
@@ -29,6 +29,7 @@ if bpy is not None:
"owner": None,
"project": None,
"pset": None,
"search": None,
"spatial": None,
"style": None,
"type": None,
@@ -40,16 +41,12 @@ if bpy is not None:
modules[name] = importlib.import_module(f"blenderbim.bim.module.{name}")
classes = [
operator.SelectClass,
operator.SelectType,
operator.OpenUri,
operator.SelectDataDir,
operator.SelectSchemaDir,
operator.SelectIfcFile,
operator.ExportIFC,
operator.ImportIFC,
operator.ColourByAttribute,
operator.ColourByPset,
operator.SelectExternalMaterialDir,
operator.AddSweptSolid,
operator.RemoveSweptSolid,
@@ -75,12 +72,8 @@ if bpy is not None:
operator.AssignConstraint,
operator.UnassignConstraint,
operator.RemoveObjectConstraint,
operator.GenerateGlobalId,
operator.AddMaterialAttribute,
operator.RemoveMaterialAttribute,
operator.SelectGlobalId,
operator.SelectAttribute,
operator.SelectPset,
operator.FetchLibraryInformation,
operator.FetchExternalMaterial,
operator.FetchObjectPassport,
@@ -200,7 +193,6 @@ if bpy is not None:
ui.BIM_PT_sheets,
ui.BIM_PT_psets,
ui.BIM_PT_constraints,
ui.BIM_PT_search,
ui.BIM_PT_ifcclash,
ui.BIM_PT_library,
ui.BIM_PT_presentation_layers,