OSArch Community

How to create a curve array.

  1. R

    Could somebody please help me, I am trying to create a curved all from individual bricks> I want to use individual bricks because it is a feature-wall from face bricks. I can create a straight-line array bit not a curved one.

    I tried by created one brick type and then using Shift-D and G-R-Z to get the angle, this is then repeated until the wall is “built”. The all the bricks are selected to duplicate to create the next course of bricks, this process is time consuming but the big problem is sometimes Blender crashes when doing a bulk material change or duplication.

    Is there a simple way to do this?

    Then attached Wall240716 file is very slow to open and does not open every time, full of errors...

    This is the error code for the "New-Wall240716" I tried to resolve the proplems is Wall240716 by starting from scratch.

    Thanks in advance

    
    os: Windows
    
    os_version: 10.0.19045
    
    python_version: 3.10.13
    
    architecture: ('64bit', 'WindowsPE')
    
    machine: AMD64
    
    processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
    
    blender_version: 4.0.2
    
    blenderbim_version: 0.7.10.240715
    
    last_actions: 
    
    # ifcopenshell.api: root.copy_class
    
    >>> {"product": {"cast_type": "entity_instance", "value": 3390, "Name": "ElementAssembly"}}
    
    # ifcopenshell.api: style.assign_representation_styles
    
    >>> {"shape_representation": {"cast_type": "entity_instance", "value": 8254, "Name": null}, "styles": "[]", "should_use_presentation_style_assignment": "False"}
    
    # ifcopenshell.api: root.copy_class
    
    >>> {"product": {"cast_type": "entity_instance", "value": 2908, "Name": "ElementAssembly"}}
    
    # ifcopenshell.api: style.assign_representation_styles
    
    >>> {"shape_representation": {"cast_type": "entity_instance", "value": 8276, "Name": null}, "styles": "[]", "should_use_presentation_style_assignment": "False"}
    
    # ifcopenshell.api: root.copy_class
    
    >>> {"product": {"cast_type": "entity_instance", "value": 3993, "Name": "ElementAssembly"}}
    
    # ifcopenshell.api: style.assign_representation_styles
    
    >>> {"shape_representation": {"cast_type": "entity_instance", "value": 8298, "Name": null}, "styles": "[]", "should_use_presentation_style_assignment": "False"}
    
    # ifcopenshell.api: root.copy_class
    
    >>> {"product": {"cast_type": "entity_instance", "value": 2528, "Name": "ElementAssembly"}}
    
    # ifcopenshell.api: style.assign_representation_styles
    
    >>> {"shape_representation": {"cast_type": "entity_instance", "value": 8320, "Name": null}, "styles": "[]", "should_use_presentation_style_assignment": "False"}
    
    # ifcopenshell.api: root.copy_class
    
    >>> {"product": {"cast_type": "entity_instance", "value": 2663, "Name": "ElementAssembly"}}
    
    # ifcopenshell.api: style.assign_representation_styles
    
    >>> {"shape_representation": {"cast_type": "entity_instance", "value": 8342, "Name": null}, "styles": "[]", "should_use_presentation_style_assignment": "False"}
    
    last_error: Traceback (most recent call last):
    
      File "C:\Users\Roel\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blenderbim\bim\ifc.py", line 386, in execute_ifc_operator
    
        result = getattr(operator, "_execute")(context)
    
      File "C:\Users\Roel\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blenderbim\bim\module\geometry\operator.py", line 817, in _execute
    
        return OverrideDuplicateMove.execute_ifc_duplicate_operator(self, context)
    
      File "C:\Users\Roel\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blenderbim\bim\module\geometry\operator.py", line 936, in execute_ifc_duplicate_operator
    
        OverrideDuplicateMove.remove_linked_aggregate_data(old_to_new)
    
      File "C:\Users\Roel\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blenderbim\bim\module\geometry\operator.py", line 1003, in remove_linked_aggregate_data
    
        tool.Ifc.run("group.unassign_group", group=linked_aggregate_group[0], products=[new[0]])
    
    IndexError: list index out of range
    
    
    ifc: New-Wall240716.ifc
    
    schema: IFC4
    
    preprocessor_version: IfcOpenShell 0.0.0
    
    originating_system: BlenderBIM 0.7.10.240717
    
  2. B

    @Roel Hi, this is a bug. I'll try to fix soon.

    However, is there any reason why you created the block as "IfcElementAssembly"?

  3. R

    Thanks Bruno, I was not sure what would the best Ifc type be? Which one would you use?

  4. B
  5. R

    great thanks

  6. R

    I tried to clean-up my project by deleting duplicate Profiles, the model looked good after deleting the duplicate profiles, I saved the project but when I opened it again the elements geometry disappeared, and I can’t get it back by changing the IfcType to a type with geometry.

    Could somebody please look into the attached IFC file, I used BB4.1 with BB240718 release.

    Thanks in advance.

    PS the duplicate worked well

  7. B

    Hi @Roel ,

    I can't tell what caused this problem, but one way to get them back is to reload the type:

    1. Select one of the bricks that has the geometry problem (I guess are all the one related to the NPF Brick type).

    2. Go to Object Information > Type and click Select Similar Type. I will select all the bricks with geometry problem

    3. Click on Enable Edit Type and choose a different type, like the "NFP Brick".

    4. Then click on Enable Edit Type again and choose the desired type, that is "NPF Brick".

    It might take a while because there are a lot of objects. I tested with just a few objects and it worked.

Login or Register to reply.