Aapo
c39ede3b5f
[TD] Add Balloon property LineVisible for making the Balloon line visible or hidden.
2020-12-07 23:40:12 +02:00
Aapo
438169b335
[TD] Add Balloon property EndTypeScale for scaling line end decorations (arrows etc).
2020-12-07 23:40:12 +02:00
donovaly
38734f4f86
[TD] treat dimensions the same way, no matter if with unit or not
...
fixes the issue reported here: https://forum.freecadweb.org/viewtopic.php?f=35&t=52545&start=40#p454483
2020-12-05 03:58:39 +01:00
Aapo
72d003f102
[TD] Make DrawViewSpreadSheet respect DrawPage::redrawCommand() update mechanism.
2020-12-05 00:50:20 +02:00
Aapo
6803af4dc4
[TD] Fix column index range checking bug in std::string DrawViewSpreadsheet::getSheetImage(void)
2020-12-05 00:50:19 +02:00
Mark O'Donovan
bc3f90663e
Remove unused variable in DrawViewDimension.cpp
2020-12-04 17:13:56 +01:00
donovaly
a1915d313a
[TD] make LineGroup selectable
...
At the moment one has to specify the LineGroup as string. But one doesn't know what groups exist. So one has to check the Wiki, learn there where the groups are defined and then open the definition file with a text editor.
This PR simplifies this by reading the existing groups out of the definition file and fill the combobox accordingly.
It also give the user info what the selected LineGroup defines via the tooltip.
A nice side effect is that no typos can occur since you don't have to enter the LineGroup name as text.
2020-12-03 17:24:49 +01:00
donovaly
8fe7ca0c21
tolerances can be negative, thus the decimal precision check must be adapted
2020-12-03 15:50:06 +01:00
donovaly
0baabcaa45
[TD] fix unit mismatch bug
...
- also make global decimal option italic since it only affects new dimensions
- also fix a typo in UnitsApi.h
2020-12-03 15:50:06 +01:00
wmayer
578e4aca14
[TD] add an enum to avoid to work with plain numbers
2020-12-02 16:42:21 +01:00
wmayer
e95b3167dd
[TD] use PropertyQuantity for OverTolerance and UnderTolerance and add backward compatibility
2020-12-02 16:42:10 +01:00
aapo-aapo
e71b7ac879
@aapo-aapo @chennes [TD] Suggested minor improvements for DrawViewDimension.cpp and QGIViewDimension.cpp in Pull request review.
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2020-12-02 16:38:21 +01:00
Aapo
3f623576d5
[TD] Add tolerance format specifiers and arbitrary tolerances.
2020-12-02 16:38:21 +01:00
Aapo
768a2b1f11
[TD] Make tolerance labels use the same formatValue() conversion as dimension labels. Support MultiValueSchemas for tolerances, too.
2020-12-02 16:38:21 +01:00
Aapo
c695b4009b
[TD] Refactor DrawViewDimension getFormatedValue() into two functions.
2020-12-02 16:38:21 +01:00
Aapo
31d6c7528d
Refactor code in DrawViewDimension::getRefType() shorter and simpler. No functional change except subelement sizes > 3 are supported, even though they are not supposed to happen.
2020-11-19 13:40:42 +01:00
Aapo
bda3e700fa
[TD]fix V2E DistanceX,Y to always use the closest point of edge to the vertex.
2020-11-18 14:54:44 +01:00
luz paz
a3cb87b117
TechDraw: Header uniformity and whitespace fixes
2020-11-14 16:59:51 +01:00
Yorik van Havre
2bf4448e09
TechDraw: Better tooltip for scale property
2020-10-20 14:50:23 +02:00
wmayer
e5a3ba0ce8
TechDraw: [skip ci] Coverity: Uninitialized scalar variable/Uninitialized scalar field
2020-09-14 13:54:55 +02:00
wmayer
9fd5769f07
TechDraw: [skip ci] fix several gcc/clang warnings
...
-Wunused-private-field
-Wmaybe-uninitialized
-Wunused-parameter
2020-09-11 15:10:58 +02:00
wandererfan
3d6390bc93
[TD]Allow single line S/S view
2020-09-02 11:42:10 -04:00
wandererfan
ad1b48b73d
[TD]fix V2E DistanceX,Y
2020-08-30 18:59:11 -04:00
wandererfan
cc81f791da
[TD]change Angle Dim tolerance format
2020-08-22 08:56:57 -04:00
wandererfan
1cad17c5f5
[TD]draw line through 2 points
2020-08-19 09:02:25 -04:00
wandererfan
f56825c79f
[TD]handle bad preferences in AppImage temp dir
2020-08-14 09:37:14 -04:00
wandererfan
abd18ff88f
[TD]fix showSectionEdge preference
2020-08-10 10:19:09 -04:00
wandererfan
64200d8287
[TD]add py getEdgeBySelection
2020-08-06 10:21:13 -04:00
wandererfan
989519e002
[TD]Fix extent dim for edge collection
2020-07-31 08:55:54 -04:00
wmayer
cd5341001e
remove superfluous includes of iostream, use iosfwd instead
2020-07-28 15:22:23 +02:00
wandererfan
8dac7e4666
[TD]fix misaligned PAT hatch on section
2020-07-25 10:30:13 -04:00
wmayer
d300d148c9
LGTM: [skip ci] fix: Function declared in block
2020-07-24 20:37:17 +02:00
wmayer
d5d7d65bfc
LGTM: [skip ci] fix: Large object passed by value
2020-07-24 18:32:31 +02:00
wmayer
b25dee58d5
Coverity: Uninitialized scalar/pointer field
2020-07-20 17:34:30 +02:00
wmayer
45b755a596
Coverity: Unchecked dynamic_cast
2020-07-20 17:34:28 +02:00
wmayer
60b4918333
Coverity: Explicit null dereferenced
2020-07-20 17:34:27 +02:00
wmayer
4a494fec69
Coverity: Dereference null return value
2020-07-20 17:34:26 +02:00
wmayer
473553a212
PVS: V595 A pointer was utilized before it was verified against nullptr
2020-07-18 10:59:28 +02:00
wmayer
16f953ad65
PVS: V1004 A pointer was used unsafely after it was verified against nullptr
2020-07-18 10:59:27 +02:00
wmayer
dccb2a3c3c
PVS: V523 The 'then' statement is equivalent to the 'else' statement
2020-07-18 10:59:27 +02:00
wmayer
e9bc970c28
PVS: V522 There might be dereferencing of a potential null pointer
2020-07-18 10:59:27 +02:00
wmayer
cbb5f99ade
PVS: V730 Not all members of a class are initialized inside the constructor
2020-07-18 10:59:27 +02:00
wandererfan
0ab224b46e
[TD]makeCosmeticLine Y inversion
2020-07-12 09:04:59 -04:00
wandererfan
b7e8ad9a4e
[TD]DPG spacing for oblique views
2020-07-07 15:26:20 -04:00
WandererFan
19d37ec5df
[TD]tweak CosmeticEdge point getters
2020-07-01 20:22:39 -04:00
wandererfan
9bd95ed10f
[TD]CosmeticVertex default size
2020-06-23 08:21:13 -04:00
wandererfan
002e25b561
[TD]Cosmetic Edge endpoint inversion
2020-06-20 12:36:54 -04:00
wandererfan
ff66708c35
[TD]Detail default scale
2020-06-20 12:36:54 -04:00
wandererfan
31f64d3a3a
[TD]Fix jumping section view
2020-06-19 07:18:47 -04:00
donovaly
ddf0cf3136
[TD] code optimization for DrawViewPart
...
Use same code for GeomHatch and Hatch in DrawViewPart as discussed here: https://forum.freecadweb.org/viewtopic.php?f=35&t=47536&start=10
2020-06-16 10:02:21 -04:00