Add IFC to RDB conversion in IfcViewerFull

Wire the AddModelDialog "Convert IFC File to Database" button to a new
ConvertToDatabase source mode handled by ModelsPanelController, which
prompts for an .ifc input and .rdb output then runs the existing
document_serializer_registry "rdb" plugin on a background QThread with
a modal progress dialog.

Build the src/serializers subdir for BUILD_IFCVIEWER so the rdb plugin
is produced, and align serializer plugin runtime output with the
kernel/mapping plugins by writing them into $<TARGET_FILE_DIR:IfcGeom>
so default plugin discovery finds them in both dev and install layouts.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Dion Moult
2026-05-15 08:43:48 +10:00
parent 6901533368
commit 56273de443
6 changed files with 138 additions and 7 deletions
@@ -30,6 +30,7 @@ enum class SourceMode {
IfcFile,
IfcDatabase,
GeometryOnly,
ConvertToDatabase,
};
class AddModelDialog : public components::Dialog {