diff --git a/ifc_import.py b/ifc_import.py index e6553c3..a90d363 100644 --- a/ifc_import.py +++ b/ifc_import.py @@ -131,7 +131,7 @@ def get_options( switchwb = params.GetBool("SwitchWB", True) if silent: return strategy, shapemode, switchwb - ask = params.GetBool("AskAgain", True) + ask = params.GetBool("AskAgain", False) if ask and FreeCAD.GuiUp: import FreeCADGui from PySide import QtGui diff --git a/ui/dialogImport.ui b/ui/dialogImport.ui index 7fd1e78..1c801ef 100644 --- a/ui/dialogImport.ui +++ b/ui/dialogImport.ui @@ -6,8 +6,8 @@ 0 0 - 370 - 371 + 551 + 340 @@ -23,80 +23,80 @@ - Only root object + Only root object (default) - Project structure + Project structure (levels) - All individual products + All individual IFC objects - - + + - Objects type + Initial import - + - The type of object created at import. Mesh is faster, but Shapes are more precise. You can convert between the two anytime by right-clicking the object tree - - - 0 + This defines how the IFC data is stored in the FreeCAD document. 'Single IFC document' means that the FreeCAD document is the IFC document, anything you create in it belongs to the IFC document too. 'Use IFCdocument object' means that an object will be created inside the FreeCAD document to represent the IFC document. You will be able to add non-IFC objects alongside. - Full shape - - - - - Coin representation only + Locked (IFC objects only) - No 3D representation + Unlocked (non-IFC objects permitted) - - + + - Initial import + Lock document - + - Document type + Representation type - + - This defines how the IFC data is stored in the FreeCAD document. 'Single IFC document' means that the FreeCAD document is the IFC document, anything you create in it belongs to the IFC document too. 'Use IFCdocument object' means that an object will be created inside the FreeCAD document to represent the IFC document. You will be able to add non-IFC objects alongside. + The type of object created at import. Mesh is faster, but Shapes are more precise. You can convert between the two anytime by right-clicking the object tree + + + 1 - Single IFC document + Load the shape (slower) - Use IFC document object + Load 3D representation only, no shape (default) + + + + + No 3D representation at all @@ -113,16 +113,6 @@ - - - - If this is marked, objects not belonging to any project will be loaded too and placed in a separate group - - - Load orphan objects - - - @@ -162,7 +152,7 @@ Ask me again next time - true + false diff --git a/ui/preferencesNativeIFC.ui b/ui/preferencesNativeIFC.ui index 88e7c01..ee82057 100644 --- a/ui/preferencesNativeIFC.ui +++ b/ui/preferencesNativeIFC.ui @@ -6,7 +6,7 @@ 0 0 - 454 + 678 663 @@ -42,17 +42,17 @@ - Only root object + Only root object (default) - Project structure + Project structure (levels) - All individual products + All individual IFC objects @@ -60,7 +60,7 @@ - Objects type + Representation type @@ -70,7 +70,7 @@ The type of object created at import. Coin only is much faster, but you don't get the full shape information. You can convert between the two anytime by right-clicking the object tree - 0 + 1 ShapeMode @@ -80,17 +80,17 @@ - Full shape + Load full shape (slower) - Coin representation only + Load 3D representation only, no shape (default) - No 3D representation + No 3D representation at all @@ -113,22 +113,6 @@ - - - - If this is marked, objects not belonging to any project will be loaded too and placed in a separate group - - - Load orphan objects - - - LoadOrphans - - - Mod/NativeIFC - - - @@ -178,18 +162,15 @@ - + - If this is checked, a dialog will be shown at each import + When enabling this, the original version of objects dropped onto an IFC project tree will not be deleted. - Show options dialog when importing - - - true + Keep original version of aggregated objects - AskAgain + KeepAggregated Mod/NativeIFC @@ -197,31 +178,18 @@ - + - By default, groups containing non-geometrical data in an IFC document are hidden in the tree. You can show them by right-clicking the IFC document and selecting 'Shoiw hidden objects'. By enabling this setting, these groups will not be hidden by default anymore. + If this is checked, a dialog will be shown at each import - Show data groups - - - ShowDataGroups - - - Mod/NativeIFC - - - - - - - When enabling this, the original version of objects dropped onto an IFC project tree will not be deleted. + Show options dialog when importing - - Keep original version of aggregated objects + + true - KeepAggregated + AskAgain Mod/NativeIFC @@ -265,7 +233,7 @@ - Turn into an IFC-only document + Always lock new documents SingleDoc