Skip to content

Add IFCBRIDGE to IfcImporter default elements #203

@ynnob

Description

@ynnob

Description 📝

The WEBIFC.IFCBRIDGE is currently missing as an default element in classes.ts
I suggest adding it to be added as a default element. WEBIFC.BRIDGEPART elements for example might be children of WEBIFC.IFCBRIDGE and could be ignored without that element beeing processed.

Suggested solution 💡

Add WEBIFC.IFCBRIDGE

Alternative ⛕

Manually add WEBIFC.IFCBRIDGE to serializer.classes.elements

example:

  const serializer = new FRAGS.IfcImporter();
  const webIfcVersion = `webifc_${webIfcPkg.version}`;

  serializer.wasm = {
    path: `./wasm/${webIfcVersion}/`,
    absolute: false,
  };

  // missing in packages/fragments/src/Importers/IfcImporter/src/classes.ts
  serializer.classes.elements.add(WEBIFC.IFCBRIDGE);

Additional context ☝️

Missing this element can cause an entire tree structure to be incomplete. For example Viadotto Acerno

This Bridge has IFCBRIDGEPART elements as children of IFCBRIDGE but since IFCBRIDGE is not included as default they will not be visible/processed.

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureSomething new that we could do

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions