mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-28 15:53:00 +00:00
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:
@@ -30,6 +30,7 @@ enum class SourceMode {
|
||||
IfcFile,
|
||||
IfcDatabase,
|
||||
GeometryOnly,
|
||||
ConvertToDatabase,
|
||||
};
|
||||
|
||||
class AddModelDialog : public components::Dialog {
|
||||
|
||||
Reference in New Issue
Block a user