Commit Graph

2565 Commits

Author SHA1 Message Date
WandererFan
258b9bcdbe Merge pull request #11806 from WandererFan/LinkDoubleTransform
[TD]prevent gp_GTrsf::Trsf() - non-orthogonal GTrsf
2023-12-21 20:37:40 -05:00
WandererFan
e4d22148d8 Merge pull request #11797 from edi271/PositionSectionView
[TD] New extended version of PositionSectionView tool.
2023-12-21 18:02:31 -05:00
wandererfan
9ceb9de19f [TD]prevent gp_GTrsf::Trsf() - non-orthogonal GTrsf 2023-12-21 17:32:16 -05:00
edi271
5b832bacf9 [TD] New version of PositionSectionView 2023-12-21 16:04:36 +01:00
edi271
6d77f75cd2 [TD] Connect PositionSectionView to TechDraw 2023-12-21 16:04:36 +01:00
edi271
a9764d5fa5 [TD] Solve issue in MenuBar 2023-12-21 16:04:36 +01:00
edi271
c40d0c3ef8 [TD]Remove PositionSectionView, solve Line Style issue 2023-12-21 16:04:36 +01:00
wandererfan
a1dbf53044 [TD]fix double transform for linked objects 2023-12-21 09:46:09 -05:00
wandererfan
6ce41201cd [TD]fix Landmark dim with datum points 2023-12-20 19:33:00 -05:00
wandererfan
2cc6c1f504 [TD]fix vertex-edge dimension 2023-12-20 19:33:00 -05:00
Yorik van Havre
651fc54a8c merged crowdin translations 2023-12-20 09:27:37 +01:00
Yorik van Havre
1f65348080 Updated ts files 2023-12-20 09:27:37 +01:00
mos
243acce4e6 Removed redundant float casts
fix cast promotions
2023-12-19 14:26:05 +01:00
wandererfan
90b0c15cbf [TD]add properties for detail highlight and matting 2023-12-17 08:37:19 -05:00
wandererfan
37c54b6708 [TD]template green squares to underline 2023-12-17 08:37:19 -05:00
Syres916
5ae3a5da9d [TechDraw] Correct typo in folder name 2023-12-16 23:01:55 -03:00
pavltom
103f37eee1 [TechDraw] Fix scrubEdges() OCC error with single input edge 2023-12-11 23:40:33 +01:00
André Caldas
89dbab9b0e 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
e0494febb4 [TechDraw] Add missing quotation marks 2023-12-07 19:55:01 -05:00
Syres916
207f2c7714 [TechDraw] Fix Lint Warning 2023-12-07 19:55:01 -05:00
Syres916
d7ee7c7c03 [TechDraw] Fix Lint Warnings 2023-12-07 19:55:01 -05:00
Syres916
94b201309e [TechDraw] Collect doc info to fill template fields 2023-12-07 19:55:01 -05:00
pavltom
10f4cd8cc5 [TechDraw] Use OCC to split intersecting edges 2023-12-07 10:14:30 -05:00
edi271
111bcc1b0c [TD] Improve AxoLengthDimension tool 2023-12-07 09:24:09 -05:00
edi271
cfc1cf2f91 [TD] Extend utils by two more functions 2023-12-07 09:24:09 -05:00
luzpaz
d584643a05 Fix typos 2023-12-06 14:53:48 -05:00
wandererfan
efd3407dd8 [TD]fix line standard drop downs 2023-12-06 14:52:54 -05:00
wandererfan
fb128a3f4d [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
703561f7bc [TD] Connect to TechDraw 2023-12-06 08:50:59 -05:00
edi271
db7639c186 [TD] New command and task panel 2023-12-06 08:50:59 -05:00
edi271
55f8e45d02 [TD] Extended utility tools 2023-12-06 08:50:59 -05:00
edi271
1c8affd0f4 [TD] Icon and dialog file 2023-12-06 08:50:59 -05:00
Syres916
5d64833d5c [Techdraw] Add missing Line Styles to CMakeLists.txt 2023-12-05 09:37:03 -05:00
wandererfan
1d3aca0733 [TD]handle loose geometry via HLR 2023-12-03 08:55:59 -05:00
wandererfan
2c0a69e171 [TD]fix fix hidden line style 2023-12-02 13:55:08 -05:00
wandererfan
ac6c3786b0 [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
cc12843e1d [TechDraw] Use OCC to compute intersections - drop limits from hint 2023-12-02 13:54:37 -05:00
pavltom
289dda439a [TechDraw] Use OCC to compute intersections of any types of curves 2023-12-02 13:54:37 -05:00
wandererfan
2010acc142 [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
d4e1731716 [TD]Standard Line Styles - Gui components 2023-12-01 11:27:29 -05:00
wandererfan
79694d9956 [TD]Standard Line Styles - data files 2023-12-01 11:27:29 -05:00
wandererfan
70d89b7437 [TD]Standard Line Styles - App components 2023-12-01 11:27:29 -05:00
luzpaz
5c21351608 Fix various typos 2023-11-30 14:58:06 +01:00
Yorik van Havre
fac94ba932 Translations (#11551)
* Updated ts files

* merged crowdin translations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 11:29:38 -06:00
Chris Hennes
cfd41683a5 Core: Enable compiling with MSVC /permissive- (#11014)
* Base: Fixes for MSVC permissive-

* App: Fixes for MSVC permissive-

* Gui: Fixes for MSVC permissive-

* Main: Fixes for MSVC permissive-

* Fem: Fixes for MSVC permissive-

* Material: Fixes for MSVC permissive-

* Part: Fixes for MSVC permissive-

* Mesh: Fixes for MSVC permissive-

* Points: Fixes for MSVC permissive-

* Robot: Fixes for MSVC permissive-

* TechDraw: Fixes for MSVC permissive-

* Path: Fixes for MSVC permissive-

* Core; Changes per review comments

* TD: Revision from wandererfan

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
wandererfan
7301610a5f [TD]fix wrong include 2023-11-26 16:42:06 -05:00
wandererfan
b8bea76481 [TD]spelling in comments 2023-11-26 16:42:06 -05:00
wandererfan
2954cfa2b6 [TD]trap null 2d shape in ShapeExtractor 2023-11-26 16:42:06 -05:00
pavltom
b8278718e9 [TechDraw] Implement arc length calculation for arbitrary edge 2023-11-26 08:53:39 -05:00
pavltom
2e45b3f856 [TechDraw] Fix area balloon placement for scale != 1 2023-11-26 08:53:39 -05:00