From 803a4b6c121b47f0bfeb7edfd9e38e2e78c4ce93 Mon Sep 17 00:00:00 2001 From: Vincent Cadoret Date: Fri, 20 Nov 2020 08:25:04 -0500 Subject: [PATCH] cleanup unnecessary imports and prints --- src/ifcblenderexport/blenderbim/bim/operator.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/ifcblenderexport/blenderbim/bim/operator.py b/src/ifcblenderexport/blenderbim/bim/operator.py index 01c7853312..527650ada2 100644 --- a/src/ifcblenderexport/blenderbim/bim/operator.py +++ b/src/ifcblenderexport/blenderbim/bim/operator.py @@ -11,7 +11,6 @@ import ifcopenshell.util.selector import ifcopenshell.util.geolocation import ifcopenshell.util.pset import tempfile -import numpy as np from . import export_ifc from . import import_ifc from . import qto @@ -30,8 +29,6 @@ from mathutils import Vector, Matrix, Euler, geometry from math import radians, atan, tan, cos, sin from pathlib import Path from bpy.app.handlers import persistent -from sklearn.cluster import OPTICS -from collections import defaultdict colour_list = [ (0.651, 0.81, 0.892, 1), @@ -1912,7 +1909,6 @@ class SmartClashGroup(bpy.types.Operator): with open(save_path, 'w') as f: f.write(json.dumps(smart_grouped_clashes)) - # TODO: load into BIM Properties for easy access clash_set_name = bpy.context.scene.BIMProperties.clash_sets[ bpy.context.scene.BIMProperties.active_clash_set_index ].name @@ -1926,16 +1922,10 @@ class SmartClashGroup(bpy.types.Operator): continue else: for smart_group, global_id_pairs in smart_groups[0].items(): - #print(smart_group) - #print(type(smart_group)) - - print("Global Ids: ", global_id_pairs) - print(type(global_id_pairs)) new_group = bpy.context.scene.BIMProperties.smart_clash_groups.add() new_group.number = smart_group for pair in global_id_pairs: - print("id: ", pair) for id in pair: new_global_id = new_group.global_ids.add() new_global_id.name = id