Commit Graph

2652 Commits

Author SHA1 Message Date
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
wandererfan
730136e3e9 [TD]fix no PAT hatch on first paint 2024-03-23 08:47:36 -04:00
wandererfan
927ee745f2 [TD]protect against bad pref value
- this is a temporary measure to prevent problems caused by a
  bad value for LineStandard parameter.  A previous devel version
  stored on invalid value.  This patch can be removed before
  moving to production.
- this condition can be corrected by editing LineStandard to 0, 1 or
  2.  a plethora of warning messages is issued until the parameter is
  corrected.
2024-03-23 08:47:36 -04:00
wandererfan
87baa154ac [TD]use weak_ptr as deletion guard
- prevent crash if dimension deleted by Python while dialog
  is open
2024-03-17 13:22:51 -04:00
wmayer
48ff9ad3a1 [TD]Refactor LTNP correction code for Dimensions
- additional geometry types

- add method to handle line like bsplines

- handle deleted ref body feature

- add test for empty savedGeometry

- add switch for matcher/LTNP on/off
2024-03-17 08:56:34 -04:00
edi271
1bc62cf113 [TD] AxoLengthDimension: use getScale() instead of Scale 2024-03-16 20:00:27 -04:00
pavltom
1ead8c6f0f [TechDraw] Unify Projection Group parent linking 2024-03-16 19:59:49 -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
wmayer
d57640005e TD: fixes #12984: Doing Ctrl-Z in TechDraw reliably causes a segfault 2024-03-16 09:43:40 +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
wandererfan
b719478824 [TD]fix thread line alignment 2024-03-14 21:45:16 -04:00
wandererfan
284365f0c5 [TD]prevent fail on delete with open dialog 2024-03-14 21:45:16 -04:00
Chris Hennes
a3c3b0a9f4 Merge pull request #12737 from chennes/cleanTrailingSpacesForTranslation
Clean trailing spaces for translation
2024-03-13 14:00:54 -05:00
wandererfan
ae7d4ab3f7 [TD]remove obsolete LinkDimension from toolbar 2024-03-13 13:54:59 -04:00
wandererfan
0c534fc45b [TD]expose getScale() to Python 2024-03-13 13:54:59 -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
Chris Hennes
e8d8979dbb TD: Remove trailing spaces from translations 2024-03-12 22:42:19 -05:00
edi271
6897d306a4 [TD] Solve scale issue in AxoLengthDimension 2024-03-12 08:38:36 -04:00
pavltom
6dd2a1d1ec [TechDraw] Reimplement Weld Symbol parent linking 2024-03-09 08:32:24 -05:00
Chris Hennes
0076935cfb TD: Add missing translation strings to menu 2024-03-05 12:54:54 -05:00
Chris Hennes
6b2d7ac333 TD: Fix translation of pending updates string
Switch to %n form so translators can adjust based on the number. Also allows English adaptation to plural/singular, if desired.
2024-03-05 12:53:59 -05:00
Chris Hennes
cd1c697765 TD: Clean up translations of HoleShaftFit 2024-03-05 12:52:19 -05:00
WandererFan
3048bd1f09 Merge pull request #12749 from pavltom/techdraw_leaderline_linking
[TechDraw] Reimplement Leader Line parent linking
2024-03-05 12:50:09 -05:00
WandererFan
244b354ffd Merge pull request #12775 from WandererFan/fixSSUnit
[TD]correct s/s cell format
2024-03-05 12:44:19 -05:00
Yorik van Havre
262a858be5 Translations (#12748)
* 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>
2024-03-05 08:54:36 -06:00
wandererfan
4d7f9f00f4 [TD]correct s/s cell format 2024-03-05 07:29:29 -05:00
WandererFan
bc4890aa05 Merge pull request #12736 from HowThatWorks/main
A set of ISO 7200/ISO 5457 templates for TechDraw
2024-03-04 20:25:53 -05:00
WandererFan
68f4a9624c Merge branch 'main' into techdraw_leaderline_linking 2024-03-04 15:34:48 -05:00
Josh Coalson
fbd8767242 Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052 2024-03-04 18:22:43 +01:00
pavltom
b12583e536 [TechDraw] Reimplement Leader Line parent linking 2024-03-04 15:35:06 +01:00
HowThatWorks
e1e7c9ce7d Fixed minor mistakes and omissions 2024-03-04 04:14:12 +01:00
HowThatWorks
129fbe271c Added common non-title block things 2024-03-04 04:14:12 +01:00
HowThatWorks
a217fb5fea Tidied up the templates 2024-03-04 04:14:12 +01:00
HowThatWorks
35979507d2 Removed non-ISO compliant templates and replaced them with ISO-conformant templates 2024-03-04 04:14:12 +01:00
HowThatWorks
1b47fe70af Some ISO 7200 title blocks 2024-03-04 04:14:12 +01:00
HowThatWorks
0e25906832 ISO 5457 compliant bases for TechDraw templates. 2024-03-04 04:14:12 +01:00
Chris Hennes
c4b54a94a2 Update translations 2024-02-29 17:25:46 -06:00
wandererfan
44e501e5fc [TD]fix printAll formats 2024-02-29 18:06:04 -05:00
wandererfan
24876bec50 [TD]fix Projection Group front view position
- also fix checkbox correspondence with view position
2024-02-29 13:06:22 -05:00
pavltom
966f584644 [TechDraw] Add new Insert Repetition Count command 2024-02-26 16:40:25 -05:00
pavltom
ed3a1a6184 [TechDraw] Reimplement Rich Annotation parent linking 2024-02-26 16:22:30 -05:00
mos
037fbbc5c5 removed deprecaded functions
.

.
2024-02-26 17:38:01 +01:00
Chris Hennes
641e3dbbb4 Update translations (#12557)
* Update 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>
2024-02-24 21:38:37 -06:00
wmayer
64a91968a3 MSVC: fix compiler warnings 2024-02-25 00:12:34 +01:00
wandererfan
1853dd8680 [TD]use correct tooltip in first/third angle 2024-02-21 11:46:18 -05:00
wandererfan
fc4cd682bb [TD]ANSI/ASME section line conformance 2024-02-21 11:46:18 -05:00