mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 09:22:28 +00:00
New dumb stair tool
This commit is contained in:
@@ -12,6 +12,7 @@ if bpy is not None:
|
||||
from .module.covetool import operator as covetool_operator
|
||||
|
||||
from .module.model import wall as model_wall
|
||||
from .module.model import stair as model_stair
|
||||
|
||||
classes = (
|
||||
operator.AssignClass,
|
||||
@@ -269,6 +270,7 @@ if bpy is not None:
|
||||
covetool_operator.RunSimpleAnalysis,
|
||||
covetool_operator.RunAnalysis,
|
||||
model_wall.BIM_OT_add_object,
|
||||
model_stair.BIM_OT_add_object,
|
||||
)
|
||||
|
||||
def menu_func_export(self, context):
|
||||
@@ -305,6 +307,7 @@ if bpy is not None:
|
||||
bpy.types.Scene.CoveToolProperties = bpy.props.PointerProperty(type=covetool_prop.CoveToolProperties)
|
||||
bpy.types.SCENE_PT_unit.append(ui.ifc_units)
|
||||
bpy.types.VIEW3D_MT_mesh_add.append(model_wall.add_object_button)
|
||||
bpy.types.VIEW3D_MT_mesh_add.append(model_stair.add_object_button)
|
||||
|
||||
def unregister():
|
||||
for cls in reversed(classes):
|
||||
@@ -325,3 +328,4 @@ if bpy is not None:
|
||||
del(bpy.types.Camera.BIMTextProperties)
|
||||
bpy.types.SCENE_PT_unit.remove(ui.ifc_units)
|
||||
bpy.types.VIEW3D_MT_mesh_add.remove(model_wall.add_object_button)
|
||||
bpy.types.VIEW3D_MT_mesh_add.remove(model_stair.add_object_button)
|
||||
|
||||
Reference in New Issue
Block a user