WIP refactor model module with new pie menu for convenience. See #1222.

This commit is contained in:
Dion Moult
2021-01-25 14:58:12 +11:00
parent f9521eca54
commit b4ecdfba69
14 changed files with 322 additions and 182 deletions
@@ -15,11 +15,8 @@ def add_object(self, context):
bm.to_mesh(mesh)
bm.free()
obj = object_data_add(context, mesh, operator=self)
obj.name = "IfcOpening/Dumb Opening"
obj.name = "Opening"
obj.display_type = "WIRE"
attribute = obj.BIMObjectProperties.attributes.add()
attribute.name = "PredefinedType"
attribute.string_value = "OPENING"
class BIM_OT_add_object(Operator, AddObjectHelper):