Skip to content

Commit

Permalink
add, update and uniform tooltips for Arch preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
donovaly authored and yorikvanhavre committed Jul 26, 2019
1 parent 8806e44 commit 91db048
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 29 deletions.
20 changes: 13 additions & 7 deletions src/Mod/Arch/Resources/ui/preferences-dae.ui
Expand Up @@ -37,6 +37,9 @@
</item>
<item>
<widget class="Gui::PrefDoubleSpinBox" name="doubleSpinBox">
<property name="toolTip">
<string>All dimensions in the file will be scaled with this factor </string>
</property>
<property name="decimals">
<number>4</number>
</property>
Expand Down Expand Up @@ -68,7 +71,8 @@
<item>
<widget class="Gui::PrefComboBox" name="comboBox">
<property name="toolTip">
<string>The mesher to use. If using netgen, make sure netgen is enabled in the Mesh module</string>
<string>Meshing program that should be used.
If using Netgen, make sure that it is available.</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>ColladaMesher</cstring>
Expand Down Expand Up @@ -116,7 +120,7 @@
<item>
<widget class="Gui::PrefDoubleSpinBox" name="doubleSpinBox_2">
<property name="toolTip">
<string>The tessellation value to use with the builtin and mefisto meshers</string>
<string>Tessellation value to use with the Builtin and the Mefisto meshing program.</string>
</property>
<property name="decimals">
<number>4</number>
Expand Down Expand Up @@ -155,7 +159,9 @@
<item>
<widget class="Gui::PrefDoubleSpinBox" name="doubleSpinBox_3">
<property name="toolTip">
<string>The grading value to use for netgen meshing</string>
<string>Grading value to use for meshing using Netgen.
This value describes how fast the mesh size decreases.
The gradient of the local mesh size h(x) is bound by |Δh(x)| ≤ 1/value.</string>
</property>
<property name="decimals">
<number>4</number>
Expand Down Expand Up @@ -185,7 +191,7 @@
<item>
<widget class="Gui::PrefSpinBox" name="spinBox">
<property name="toolTip">
<string>The maximum number of segments per edge</string>
<string>Maximum number of segments per edge</string>
</property>
<property name="minimum">
<number>1</number>
Expand Down Expand Up @@ -215,7 +221,7 @@
<item>
<widget class="Gui::PrefSpinBox" name="spinBox_2">
<property name="toolTip">
<string>The number of segments per radius</string>
<string>Number of segments per radius</string>
</property>
<property name="minimum">
<number>1</number>
Expand All @@ -238,7 +244,7 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox">
<property name="toolTip">
<string>Allow second order</string>
<string>Allow a second order mesh </string>
</property>
<property name="text">
<string>Second order</string>
Expand Down Expand Up @@ -281,7 +287,7 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_3">
<property name="toolTip">
<string>Allow quad faces</string>
<string>Allow quadrilateral faces</string>
</property>
<property name="text">
<string>Allow quads</string>
Expand Down
81 changes: 59 additions & 22 deletions src/Mod/Arch/Resources/ui/preferences-ifc.ui
Expand Up @@ -42,7 +42,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_5">
<property name="toolTip">
<string>Show verbose information during import and export of IFC files</string>
<string>Shows verbose debug messages during import and export
of IFC files in the Report view panel</string>
</property>
<property name="text">
<string>Show debug messages</string>
Expand All @@ -57,6 +58,10 @@
</item>
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_6">
<property name="toolTip">
<string>Clones are used when objects have shared geometry
One object is the base object, the others are clones. </string>
</property>
<property name="text">
<string>Create clones when objects have shared geometry</string>
</property>
Expand Down Expand Up @@ -185,7 +190,8 @@
<item>
<widget class="Gui::PrefLineEdit" name="lineEdit_2">
<property name="toolTip">
<string>Only subtypes of this element will be imported. Keep value as &quot;IfcProduct&quot; to import all building elements.</string>
<string>Only subtypes of the specified element will be imported.
Keep the element IfcProduct to import all building elements. </string>
</property>
<property name="text">
<string notr="true">IfcProduct</string>
Expand All @@ -203,7 +209,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_6">
<property name="toolTip">
<string>If this is checked, openings will be imported as subtractions. Otherwise wall shapes will already have their openings subtracted</string>
<string>Openings will be imported as subtractions, otherwise wall shapes
will already have their openings subtracted</string>
</property>
<property name="text">
<string>Separate openings</string>
Expand All @@ -219,7 +226,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_2">
<property name="toolTip">
<string>If this is checked, the importer will try to detect extrusions. This might slow things down...</string>
<string>The importer will try to detect extrusions.
Note that this might slow things down.</string>
</property>
<property name="text">
<string>Detect extrusions</string>
Expand Down Expand Up @@ -251,7 +259,7 @@
<item>
<widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_7">
<property name="toolTip">
<string>If this is checked, object names will be prefixed with the IFC ID number</string>
<string>Object names will be prefixed with the IFC ID number</string>
</property>
<property name="text">
<string>Prefix names with ID number</string>
Expand All @@ -267,7 +275,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_3">
<property name="toolTip">
<string>If several materials with the same name are found in the IFC file, they will be treated as one.</string>
<string>If several materials with the same name are found in the IFC file,
they will be treated as one.</string>
</property>
<property name="text">
<string>Merge materials with same name</string>
Expand All @@ -283,10 +292,10 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_8">
<property name="toolTip">
<string>If checked each object will have their Ifc Properties stored in a spreadsheet object.</string>
<string>Each object will have their IFC properties stored in a spreadsheet object</string>
</property>
<property name="text">
<string>Import Ifc Properties in spreadsheet</string>
<string>Import IFC properties in spreadsheet</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>ifcImportProperties</cstring>
Expand All @@ -308,7 +317,7 @@
<item>
<widget class="Gui::PrefLineEdit" name="gui::preflineedit">
<property name="toolTip">
<string>A comma-separated list of Ifc entities to exclude from import</string>
<string>Comma-separated list of IFC entities to be excluded from imports </string>
</property>
<property name="text">
<string/>
Expand All @@ -329,7 +338,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_14">
<property name="toolTip">
<string>Fit view during import on the imported objects. This will slow down the import, but one can watch the import.</string>
<string>Fit view during import on the imported objects.
This will slow down the import, but one can watch the import. </string>
</property>
<property name="text">
<string>Fit view while importing</string>
Expand All @@ -344,6 +354,10 @@
</item>
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_18">
<property name="toolTip">
<string>Creates a full parametric model on import using stored
FreeCAD object properties</string>
</property>
<property name="text">
<string>Import full FreeCAD parametric definitions if available</string>
</property>
Expand All @@ -367,7 +381,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox">
<property name="toolTip">
<string>Some IFC viewers don't like objects exported as extrusions. Use this to force all objects to be exported as BREP geometry.</string>
<string>Some IFC viewers don't like objects exported as extrusions.
Use this to force all objects to be exported as BREP geometry. </string>
</property>
<property name="text">
<string>Force export as Brep</string>
Expand Down Expand Up @@ -399,7 +414,9 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_5">
<property name="toolTip">
<string>Curved shapes that cannot be represented as curves in IFC are decomposed into flat facets. If this is checked, some additional calculations are done to join coplanar facets.</string>
<string>Curved shapes that cannot be represented as curves in IFC
are decomposed into flat facets.
If this is checked, additional calculation is done to join coplanar facets. </string>
</property>
<property name="text">
<string>Join coplanar facets when triangulating</string>
Expand All @@ -415,10 +432,12 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_9">
<property name="toolTip">
<string>When exporting objects without UID, the generated UID will be stored inside the FreeCAD object for reuse next time that object is exported, which gives smaller diffs between versions</string>
<string>When exporting objects without unique ID (UID), the generated UID
will be stored inside the FreeCAD object for reuse next time that object
is exported. This leads to smaller differences between file versions. </string>
</property>
<property name="text">
<string>Store IFC universal ID in FreeCAD objects</string>
<string>Store IFC unique ID in FreeCAD objects</string>
</property>
<property name="checked">
<bool>true</bool>
Expand All @@ -434,7 +453,10 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_10">
<property name="toolTip">
<string>Warning, experimental feature!</string>
<string>IFCOpenShell is a library that allows to import IFC files.
Its serializer functionality allows to give it an OCC shape and it will
produce adequate IFC geometry: NURBS, faceted, or anything else
Note: The serializer this is still an experimental feature!</string>
</property>
<property name="text">
<string>Use IfcOpenShell serializer if available</string>
Expand All @@ -449,6 +471,9 @@
</item>
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_12">
<property name="toolTip">
<string>2D objects will be exported as IfcAnnotation</string>
</property>
<property name="text">
<string>Export 2D objects as IfcAnnotations</string>
</property>
Expand All @@ -466,7 +491,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_13">
<property name="toolTip">
<string>If this is checked, all FreeCAD object properties will be stored inside the exported objects, allowing to recreate a full parametric model on reimport.</string>
<string>All FreeCAD object properties will be stored inside the exported objects,
allowing to recreate a full parametric model on reimport. </string>
</property>
<property name="text">
<string>Export full FreeCAD parametric model</string>
Expand All @@ -482,7 +508,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_15">
<property name="toolTip">
<string>If this is checked, when possible, similar entities will be used only once in the file. This can reduce the file size a lot, but will make it less easily readable by humans</string>
<string>When possible, similar entities will be used only once in the file if possible.
This can reduce the file size a lot, but will make it less easily readable. </string>
</property>
<property name="text">
<string>Reuse similar entities</string>
Expand All @@ -501,7 +528,10 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_16">
<property name="toolTip">
<string>When possible, IFC objects that are extruded rectangles are exported as IfcRectangleProfileDef. However, some other applications notoriously have problems importing that entity. If this is your case, you can disable this here (all profiles will be exported as IfcArbitraryClosedProfileDef).</string>
<string>When possible, IFC objects that are extruded rectangles will be
exported as IfcRectangleProfileDef.
However, some other applications might have problems importing that entity.
If this is your case, you can disable this and then all profiles will be exported as IfcArbitraryClosedProfileDef. </string>
</property>
<property name="text">
<string>Disable IfcRectangleProfileDef</string>
Expand All @@ -517,7 +547,10 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_17">
<property name="toolTip">
<string>Some IFC types such as IfcWall or IfcBeam have special standard versions like IfcWallStandardCase or IfcBeamStandardCase. If this option is turned on, FreeCAD will automatically export such objects as standard cases when the necessary conditions are met.</string>
<string>Some IFC types such as IfcWall or IfcBeam have special standard versions
like IfcWallStandardCase or IfcBeamStandardCase.
If this option is turned on, FreeCAD will automatically export such objects
as standard cases when the necessary conditions are met.</string>
</property>
<property name="text">
<string>Auto-detect and export as standard cases when applicable</string>
Expand All @@ -533,7 +566,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_19">
<property name="toolTip">
<string>When exporting an IFC file, if no site is found in the FreeCAD document, a default one will be added. A site is not mandatory by the IFC standard, but it is a common practice to always have at least one in the file.</string>
<string>If no site is found in the FreeCAD document, a default one will be added.
A site is not mandatory but a common practice to have at least one in the file.</string>
</property>
<property name="text">
<string>Add default site if one is not found in the document</string>
Expand All @@ -549,7 +583,9 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_21">
<property name="toolTip">
<string>When exporting an IFC file, if no building is found in the FreeCAD document, a default one will be added.&lt;br/&gt;&lt;b&gt;Warning&lt;/b&gt;: The IFC standard asks for at least one building in each file. By turning this option off, you will produce a non-standard IFC file. However, at FreeCAD, we believe having a building should not be mandatory, and this option is there so we have a chance to show our point of view to the world and try to convince others.</string>
<string>If no building is found in the FreeCAD document, a default one will be added.
Warning: The IFC standard asks for at least one building in each file. By turning this option off, you will produce a non-standard IFC file.
However, at FreeCAD, we believe having a building should not be mandatory, and this option is there to have a chance to demonstrate our point of view.</string>
</property>
<property name="text">
<string>Add default building if one is not found in the document (no standard)</string>
Expand All @@ -568,7 +604,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_20">
<property name="toolTip">
<string>When exporting an IFC file, if no building storey is found in the FreeCAD document, a default one will be added. A building storey is not mandatory by the IFC standard, but it is a common practice to always have at least one in the file.</string>
<string>If no building storey is found in the FreeCAD document, a default one will be added.
A building storey is not mandatory but a common practice to have at least one in the file.</string>
</property>
<property name="text">
<string>Add default building storey if one is not found in the document</string>
Expand Down

0 comments on commit 91db048

Please sign in to comment.