Skip to content

Turn Collada export into a streaming serializer #45

@aothms

Description

@aothms

The IfcGeom::Iterator is designed in a way to allow streaming access to geometrical elements. However, due to the nature of Collada, with library nodes for geometries and materials that precede the instantiation of objects, everything is currently retained in memory.

To implement this in a streaming fashion three parts need to be changed:

  1. Surface styles and default materials need to be queried before the IfcGeom::Iterator loop. This probably will result in emitting unused styles to the file
  2. No longer retain the geometry definition and placement information, but solely retain placement information in memory and emit geometry directly
  3. Switch to an XML library that supports streaming output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions