Commit Graph

58 Commits

Author SHA1 Message Date
wandererfan
c72a707fca [TD]restore undo/redo function in FillTemplates 2025-10-27 18:19:19 -04:00
wandererfan
2709d2a595 [TD]defend against deleted object error
- App.ActiveDocument.Objects was returning a deleted object
  Most likely due to shenanigans with DrawViewPart/DrawProjGroup item
  in TaskProjGroup.
2025-10-27 18:19:19 -04:00
johndoe2323
23297f5045 fix for #18165
calculation changed to incorporate scale for distanceDim.X and distanceDim.Y
2025-10-08 17:38:35 -05:00
wandererfan
46f4014647 [TD]fix subscript out of range on bad selection 2025-10-08 16:08:13 -05:00
luzpaz
9d806694ff TechDraw: remove trailing whitespace 2025-08-30 22:10:14 -05:00
theo-vt
a94dc1463d 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
Ryan Kembrey
75b2ef67fc TechDraw: Update UI strings for consistency
Closes: #22143
2025-08-04 20:26:04 +02:00
Syres916
7945508f8d [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
8d6f3c95db [TechDraw] Fix Qt6 compatability of FillTemplateFields tool 2025-07-06 16:49:18 +02:00
Ryan K
dc7365ae08 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
luzpaz
9c6e78b5cb TD: Trim trailing newlines 2024-07-14 09:25:46 +02:00
Marco Patzer
897e969477 Code reformat (black) 2024-03-23 08:52:06 -04:00
Marco Patzer
961e547161 Add leading plus (+) in hole/shaft fit limit
ISO 286/14405-1 calls for a plus sign if the limit is positive and a
minus sign if the limit is negative. A zero limit should have neither
a plus nor a minus sign. This commit adds the plus sign.
2024-03-23 08:52:06 -04:00
edi271
934395913a [TD] AxoLengthDimension: use getScale() instead of Scale 2024-03-16 20:00:27 -04:00
luzpaz
0fc8adc7c9 TD: fix whitespace in CommandPositionSectionView.py
Fix header whitespace
2024-03-17 00:46:19 +01:00
luzpaz
129e204236 TD: fix whitespace in CommandVertexCreations.py
Fix whitespace in header
2024-03-17 00:46:19 +01:00
luzpaz
92dff95b62 TD: Fix whitespace in CommandAxoLengthDimension.py
Fix header whitespace
[skip ci]
2024-03-17 00:46:19 +01:00
wandererfan
fca3b80da8 [TD]fix over/under tolerance
- left justify tolerances
- use format spec for tolerance == zero
- prevent uncommanded tolerance format changes
- use 'w' format for HoleShaftFit
- allow zero tolerance values for HoleShaftFit
2024-03-14 21:45:16 -04:00
Marco Patzer
ab3296b124 TechDraw: Add space before tolerance class for hole/shaft fits 2024-03-13 13:52:13 -04:00
Pierre
0d228bcec4 PR for issue #12910 2024-03-13 09:02:15 -04:00
edi271
28ff03a081 [TD] Solve scale issue in AxoLengthDimension 2024-03-12 08:38:36 -04:00
Chris Hennes
b257870c16 TD: Clean up translations of HoleShaftFit 2024-03-05 12:52:19 -05:00
sliptonic
0cdf8a0761 Merge pull request #11808 from luzpaz/typos-12-2023
Fix typos
2024-01-01 12:44:49 -06:00
wandererfan
e6517089df [TD]fix location of CV on rotated views 2023-12-24 12:27:25 -05:00
luzpaz
e9f9e441fc Fix typos 2023-12-22 13:35:23 +00: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
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
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
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
Syres916
c298594cbe [Techdraw] Hole & Shaft Fit Error Enhancement 2023-11-25 08:05:23 -05:00
pavltom
f70454cc14 [TechDraw] - Fix issue #10094 2023-11-06 12:43:28 -05:00
Chris Hennes
2536c0d855 TD: Correct use of TRANSLATE_NOOP
Direct UI access should use translate()
2023-08-12 17:53:26 -04:00
Roy-043
8d87eaac22 TechDraw: Fix typo in HoleShafFit tooltip 2023-07-08 11:34:12 -04:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
wandererfan
709a2cf23d [TD]fix FreeCAD translate substitution 2023-04-23 10:49:48 -04:00
Chris Hennes
2d8c871873 TechDraw: Fix translations of TaskShareView 2023-04-23 10:49:48 -04:00
wandererfan
7120b57192 [TD]fix FreeCAD translate substitution 2023-04-23 10:49:00 -04:00
Chris Hennes
6a1227cbe0 TechDraw: Fix translations of TaskMoveView 2023-04-23 10:49:00 -04:00
edi271
7dbceaffe6 [TD] Solve two issues in CmdHoleShaftFit 2023-03-06 20:02:21 -05:00
luzpaz
08b3bf4462 Fix various trailing whitespace issues 2023-02-16 09:30:22 -05:00
edi271
2cf1f64000 [TD] solve reported issues 2023-02-13 14:45:04 -05:00
edi271
28fb8b7153 Changed files 2023-02-13 14:45:04 -05:00
edi271
b461f6343f Combo View dialog source hole / shaft fit 2023-02-13 14:45:04 -05:00
edi271
cee126660e [TD] Command source hole /shaft fit 2023-02-13 14:45:04 -05:00
edi271
2c931a88b0 [TD] Add Command Axo Length Dimension
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2023-02-05 14:50:44 -08:00