Commit Graph

1397 Commits

Author SHA1 Message Date
wandererfan
d77ce6b78e [TD]add preference methods for Projection Group 2024-09-28 10:39:18 -04:00
WandererFan
c9beae7ef3 [TD] Fix win file spec backslash (fix #16646) (#16689)
* [TD]add method to clean win filespecs

- '\' in strings passed to Python as filespecs is interpreted as
  an escape of the following character.
- replace '\' with '/'

* [TD]remove '\' from filespecs before use
2024-09-23 17:40:05 +02:00
wandererfan
9ee4b6d5db [TD]fix torus render (fix #16646) 2024-09-23 09:21:00 -05:00
wandererfan
d310876099 [TD]add preferences for Balloon drag modifiers 2024-09-17 17:17:15 -04:00
wandererfan
196b0ede16 [TD]fix outer torus edge not rendered (fix #16136) 2024-09-02 18:41:58 +02:00
WandererFan
140bcf605e [TD]Fix section snapping (fix #15961) (#15450)
* [TD]Add view snapping preferences

* [TD]fix section snapping algo

- snap sections to section normal line.
- snap views to other views in X&Y

* [TD]fix snapping to ProjectionGroups
2024-09-02 18:41:25 +02:00
wandererfan
3d0e22c489 [TD]fix dim text wrong side of dim line (fix #16172) 2024-09-02 18:24:16 +02:00
wandererfan
042733d975 [TD]fix balloon drag on rotated view (fix #15726) 2024-09-02 17:47:40 +02:00
wandererfan
0d4b04deb3 [TD]fix false positives in isCircle (fix #15979) 2024-08-26 18:01:00 +02:00
bgbsww
5c2bd8b57e Update to Toposhape versions and fix shapebinder references with test (#16036)
* Update to Toposhape versions and fix shapebinder references with test

* Update src/Mod/PartDesign/PartDesignTests/TestShapeBinder.py

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-08-26 10:50:18 -05:00
wmayer
7d492c9f64 Building: Boost dependency errors
Fixes #15999
2024-08-22 18:50:24 -05:00
wandererfan
2caf34c466 [TD]fix crash on Cosmetic line > 10m 2024-08-19 12:34:53 -04:00
wandererfan
21865c4e62 [TD]detect breakObject inside Body 2024-08-19 11:32:21 -05:00
wandererfan
7cce01368c [TD]fix asCircle error calculation 2024-08-19 12:01:01 -04:00
wandererfan
3bc2dde5bd [TD]fix autoscale loop
- checkfit and autoscale were calculating page size differently
2024-07-29 11:08:59 -05:00
wandererfan
7c06769162 [TD]translate line names at time of use 2024-07-16 14:03:48 -04:00
luzpaz
c8fed4a80c TD: Trim trailing newlines 2024-07-14 09:25:46 +02:00
wandererfan
5570c7eadb [TD]fix display of spreadsheet cells with no horiz alignment 2024-07-06 18:51:59 -04:00
wandererfan
94940f950b [TD]fix default for KeepLabel 2024-07-06 12:49:18 -04:00
wandererfan
efa9c46752 [TD]fix camera/front buttons on Proj Group dialog 2024-07-06 12:49:18 -04:00
wmayer
367e79d313 TD: Fix DrawViewCollection::unsetupObject()
Assigning a null pointer to a std::string causes a failure
2024-07-03 09:07:17 -04:00
wandererfan
b6e21ee15d [TD]fix handling of company name in template fields 2024-06-30 09:32:20 -04:00
wandererfan
50eb2b5513 [TD]show autofill value in dialog 2024-06-30 09:32:20 -04:00
wandererfan
55515b1e7f [TD]allow template fields to re-apply autofill 2024-06-23 09:48:25 -04:00
wandererfan
cb2573844f [TD]allow manual update of autofill fields 2024-06-23 09:48:25 -04:00
wandererfan
668a6ea010 [TD]correct source of autofill fields 2024-06-23 09:48:25 -04:00
wandererfan
1b669ee7b5 [TD]fix wrong xml namespace in some templates 2024-06-23 09:48:25 -04:00
Chris Hennes
85baef1ad5 TD: Use new Qt6.5 interface for setContent (#14543) 2024-06-17 11:33:15 -05:00
wandererfan
e31f338a94 [TD]fix segfault on confused selection
- failure in DrawDimHelper when both 2d & 3d geom selected
2024-06-16 13:15:19 -04:00
wandererfan
526e6c5a62 [TD]remove spurious error messages 2024-06-13 19:25:29 -04:00
bgbsww
42eb4fdda6 Guard all uses of basic_random_generator for thread safety 2024-06-10 11:10:57 -05:00
PaddleStroke
d09fb588f4 Techdraw: area dimension: fix scale issue. 2024-06-10 08:28:36 -04:00
wandererfan
75b655fea0 [TD]fix incorrect section lines with expression link 2024-06-07 10:19:13 -04:00
Syres916
a56909f57b [TechDraw] Improve visibility of TD preference icons in combo boxes...
...when using dark style sheets.
2024-06-03 09:03:33 -04:00
wandererfan
e2441c7079 [TD]add style options for broken view 2024-05-29 14:12:13 -04:00
wmayer
560cab6f31 clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
PaddleStroke
127ee90cec TechDraw: Enable snapping section views to their base views. 2024-05-27 11:44:31 -04:00
obelisk79
21e6911a81 Resolves missing include for GCC14 compilers 2024-05-26 10:11:50 -04:00
WandererFan
50f970efd7 [TD]Cosmetic function overhaul (#14216)
* [TD]Cosmetic geometry and tools update

- all cosmetics to store geometry in same form
- all cosmetics to survive scaling and rotation
- extension functions to survive scaling and rotation

* [TD]overhaul leader point storage and editing

- add py routine makeLeader(points)

* [TD]add leader conversion utility

* [TD]Set Leader RotateWithView default to true

* [TD]fix intersection vertex position

* [TD]add CosmeticEdge::makeLineFromCanonicalPoints

* [TD]fix 2 Extension tools

- positioning in DrawCosmeticCircle
- mishandling of points in execLineParallelPerpendicular

* [TD]Remove duplicate constexpr

* [TD]fix 2x Cosmetic arc tools

* [TD]refactor LineFormat out of Cosmetic

* [TD]move cosmetic appearance settings to LineFormat

* [TD]remove 2 unused methods

* [TD]apply format to blue line & circle tools

* [TD]fix ballon arrowhead does not rotate with view

* [TD]fix CosmeticCircle3Points

* [TD]allow multiple cosmetic object deletions

* [TD]fix extend/shorten centerline
2024-05-23 09:41:42 -04:00
wandererfan
85be479fd6 [TD]fix Win CI fail a/c OCC Handle style 2024-05-21 14:14:16 -04:00
wandererfan
5f820b8b85 [TD]fix conversion of BSpline to Circle/Arc 2024-05-21 14:14:16 -04:00
wandererfan
e72c63e98a [TD]fix autocorrect handling of older documents 2024-05-21 14:14:16 -04:00
wandererfan
ff17df2ff5 [TD]assorted Preference updates
- section line convention label
- remove superfluous save/restore on changeEvent
- change default scrub count
- add preference for default symbol dir
- add preference for display of section cut line
2024-05-19 09:42:47 -04:00
wandererfan
40befa8708 [TD]fix #13992 - compile warnings 2024-05-17 18:07:25 -04:00
edi271
fe9927f466 [TD]Expose DimExtent in Python 2024-05-17 10:55:56 +02:00
WandererFan
5b4eeb29a9 Merge pull request #13525 from Ondsel-Development/td_dimension
TechDraw: Smart dimension tool
2024-05-13 12:31:32 -04:00
PaddleStroke
cc393632e1 Techdraw: Smart Dimension: Fixes and simplifies code 2024-05-13 15:03:37 +02:00
wmayer
acbb19335d TD: Fix memory leaks with PySequence_GetItem 2024-05-09 00:03:01 +02:00
PaddleStroke
41650a78d4 TechDraw: Implement 'Area' dimension. 2024-05-06 18:42:28 +02:00
PaddleStroke
e3a5ef3504 TechDraw: Smart Dimension tool : Integrate chain and coord dimensions. 2024-05-06 18:40:46 +02:00