Save verified native IFC import and user validation evidence

Real IFC2X3/IFC4 import tested. Full BIM authoring/export remains out of scope; 349-second building import performance remains to optimize.
This commit is contained in:
2026-09-16 04:27:37 +08:00
parent 9a7c4f0335
commit 72152ef356
120 changed files with 3020296 additions and 114 deletions

View File

@@ -28,6 +28,12 @@ try:
# Reuse the Part registrations from Mod/Part/Init.py. STEP with colors
# belongs to Import, not a geometry-only substitute in another module.
import Part
try:
import IfcOpenShellNative
if not App.getImportType('ifc'):
App.addImportType('Industry Foundation Classes (*.ifc *.IFC)', 'IfcOpenShellNative')
except ImportError:
pass
try:
import Mesh
if not App.getImportType('obj'): App.addImportType('Wavefront OBJ (*.obj *.OBJ)', 'Mesh')