Skip to content

export_ifc problems #17

Open
Open
@vinnividivicci

Description

@vinnividivicci

Hello,

  1. When I use the export_ifc function it works, but not properly: I end up with elements not nested within the project. Screenshot from Blender:
image Is this the intended behaviour?

I'm using IFC4 files as inputs in case that changes something.

  1. When I use the export_ifc it seems to place all instances of certain class, even if only one instance in that class"intersects" with the input voxels. For example, if a run of duct which contains an elbow intersects with the input voxels, then all instances within that class (even if they don't intersect the voxels) seem to get exported:
image Am I doing something wrong or is this a bug?

Input code:

file1 = parse("older_file.ifc")
file2 = parse("newer_file.ifc")
all_surfaces_file_1 = create_geometry(file1)
all_surfaces_file_2 = create_geometry(file2)
file1_voxels = voxelize(all_surfaces_file_1)
file2_voxels = voxelize(all_surfaces_file_2)
added = subtract(file2_voxels,file1_voxels)
removed = subtract(file1_voxels,file2_voxels)
export_ifc(file2, added, all_surfaces_file_2, "added.ifc")

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions