OSArch Community

Slab from hollow profile problem

  1. S

    Hi,

    Tried to create slab from hollow profile and it looks ok to me but Bonsai can't create a section drawing of it.

    I tried this with stable version 0.8.1 and alpha 250328. File is attached.

    Edit:

    Error message

    Python: Traceback (most recent call last):

    File "C:\Users\Xxxxxx\AppData\Roaming\Blender Foundation\Blender\4.4\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\drawing\operator.py", line 299, in execute

    linework_svg = self.generate_linework(context)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    File "C:\Users\Xxxxxx\AppData\Roaming\Blender Foundation\Blender\4.4\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\drawing\operator.py", line 880, in generate_linework

    self.merge_linework_and_add_metadata(root)

    File "C:\Users\Xxxxxx\AppData\Roaming\Blender Foundation\Blender\4.4\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\drawing\operator.py", line 1436, in merge_linework_and_add_metadata

    for subpath in path.attrib["d"].split("M")[1:]:
    
                   ~~~~~~~~~~~^^^^^

    File "src\lxml\etree.pyx", line 2548, in lxml.etree._Attrib.getitem

    KeyError: 'd'

  2. T
  3. S

    Bug posted, thanks for confirming.

Login or Register to reply.