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
luzpaz
faef0c6f27
Fix various typos
2023-11-30 14:58:06 +01:00
Yorik van Havre
3ade39ccf1
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
fa65438556
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
59282956bf
[TD]fix wrong include
2023-11-26 16:42:06 -05:00
wandererfan
f03461a85a
[TD]spelling in comments
2023-11-26 16:42:06 -05:00
wandererfan
ca90c73811
[TD]trap null 2d shape in ShapeExtractor
2023-11-26 16:42:06 -05:00
pavltom
84982fb25d
[TechDraw] Implement arc length calculation for arbitrary edge
2023-11-26 08:53:39 -05:00
pavltom
739fbc8df3
[TechDraw] Fix area balloon placement for scale != 1
2023-11-26 08:53:39 -05:00
wandererfan
5edda94043
[TD]fix disappearing balloon cursor
2023-11-25 08:05:50 -05:00
wandererfan
ae3144c7ce
[TD]fix Balloon location
2023-11-25 08:05:50 -05:00
wandererfan
54da041392
[TD]fix dimension location
2023-11-25 08:05:50 -05:00
Syres916
c298594cbe
[Techdraw] Hole & Shaft Fit Error Enhancement
2023-11-25 08:05:23 -05:00
pavltom
4751481167
[TechDraw] Set Calculate Area icon units to pixels
2023-11-23 19:47:04 -05:00
pavltom
0e5aa8c4df
[TechDraw] Fixes #7317 - Calculate Area of Arbitrary Faces
2023-11-23 19:47:04 -05:00
wandererfan
b239797b3e
[TD]fix RTA bounding rect
2023-11-22 08:43:35 -05:00
wandererfan
7b0ee89cf1
[TD]fix position of RTA on Svg export
2023-11-22 08:43:35 -05:00
Chris Hennes
90dc4aeb13
Update translations
2023-11-20 13:46:22 -06:00
pavltom
2ffca4958a
[TechDraw] Multiselection mode implementation
2023-11-16 20:45:02 -05:00
pavltom
e3fe68a0f3
[TechDraw] Remove obsolete getYInClip method
2023-11-16 20:45:02 -05:00
pavltom
98a005b7b5
[TechDraw] Remove nowhere used m_dragState
2023-11-16 20:45:02 -05:00
pavltom
ec6df1726e
[TechDraw] Refactor QGIView and QGIPrimPath mouse processing
2023-11-16 20:45:02 -05:00
pavltom
bd69b1c341
[TechDraw] Remove now unused SelectPoint signal relics
2023-11-16 20:45:02 -05:00
pavltom
87e2c36dda
[TechDraw] Fix app selection not reflecting Qt selection
2023-11-16 20:45:02 -05:00
pavltom
886c683f65
[TechDraw] Fix DrawView.setPosition signaling changes always
2023-11-16 20:45:02 -05:00