Ladislav Michl
1053a7996a
TD: remove unused clearLineSets()
...
d2ce7f8145 ("TD: Remove calls to now-empty clearLineSets() method")
removed last calls to clearLineSets(), so remove it entirely.
2025-09-01 14:12:58 +02:00
wmayer
93820d6867
TD: Fix compiler warnings
2025-09-01 14:11:52 +02:00
wmayer
ae2e71b153
TD: Fix loading project files
...
With PR 19941 there is a regression where parts of the document
won't be restored. This is caused by overriding the virtual method
handleChangedPropertyType() but not calling the method of the base class.
While searching for a fix another problem showed up where (due to the
incomplete loading) exceptions are thrown but not handled within TD.
Therefore the method recompute() is overridden in DrawView to also handle
OCC exceptions.
2025-09-01 14:11:52 +02:00
wmayer
b59a1f6230
TD: Fix crash on selecting 3D edge for dimension
...
Unlike in the bug description of issue 19654 the user doesn't have
to preselect an edge in the 3D view but first start the dimension
command and then select an edge.
This commit adds some security checks to TechDrawHandler::quit(),
TechDrawHandler::getPage() and TDHandlerDimension::onSelectionChanged()
to be on the safe side that no null pointers are dereferenced.
But the ultimative fix for this whole problem is to change
activateHandler() and immediately delete the passed TechDrawHandler if
it fails to find the appropriate QGVPage. This is needed as otherwise
the handler behaves like a ghost object that affects the selection
mechanism and disallows to select anything in the 3D view or the tree
view.
Fixes issue 19654
2025-09-01 14:11:51 +02:00
wandererfan
500a089062
[TD]fix ISOLineSpacing preference not applied
2025-09-01 00:26:22 -05:00
wandererfan
d288a5ee30
[TD]allow finding child view outside clip rectangle
2025-08-31 20:56:14 -05:00
luzpaz
f7f8ac1552
TechDraw: remove trailing whitespace
2025-08-30 22:10:14 -05:00
Chris Hennes
f3c675ed5b
Update translations
2025-08-28 16:14:49 +02:00
xtemp09
887e7bd595
Simplify repr() function
2025-08-25 10:38:39 -05:00
wandererfan
c39ba51407
[TD]fix crash in vertex show/hide
2025-08-24 22:19:31 -05:00
WandererFan
e256ff3c3d
[TD]Fix no delete of cosmetic in clip group ( #22838 )
...
* [TD]Fix no delete of cosmetic in clip group
* [TD]lint clean up
2025-08-24 20:55:55 -05:00
Max Wilfinger
ab5e9e0ded
Fix source string mistakes reported on Crowdin ( #23157 )
...
* Fix source string mistakes reported on Crowdin
* Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/draftfunctions/upgrade.py
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/draftfunctions/upgrade.py
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/draftguitools/gui_downgrade.py
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/Resources/ui/TaskPanel_SetStyle.ui
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
---------
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
2025-08-24 20:51:32 -05:00
theo-vt
ff92789719
Techdraw: Undo/redo when dragging views and rework projection group drag ( #22875 )
...
* TechDraw: create a transaction when finished dragging a view
* TechDraw: drag projection group when dragging a subview in AutoDistribute is enabled
* TechDraw: avoid creating 'Drag View' transaction if the document is already in a transaction
* TechDraw: Apply suggestions from code review
---------
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
2025-08-24 08:36:41 +02:00
Ryan Kembrey
e0fed351b3
TechDraw: Fix frames resizing on select/hover
2025-08-22 16:36:31 +02:00
luzpaz
1906198901
TechDraw: Fix tooltip in Gui/CommandAnnotate.cpp
...
Typo fix
2025-08-19 07:35:23 +02:00
Chris Hennes
40b1ea294c
Update translations
2025-08-18 17:55:24 +02:00
Kacper Donat
a673e6acf3
Merge pull request #22945 from ryankembrey/cosmetic-circles
...
TechDraw: Clarify and group cosmetic circle commands
2025-08-18 17:51:06 +02:00
theo-vt
f32ae1ca17
TechDraw: add transactions to multiple commands ( #22795 )
...
* TechDraw: add transactions to multiple commands
* Feed each 'Create Dimension' option to the translation macro
* Call fixSceneDependencies when re-adding dimensions so that it shows up at the right place
2025-08-18 11:46:15 -04:00
theo-vt
b6c96c51bb
TechDraw: Fix balloon annotation unlinked after undo-redo ( #22805 )
...
* TechDraw: remove then add balloon annotation when changing the SourceView
* Use fixSceneDependencies
2025-08-18 10:37:02 -05:00
wandererfan
7c6e58fb50
[TD]fix weld symbol not attached to leader
2025-08-13 22:46:20 +02:00
luzpaz
a5a59ff2e3
Fix various typos
2025-08-12 12:18:23 -05:00
wandererfan
f465729608
[TD]fix editable fields click handles
...
- click handles were displayed when view frames were displayed,
and when printing or exporting.
- now, click indication is only shown on mouse over.
2025-08-11 11:05:47 -05:00
Ryan K
9fff6e905c
TechDraw: Rework view frames ( #22869 )
...
Co-authored-by: Ryan Kembrey <ryan.kembrey@student.uts >
2025-08-11 11:04:58 -05:00
Chris Hennes
956f7eb38f
Merge pull request #22466 from WandererFan/ComplexSection3
...
TechDraw: ComplexSection fixes
2025-08-11 11:01:47 -05:00
wandererfan
d0faf2a6b4
[TD]Ensure changed expression value is processed
2025-08-11 10:35:12 -05:00
FC-FBXL5
648cefd0e6
Update TaskSectionView.ui
...
Tooltip related to label "Section Plane Location" deserves a better description.
Also See Crowdin: https://crowdin.com/editor/freecad/all/en-de?view=comfortable&filter=basic&value=0&search_scope=translations&search_strict=0&search_full_match=0&case_sensitive=0#q=Abstand%20vom
This tool seems to work with one section plane (section line) only, which other object's distance/position could be addressed here?
2025-08-10 17:35:44 +02:00
Max Wilfinger
1850c5dc0f
Fix missed strings for UI consistency
...
Fix ellipsis rendering
2025-08-08 06:37:59 -05:00
Ryan Kembrey
72cf63ae8a
TechDraw: Fix default toolbar cosmetic circle name
2025-08-06 20:28:17 +10:00
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