diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4.ui b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4.ui
index 3df8e9177e..6d1470267e 100644
--- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4.ui
+++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4.ui
@@ -28,8 +28,20 @@
-
-
-
-
+
-
+
+
+
+ true
+
+
+
+ Edge End Cap
+
+
+
+ -
+
0
@@ -37,31 +49,25 @@
- Dump intermediate results during Detail processing
+ Dump intermediate results during Section processing
- Debug Detail
+ Debug Section
- debugDetail
+ debugSection
- Mod/TechDraw/debugDetail
+ Mod/TechDraw/debug
- -
-
-
- Qt::Horizontal
+
-
+
+
+ Max Svg Hatch Tiles
-
-
- 40
- 20
-
-
-
+
-
@@ -90,6 +96,116 @@
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Dump intermediate results during Detail processing
+
+
+ Debug Detail
+
+
+ debugDetail
+
+
+ Mod/TechDraw/debugDetail
+
+
+
+ -
+
+
+ Limit on number of 64x64 Svg tiles used to hatch a single face
+
+
+ 1
+
+
+ 1000000
+
+
+ 100
+
+
+ 10000
+
+
+ MaxSVGTile
+
+
+ Mod/TechDraw/Decorations
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ If checked, TechDraw will attempt to build faces using the
+line segments returned by the hidden line removal algorithm.
+Faces must be detected in order to use hatching, but there
+can be a performance penalty in complex models.
+
+
+ Detect Faces
+
+
+ true
+
+
+ HandleFaces
+
+
+ /Mod/TechDraw/General
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Include edges with unexpected geometry (zero length etc) to be included in results.
+
+
+ Allow Crazy Edges
+
+
+ allowCrazyEdge
+
+
+ Mod/TechDraw/debug
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
-
@@ -129,68 +245,6 @@
- -
-
-
-
- 0
- 0
-
-
-
- Include edges with unexpected geometry (zero length etc) to be included in results.
-
-
- Allow Crazy Edges
-
-
- allowCrazyEdge
-
-
- Mod/TechDraw/debug
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- If checked, TechDraw will attempt to build faces using the
-line segments returned by the hidden line removal algorithm.
-Faces must be detected in order to use hatching, but there
-can be a performance penalty in complex models.
-
-
- Detect Faces
-
-
- true
-
-
- HandleFaces
-
-
- /Mod/TechDraw/General
-
-
-
- -
-
-
-
- true
-
-
-
- Edge End Cap
-
-
-
-
@@ -213,25 +267,35 @@ can be a performance penalty in complex models.
- -
-
-
-
- 0
- 0
-
-
-
- Dump intermediate results during Section processing
-
+
-
+
- Debug Section
+ Max PAT Hatch Segs
+
+
+
+ -
+
+
+ The maximum number of hatch line segments to use when hatching a face with a PAT pattern
+
+
+ 1
+
+
+ 1000000
+
+
+ 100
+
+
+ 10000
- debugSection
+ MaxSeg
- Mod/TechDraw/debug
+ Mod/TechDraw/PAT
@@ -275,6 +339,11 @@ can be a performance penalty in complex models.
+
+ Gui::PrefSpinBox
+ QSpinBox
+
+
Gui::PrefCheckBox
QCheckBox
diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4Imp.cpp b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4Imp.cpp
index 9a61cee942..7ade224bc3 100644
--- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4Imp.cpp
+++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4Imp.cpp
@@ -50,6 +50,8 @@ void DlgPrefsTechDraw4Imp::saveSettings()
cbDebugDetail->onSave();
cbShowSectionEdges->onSave();
cbFuseBeforeSection->onSave();
+ sbMaxTiles->onSave();
+ sbMaxPat->onSave();
}
void DlgPrefsTechDraw4Imp::loadSettings()
@@ -61,6 +63,8 @@ void DlgPrefsTechDraw4Imp::loadSettings()
cbDebugDetail->onRestore();
cbShowSectionEdges->onRestore();
cbFuseBeforeSection->onRestore();
+ sbMaxTiles->onRestore();
+ sbMaxPat->onRestore();
}
/**