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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user