mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 05:46:51 +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:
@@ -1,5 +1,5 @@
|
||||
set(document_serializer_plugin_runtime_dir "${CMAKE_BINARY_DIR}/serializers/$<CONFIG>")
|
||||
set(geometry_serializer_plugin_runtime_dir "${CMAKE_BINARY_DIR}/serializers/$<CONFIG>")
|
||||
set(document_serializer_plugin_runtime_dir "$<TARGET_FILE_DIR:IfcGeom>")
|
||||
set(geometry_serializer_plugin_runtime_dir "$<TARGET_FILE_DIR:IfcGeom>")
|
||||
|
||||
file(GLOB SERIALIZERS_H_FILES *.h)
|
||||
file(GLOB SERIALIZERS_S_H_FILES schema_dependent/*.h)
|
||||
|
||||
Reference in New Issue
Block a user