Commit Graph

2573 Commits

Author SHA1 Message Date
wandererfan
7236d7442a [TD]fix balloon visibility behaviour 2023-12-27 19:46:34 -05:00
wandererfan
c91a35961f [TD]mute dimension autocorrect warning 2023-12-24 12:27:25 -05:00
wandererfan
e6517089df [TD]fix location of CV on rotated views 2023-12-24 12:27:25 -05:00
wandererfan
5bd873c5c8 [TD]fix warning re catch on polymorphic class 2023-12-24 08:30:53 -05:00
wandererfan
43d8fa81f5 [TD]prevent fail during document restore 2023-12-24 08:30:53 -05:00
Tomas Pavlicek
8d51d78ce7 [TechDraw] Tree view update refactoring (#11815) 2023-12-23 08:06:58 -05:00
Alex Neufeld
7a2be9e725 [TechDraw] italicize leaderline auto-horizontal preference checkbox (#11813)
... to correctly indicate that it only applies to new objects.
2023-12-23 08:02:12 -05:00
Tomas Pavlicek
f3fa2ba9c9 [TechDraw] Implement proper selection of subitems (#11804) 2023-12-22 08:25:58 -05:00
WandererFan
1aba6376a2 Merge pull request #11806 from WandererFan/LinkDoubleTransform
[TD]prevent gp_GTrsf::Trsf() - non-orthogonal GTrsf
2023-12-21 20:37:40 -05:00
WandererFan
54c63d8b5a Merge pull request #11797 from edi271/PositionSectionView
[TD] New extended version of PositionSectionView tool.
2023-12-21 18:02:31 -05:00
wandererfan
18e62a731c [TD]prevent gp_GTrsf::Trsf() - non-orthogonal GTrsf 2023-12-21 17:32:16 -05:00
edi271
764963ba90 [TD] New version of PositionSectionView 2023-12-21 16:04:36 +01:00
edi271
67d12ec99a [TD] Connect PositionSectionView to TechDraw 2023-12-21 16:04:36 +01:00
edi271
f201f713cc [TD] Solve issue in MenuBar 2023-12-21 16:04:36 +01:00
edi271
6da64e0521 [TD]Remove PositionSectionView, solve Line Style issue 2023-12-21 16:04:36 +01:00
wandererfan
2a51d79afd [TD]fix double transform for linked objects 2023-12-21 09:46:09 -05:00
wandererfan
f9ea3bc072 [TD]fix Landmark dim with datum points 2023-12-20 19:33:00 -05:00
wandererfan
305e678c88 [TD]fix vertex-edge dimension 2023-12-20 19:33:00 -05:00
Yorik van Havre
a679c8b818 merged crowdin translations 2023-12-20 09:27:37 +01:00
Yorik van Havre
f78959fab3 Updated ts files 2023-12-20 09:27:37 +01:00
mos
eb4214da4c Removed redundant float casts
fix cast promotions
2023-12-19 14:26:05 +01:00
wandererfan
091d9c34af [TD]add properties for detail highlight and matting 2023-12-17 08:37:19 -05:00
wandererfan
26a72236f9 [TD]template green squares to underline 2023-12-17 08:37:19 -05:00
Syres916
eaf1f88d63 [TechDraw] Correct typo in folder name 2023-12-16 23:01:55 -03:00
pavltom
fb2d5a6a83 [TechDraw] Fix scrubEdges() OCC error with single input edge 2023-12-11 23:40:33 +01:00
André Caldas
560898907b Avoids using getNameInDocument() to test if DocumentObject is attached to a Document.
This patch substitutes by isAttachedToDocument() (almost) everywhere where
getNameInDocument() is used for this purpose.

The very few places not touched by this patch demand a (just a little) less trivial change.
When we change the returning type of getNameInDocument() to std::string,
those places will be easily found, because they shall generate a compiler error
(converting std::string to bool).

Rationale:
The fact that getNameInDocument() return nullptr to indicate
that the object is not attached to a document is responsible for lots of bugs
where the developer does not check for "nullptr".

The idea is to eliminate all those uses of getNameInDocument() and, in the near future,
make getNameInDocument() return always a valid std::string.
2023-12-11 17:37:58 +01:00
Syres916
5c2eedbd14 [TechDraw] Add missing quotation marks 2023-12-07 19:55:01 -05:00
Syres916
b0e43fe759 [TechDraw] Fix Lint Warning 2023-12-07 19:55:01 -05:00
Syres916
60066382fc [TechDraw] Fix Lint Warnings 2023-12-07 19:55:01 -05:00
Syres916
c81435c615 [TechDraw] Collect doc info to fill template fields 2023-12-07 19:55:01 -05:00
pavltom
ba236d0b94 [TechDraw] Use OCC to split intersecting edges 2023-12-07 10:14:30 -05:00
edi271
0c0c3d0e86 [TD] Improve AxoLengthDimension tool 2023-12-07 09:24:09 -05:00
edi271
4efa774f12 [TD] Extend utils by two more functions 2023-12-07 09:24:09 -05:00
luzpaz
855aa453a0 Fix typos 2023-12-06 14:53:48 -05:00
wandererfan
1593fe5247 [TD]fix line standard drop downs 2023-12-06 14:52:54 -05:00
wandererfan
b450a62ef5 [TD]fix section scale
- scale field in ui was QuantitySpinBox which is wrong for
  dimensionless number.
- section view scale was being set at only GlobalDecimals
  precision.
2023-12-06 14:52:54 -05:00
edi271
008fc3297a [TD] Connect to TechDraw 2023-12-06 08:50:59 -05:00
edi271
ec6e0de662 [TD] New command and task panel 2023-12-06 08:50:59 -05:00
edi271
7f17eaaec9 [TD] Extended utility tools 2023-12-06 08:50:59 -05:00
edi271
d75e7fbcf3 [TD] Icon and dialog file 2023-12-06 08:50:59 -05:00
Syres916
3eed1107c8 [Techdraw] Add missing Line Styles to CMakeLists.txt 2023-12-05 09:37:03 -05:00
wandererfan
9cb4745f38 [TD]handle loose geometry via HLR 2023-12-03 08:55:59 -05:00
wandererfan
dc063eabec [TD]fix fix hidden line style 2023-12-02 13:55:08 -05:00
wandererfan
9e7f21fcb2 [TD]fix line numbering in preferences
- resolve conflict between comboBox currentIndex [0,n] and
  line numbering [1, n]
2023-12-02 13:55:08 -05:00
pavltom
4ea5c2b611 [TechDraw] Use OCC to compute intersections - drop limits from hint 2023-12-02 13:54:37 -05:00
pavltom
b26b83dfee [TechDraw] Use OCC to compute intersections of any types of curves 2023-12-02 13:54:37 -05:00
wandererfan
8f17842974 [TD]fix errors in MS CI
- apparently the "or" alternative to "||" is not supported
  by MS but is part of the c++ specification:
  https://en.cppreference.com/w/cpp/language/operator_alternative

- also missing TechDrawExport
2023-12-01 11:27:29 -05:00
wandererfan
762e1b53ff [TD]Standard Line Styles - Gui components 2023-12-01 11:27:29 -05:00
wandererfan
b64fd9ac03 [TD]Standard Line Styles - data files 2023-12-01 11:27:29 -05:00
wandererfan
8a7e8effb3 [TD]Standard Line Styles - App components 2023-12-01 11:27:29 -05:00