Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error if trying to tab into IfcAnnotation/IfcAnnotation/<sections> #6313

Open
theoryshaw opened this issue Mar 10, 2025 · 0 comments
Open

Error if trying to tab into IfcAnnotation/IfcAnnotation/<sections> #6313

theoryshaw opened this issue Mar 10, 2025 · 0 comments
Labels

Comments

@theoryshaw
Copy link
Member

theoryshaw commented Mar 10, 2025

Error if trying to tab into IfcAnnotation/IfcAnnotation/<sections>

os: Windows
os_version: 10.0.19045
python_version: 3.11.7
architecture: ('64bit', 'WindowsPE')
machine: AMD64
processor: Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
blender_version: 4.2.1 LTS
bonsai_version: 0.0.0
bonsai_commit_hash: 4109b19
last_actions: 
# ifcopenshell.api: geometry.add_representation
>>> {"context": {"cast_type": "entity_instance", "value": 24, "Name": null}, "blender_object": "<bpy_struct, Object(\"IfcAnnotation/BASEMENT PLAN\") at 0x0000022786963208>", "geometry": "<bpy_struct, Camera(\"24/55875.001\") at 0x000002275254EB08>", "coordinate_offset": "None", "total_items": "1", "should_force_faceted_brep": "False", "should_force_triangulation": "False", "should_generate_uvs": "False", "ifc_representation_class": "None", "profile_set_usage": "None", "text_literal": "None"}
# ifcopenshell.api: style.assign_representation_styles
>>> {"shape_representation": {"cast_type": "entity_instance", "value": 55967, "Name": null}, "styles": "[]", "should_use_presentation_style_assignment": "False"}
# ifcopenshell.api: geometry.unassign_representation
>>> {"product": {"cast_type": "entity_instance", "value": 55822, "Name": "BASEMENT PLAN"}, "representation": {"cast_type": "entity_instance", "value": 55875, "Name": null}}
# ifcopenshell.api: geometry.remove_representation
>>> {"representation": {"cast_type": "entity_instance", "value": 55875, "Name": null}}
# operator: BIM_OT_override_mode_set_edit
# operator: BIM_OT_override_mode_set_edit
# operator: BIM_OT_import_representation_items
# operator: BIM_OT_update_representation
# ifcopenshell.api: geometry.add_representation
>>> {"context": {"cast_type": "entity_instance", "value": 24, "Name": null}, "blender_object": "<bpy_struct, Object(\"IfcAnnotation/BASEMENT PLAN\") at 0x0000022786963208>", "geometry": "<bpy_struct, Camera(\"24/55967.001\") at 0x0000022782391608>", "coordinate_offset": "None", "total_items": "1", "should_force_faceted_brep": "False", "should_force_triangulation": "False", "should_generate_uvs": "False", "ifc_representation_class": "None", "profile_set_usage": "None", "text_literal": "None"}
# ifcopenshell.api: style.assign_representation_styles
>>> {"shape_representation": {"cast_type": "entity_instance", "value": 55972, "Name": null}, "styles": "[]", "should_use_presentation_style_assignment": "False"}
# ifcopenshell.api: geometry.unassign_representation
>>> {"product": {"cast_type": "entity_instance", "value": 55822, "Name": "BASEMENT PLAN"}, "representation": {"cast_type": "entity_instance", "value": 55967, "Name": null}}
# ifcopenshell.api: geometry.remove_representation
>>> {"representation": {"cast_type": "entity_instance", "value": 55967, "Name": null}}
# operator: BIM_OT_override_mode_set_edit
# operator: BIM_OT_override_mode_set_edit
# operator: BIM_OT_override_mode_set_edit
# operator: BIM_OT_override_mode_set_edit
# ifcopenshell.api: geometry.validate_type
>>> {}
# operator: BIM_OT_import_representation_items
# ifcopenshell.api: geometry.validate_type
>>> {}
# operator: BIM_OT_import_representation_items
last_error: Traceback (most recent call last):
  File "C:\Users\Ryan Schultz\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\.local\lib\python3.11\site-packages\bonsai\bim\ifc.py", line 454, in execute_ifc_operator
    result = getattr(operator, "_execute")(context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Ryan Schultz\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\.local\lib\python3.11\site-packages\bonsai\bim\module\geometry\operator.py", line 2889, in _execute
    assert False, "Unexpected mesh type."
AssertionError: Unexpected mesh type.

ifc: House.ifc
schema: IFC4
preprocessor_version: IfcOpenShell 0.0.0
originating_system: Bonsai 0.8.2-alpha250224-4109b19
20250310_1613.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant