Ryan Kembrey
57aa4525ee
TechDraw: Fix cosmetic circle menu
2025-08-06 20:05:38 +10:00
Ryan Kembrey
f6a71b8718
TechDraw: Clarify and group cosmetic circle commands
2025-08-06 19:49:54 +10:00
Ryan Kembrey
bbfbb6e059
TechDraw: Update UI strings for consistency
...
Closes : #22143
2025-08-04 20:26:04 +02:00
wandererfan
cc3fb04e2b
[TD]more stringent test for bsplines as circles
2025-08-04 10:49:27 -05:00
Ian Abreu
7c86817cbb
Core: Generation of python bindings for Techdraw ( #22565 )
...
* first working interfaces..
* adding the rest.
* updated all pyi files.
* running black for formatting.
* removing unused imports
* removing empty comments
* fixing typing declarations.
* removing inline comments.
* fixing pyObjectBase in CosmeticEdgePy
* removing erroneous tags.
* running black.
* fixing CenterLinePy
* fixing import issues.
* Fixing tuple.
* Enabling CosmeticEdge compilation.
* fixing comments, removing unused imports.
* fixing ordering
2025-08-04 10:36:32 -05:00
wandererfan
2ee64c1732
[TD]light changes for style and clarity
2025-07-28 18:15:18 +02:00
wandererfan
0f676140d0
[TD]fix BrokenView does not handle shells
...
- or faces, wires, edges that are not part of another shape
2025-07-28 18:14:21 +02:00
wandererfan
8cfd7f67c6
[TD]prevent detail object deletion during task dialog
2025-07-28 18:11:12 +02:00
Kacper Donat
0270515a33
Merge pull request #22660 from chennes/fixMultResultConvertedToLargerType
...
Fix mult result converted to larger type
2025-07-25 10:20:03 +02:00
Kacper Donat
15051f3f1e
Merge pull request #22544 from jffmichi/undockfullscreen
...
Gui: Allow undocking and fullscreen for all MDI windows
2025-07-25 00:18:20 +02:00
Chris Hennes
ab52946257
TD: Remove incorrect allocation failure handler
2025-07-22 09:57:49 +02:00
Chris Hennes
8b10c035d0
TD: Switch to non-buffer-based format string interpretation
2025-07-22 08:59:49 +02:00
Chris Hennes
2aa659f2b3
TD: Fix multiplication result converted to larger type
2025-07-21 23:40:56 -05:00
jffmichi
1ad29bda6b
TechDraw: fix dock/undock/fullscreen for TechDraw view
2025-07-21 00:44:18 +02:00
mosfet80
fb47a0d014
Remove unnecessary “using std::numbers::pi”
2025-07-18 20:30:44 +02:00
wandererfan
3dc2f7b3e9
[TD]Revert property type changes
2025-07-14 17:57:28 +02:00
Syres916
4e2382d6fa
[TechDraw] Improve TaskFillTemplate tool ( #22400 )
...
* [TechDraw] Improve TaskFillTemplate tool
* [TechDraw] use max instead of if block as per Lint feedback
* [TechDraw] remove unused icon variable
2025-07-14 10:40:01 -05:00
Syres916
0f4d25f8c6
[TechDraw] fix regression from PR19502
2025-07-14 15:55:50 +02:00
wandererfan
c3037ac127
[TD]ComplexSection fixes
...
- fix handling of non-ortho profiles
- fix profile not on same plane as section normal
- fix direction of arrows on section line
2025-07-13 12:08:15 -04:00
wandererfan
e29836a9ad
[TD]property type changes
2025-07-13 12:00:10 -04:00
Syres916
1ae3394be4
[TechDraw] Fix Qt6 compatability of FillTemplateFields tool
2025-07-06 16:49:18 +02:00
Kacper Donat
93a472c202
Merge pull request #22138 from chennes/compilerWarningCleanup20250622
...
Compiler warning cleanup
2025-07-06 16:32:08 +02:00
Ryan K
dd5cb6aa61
TechDraw: ActiveView rework ( #22107 )
...
* TechDraw: Rework ActiveView
* Update src/Mod/TechDraw/Gui/TaskActiveView.cpp
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com >
---------
Co-authored-by: Ryan Kembrey <ryan.kembrey@student.uts >
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com >
2025-06-30 12:04:12 -04:00
Ryan K
9b32202199
TechDraw: Add command tool label for vertex group ( #22118 )
...
Co-authored-by: Ryan Kembrey <ryan.kembrey@student.uts >
2025-06-23 12:26:40 -04:00
Ryan Kembrey
a3fb529bc8
TechDraw: Remove redundant apply button. ( Fix #21792 )
2025-06-23 11:15:03 -05:00
WandererFan
51184b99d5
[TechDraw]Detail highlight drag ( fix #21828 ) ( #22036 )
...
* [TD]add preferences for detail highlight snapping
* [TD]fix highlight drag issues
* Update src/Mod/TechDraw/Gui/TaskDetail.cpp
minor format change from benj5378.
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com >
---------
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com >
2025-06-23 11:13:27 -05:00
Chris Hennes
e38af07217
TD: Remove calls to now-empty clearLineSets() method
2025-06-22 19:10:48 -05:00
Chris Hennes
c0d22febd8
TD: Add missing override
2025-06-22 19:10:48 -05:00
Ryan Kembrey
f338a779e0
TechDraw: Add spacing preview without OCCT calls
2025-06-16 10:41:21 -05:00
Syres916
39dc1e6210
[Gui] C++ preparation for deprecation of QCheckBox…
...
…stateChanged -> checkStateChanged
2025-06-13 10:40:48 +02:00
Luz Paz
78d995f2b8
TechDraw: fix typo in comment
2025-06-11 21:51:23 +02:00
wandererfan
9a18895cd0
[TD]fix bad element name in Vertex::Restore
2025-06-10 13:46:57 -05:00
wandererfan
ca20e8baad
[TD]fix dim reference repair
2025-06-09 11:49:25 -04:00
WandererFan
8d0e9be09b
[TD]Cosmetic vertex tag save/restore fail ( fix #21069 ) ( #21374 )
...
* [TD]fix tag handling on Save/Restore
* [TD]fix linter messages
* [TD]remove c-style cast x4
* [TD]do not write VertexTag element in Vertex::Save
2025-06-09 17:48:00 +02:00
Chris Hennes
30aee57880
Merge pull request #21659 from 3x380V/gui_fixes
...
Gui: random fixes
2025-06-03 19:23:21 -05:00
PaddleStroke
3fc9cac29c
TechDraw: Sheet view: add property to claim sheet as child. ( #21624 )
...
* TechDraw: Sheet view: add property to claim sheet as child.
* Update ViewProviderSpreadsheet.cpp
* Fix bad scale of sheet views
2025-06-02 11:29:22 -05:00
WandererFan
935ac04995
Merge pull request #21377 from WandererFan/Removesnprintf
...
[TD]remove snprintf
2025-06-02 18:24:05 +02:00
Chris Hennes
dd4599c459
Merge pull request #21558 from WandererFan/PyRoutineInvertY
...
[TD]Return QT or Conventional coords for geometry in Py routines (fix #21473 )
2025-06-02 10:41:29 -05:00
Yorik van Havre
640642eed2
Translations: Merged crowdin translations
2025-06-02 11:48:26 +02:00
Yorik van Havre
26e16765b0
Translations: updated ts files
2025-06-02 11:07:28 +02:00
wmayer
b006a37010
Gui: Add Action::setBlockedChecked
...
Remove the second parameter of Action::setChecked and
provide Action::setBlockedChecked instead.
2025-05-30 14:21:53 +02:00
theo-vt
1a0a68ae69
PartDesign: Fix hole centered on point edge case ( #21257 )
...
* Light refactor of getTopoShape function
* Fix hole edge case
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update src/Mod/Part/App/PartFeature.cpp
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
* Update src/Mod/Part/App/PartFeature.cpp
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
* Update src/Mod/Part/App/PartFeature.cpp
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
* Update src/Mod/Part/App/PartFeature.cpp
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
* Refactor simplifyCompound()
* Use Base::Flags<GetShapeOption>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Shorten enum name and move it from class scope to namespace scope
* [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>
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
2025-05-29 22:37:54 +02:00
Benjamin Bræstrup Sayoc
2438156b23
TechDraw: fix incorrect click handles of editable labels ( #21131 )
...
Fixes #20964 :
- When `text` element doesn't have id
- When `text` element has transform attribute
2025-05-29 08:30:59 -04:00
PaddleStroke
42e98afa30
TechDraw: Fix DrawViewSpreadsheet being assigned wrong QGI in QGSPage.cpp ( #21623 )
2025-05-29 00:06:34 +02:00
WandererFan
009754581e
[TD] fix small angle dims ( fix #21114 ) ( #21208 )
...
* [TD]fix handling of very small angle dimensions
- also remove test for too small format specifier
* [TD]lint messages
* [TD]apply review comments.
2025-05-26 17:19:19 +02:00
PaddleStroke
d013890bf6
TechDraw: richannotation : Fix white text issue ( #21515 )
...
* TechDraw: richannotation : Fix white text issue
* Update QGIRichAnno.cpp
2025-05-26 17:18:21 +02:00
Benjamin Bræstrup Sayoc
41111c5ee9
TechDraw: fix state handling of dimensions
...
- Positioning was calculated using `boundingRect` while `transformOriginPoint` was set according to `tightBoundingRect`, causing mismatch when `QGIDatumLabel` contains more than text (eg. shapes around text). Now `transformOriginPoint` and positioning calculated according to `tightBoundingRect`, and setting `transformOriginPoint` of `QGIDatumLabel` are handled by itself. This fixes an issue where the gap between dimension lines and text varied depending on dimension's angle.
- `m_lineWidth` was set in multiple locations, causing confusion and bug introduction
- If `X` or `Y` property changed, the remaining changed properties were not handled due to using `if else` rather than `if` for property change checking. This became an issue due the above mentioned simplification of `m_lineWidth` setting: if `X` or `Y` had changed (upon document restore).
- Center position was uneededly saved in variables `posX` and `posY` when it could be calculated on demand using `tightBoundingRect`. Removing this uneeded state simplfies code and lowers the risk of bug introduction due to lack of updating state.
2025-05-26 17:18:04 +02:00
Benjamin Bræstrup Sayoc
4e95213e0a
TechDraw: centralize usertype constants
2025-05-25 20:42:02 +02:00
wandererfan
8289f84e0c
[TD]fix hidden vertex not created
2025-05-24 14:57:44 -04:00
wandererfan
4d3d0d78e4
[TD]fix vertex visible attribute not restored
2025-05-24 14:57:44 -04:00