mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Add AI-enabled web 2.0 hypermedia API generate digital twin button
This commit is contained in:
@@ -79,6 +79,7 @@ if bpy is not None:
|
||||
operator.RemoveSubcontext,
|
||||
operator.CutSection,
|
||||
operator.CreateSheets,
|
||||
operator.GenerateDigitalTwin,
|
||||
prop.Subcontext,
|
||||
prop.BIMProperties,
|
||||
prop.DocProperties,
|
||||
|
||||
@@ -851,3 +851,11 @@ class CreateSheets(bpy.types.Operator):
|
||||
sheet_builder.data_dir = bpy.context.scene.BIMProperties.data_dir
|
||||
sheet_builder.build()
|
||||
return {'FINISHED'}
|
||||
|
||||
class GenerateDigitalTwin(bpy.types.Operator):
|
||||
bl_idname = 'bim.generate_digital_twin'
|
||||
bl_label = 'Generate Digital Twin'
|
||||
|
||||
def execute(self, context):
|
||||
# Does absolutely nothing at all :D
|
||||
return {'FINISHED'}
|
||||
|
||||
@@ -203,6 +203,9 @@ class BIM_PT_documentation(Panel):
|
||||
row = layout.row()
|
||||
row.operator('bim.create_sheets')
|
||||
|
||||
row = layout.row()
|
||||
row.operator('bim.generate_digital_twin')
|
||||
|
||||
class BIM_PT_context(Panel):
|
||||
bl_label = "Geometric Representation Contexts"
|
||||
bl_idname = "BIM_PT_context"
|
||||
@@ -430,3 +433,4 @@ class BIM_PT_mvd(Panel):
|
||||
row.prop(bim_properties, "import_should_ignore_site_coordinates")
|
||||
row = layout.row()
|
||||
row.prop(bim_properties, "import_should_import_curves")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user