Commit Graph

59 Commits

Author SHA1 Message Date
wandererfan
eac9478b6c [TD]use scale from view to fill template 2025-10-27 18:19:19 -04:00
wandererfan
127aa38c8c [TD]restore undo/redo function in FillTemplates 2025-10-27 18:19:19 -04:00
wandererfan
aceec95a39 [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
1d43a4bb1d fix for #18165
calculation changed to incorporate scale for distanceDim.X and distanceDim.Y
2025-10-08 17:38:35 -05:00
wandererfan
3bb37ec148 [TD]fix subscript out of range on bad selection 2025-10-08 16:08:13 -05:00
luzpaz
f7f8ac1552 TechDraw: remove trailing whitespace 2025-08-30 22:10:14 -05: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
Ryan Kembrey
bbfbb6e059 TechDraw: Update UI strings for consistency
Closes: #22143
2025-08-04 20:26:04 +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
1ae3394be4 [TechDraw] Fix Qt6 compatability of FillTemplateFields tool 2025-07-06 16:49:18 +02: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
luzpaz
c8fed4a80c TD: Trim trailing newlines 2024-07-14 09:25:46 +02:00
Marco Patzer
2a1120429b Code reformat (black) 2024-03-23 08:52:06 -04:00
Marco Patzer
1cfa0426fb 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
1bc62cf113 [TD] AxoLengthDimension: use getScale() instead of Scale 2024-03-16 20:00:27 -04:00
luzpaz
d3c5c4c091 TD: fix whitespace in CommandPositionSectionView.py
Fix header whitespace
2024-03-17 00:46:19 +01:00
luzpaz
72f719f192 TD: fix whitespace in CommandVertexCreations.py
Fix whitespace in header
2024-03-17 00:46:19 +01:00
luzpaz
6ef8494580 TD: Fix whitespace in CommandAxoLengthDimension.py
Fix header whitespace
[skip ci]
2024-03-17 00:46:19 +01:00
wandererfan
c94a419eac [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
2f45d5ef09 TechDraw: Add space before tolerance class for hole/shaft fits 2024-03-13 13:52:13 -04:00
Pierre
2fa1fc805e PR for issue #12910 2024-03-13 09:02:15 -04:00
edi271
6897d306a4 [TD] Solve scale issue in AxoLengthDimension 2024-03-12 08:38:36 -04:00
Chris Hennes
cd1c697765 TD: Clean up translations of HoleShaftFit 2024-03-05 12:52:19 -05:00
sliptonic
70bc10a5d9 Merge pull request #11808 from luzpaz/typos-12-2023
Fix typos
2024-01-01 12:44:49 -06:00
wandererfan
023dd8ed8a [TD]fix location of CV on rotated views 2023-12-24 12:27:25 -05:00
luzpaz
9c8a3f27f9 Fix typos 2023-12-22 13:35:23 +00: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
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
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
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
Syres916
a6031001fe [Techdraw] Hole & Shaft Fit Error Enhancement 2023-11-25 08:05:23 -05:00
pavltom
aceb964cea [TechDraw] - Fix issue #10094 2023-11-06 12:43:28 -05:00
Chris Hennes
dfb6ca367e TD: Correct use of TRANSLATE_NOOP
Direct UI access should use translate()
2023-08-12 17:53:26 -04:00
Roy-043
ee3d62c33b TechDraw: Fix typo in HoleShafFit tooltip 2023-07-08 11:34:12 -04:00
luzpaz
38a01939e0 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
7ec7f78772 [TD]fix FreeCAD translate substitution 2023-04-23 10:49:48 -04:00
Chris Hennes
be0a5140b7 TechDraw: Fix translations of TaskShareView 2023-04-23 10:49:48 -04:00
wandererfan
39887768da [TD]fix FreeCAD translate substitution 2023-04-23 10:49:00 -04:00
Chris Hennes
bfafd32a29 TechDraw: Fix translations of TaskMoveView 2023-04-23 10:49:00 -04:00
edi271
9fb39b63a7 [TD] Solve two issues in CmdHoleShaftFit 2023-03-06 20:02:21 -05:00
luzpaz
a134129868 Fix various trailing whitespace issues 2023-02-16 09:30:22 -05:00
edi271
bf108be321 [TD] solve reported issues 2023-02-13 14:45:04 -05:00
edi271
cfc5d0bb53 Changed files 2023-02-13 14:45:04 -05:00
edi271
ca910312bf Combo View dialog source hole / shaft fit 2023-02-13 14:45:04 -05:00
edi271
818255f416 [TD] Command source hole /shaft fit 2023-02-13 14:45:04 -05:00