Commit Graph

24348 Commits

Author SHA1 Message Date
Ajinkya Dahale
9aba979b27 [Sketcher] Delete check for OCC >= 6.9.0
The oldest version we plan to support is 7.0.0. See
https://forum.freecadweb.org/viewtopic.php?f=10&p=650487#p650487.
2023-01-05 00:27:01 +01:00
wmayer
be9634b23c Part: move to new-style connect of DlgPrimitives dialog 2023-01-04 13:06:26 +01:00
Chris Hennes
2575629e92 Addon Manager: Fix macro installer bug
Also some minor tweaks to the GUI unit testing.
2023-01-03 20:19:41 -06:00
wandererfan
0e402ae075 [TD]add light text on dark page mode
- some visually impaired users need white graphics on
  dark page.

- revise Annotation dialog to respect dark style
2023-01-03 17:41:33 -05:00
wmayer
6eac8fe8b2 Part: move to new-style connect of DlgPrimitives dialog to make it also working with Qt6 2023-01-03 17:09:49 +01:00
sliptonic
0b9b1d8da7 Merge pull request #7826 from LarryWoestman/staging
Path:  Incorporating feedback from code reviews
2023-01-03 09:18:51 -06:00
wmayer
f1481b1f0c Part: refactor DlgPrimitives dialog 2023-01-03 15:53:12 +01:00
Chris Hennes
7cbecd46c7 Addon Manager: Modify dialog closing during tests 2023-01-02 15:09:01 -06:00
wandererfan
3bae9ab611 [TD]fix Win link error in ViewProvider extensions 2023-01-02 13:49:50 -05:00
wmayer
9efac962ac App: fix failure to detect cyclic dependencies on expressions
See also forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=74331
2023-01-02 16:36:10 +01:00
wmayer
d60f2e291f Core: fixes #8119: Make axis values in Property view persistent 2023-01-02 12:48:40 +01:00
wmayer
05959a2beb PD: fix crash in TaskRevolutionParameters::fillAxisCombo
* Replacing the static_cast with a dynamic_cast in 668adaacdf is a regression because it cannot be guaranteed that the linked object is a sketch.
  In fact it can also be a shape binder which is explicitly allowed.
  Forum: https://forum.freecadweb.org/viewtopic.php?f=19&t=74939
* Move initialization of some variables into the if-statement
2023-01-02 09:49:27 +01:00
wmayer
a67f4fcb74 Web: switch to new-style connect in order to find failures with Qt6 2023-01-02 00:35:37 +01:00
wmayer
0e73896aa3 Addon-Manager: [skip ci] get rid of some explicit PySide2 imports 2023-01-01 11:42:39 +01:00
wmayer
91613cc24c Mod: fix some compiler warnings:
* QString::indexOf() is now marked as [[nodiscard]]
* QApplication::fontMetrics() is deprecated, use the constructor of QFontMetricsF
* fix -Wunused-result
* fix -Wunused-but-set-variable
2022-12-31 21:54:45 +01:00
wmayer
7d878e8646 Image: fix deprecation warnings 2022-12-31 21:54:45 +01:00
wmayer
61fe4b6b6c Raytracing: QString::indexOf is now marked as [[nodiscard]] 2022-12-31 21:54:45 +01:00
LarryWoestman
dcab7c4a78 Path: Reformatted to a line length of 88 using black.
Incorporating feedback; now using f-strings all over.
           Incorporating changes from feedback.
           Incorporated more refactoring feedback.
           Changes for Path refactoring.
2022-12-31 09:20:51 -08:00
sliptonic
a11bde5105 Merge pull request #7962 from luvtofish/master
path: dynapath delta 40-60 post processor add
2022-12-31 10:26:44 -06:00
sliptonic
f654f2d421 Merge pull request #8088 from mlampert/bugfix/8087-dont-load-project-files-unless-tests-are-run
[Path] bugfix/8087-dont-load-project-files-unless-tests-are-run fixes #8087
2022-12-31 10:24:29 -06:00
Roy-043
7951dab2bf Draft: update inspect.getargspec to inspect.getfullargspec (#8101) 2022-12-29 23:20:38 +01:00
Chris Hennes
d6094449b9 OpenSCAD: Minor translation issue [skip ci] 2022-12-28 23:33:54 -06:00
Chris Hennes
38ef13efaf Addon Manager: Minor translation issue [skip ci] 2022-12-28 23:33:27 -06:00
wmayer
da956906e3 TD: [skip ci] fix possible crash in ViewProviderViewPart::onChanged 2022-12-28 21:17:23 +01:00
wandererfan
1f3bfe0dd4 [TD]make detail highlight interactive
- drag detail highlight to change detail anchor point
- change detail reference position using HighlightAdjust property
2022-12-28 09:41:44 -05:00
lorenz
85f9ab3cf3 FEM: femmesh: fix AttributeError: module 'numpy' has no attribute 'int' 2022-12-28 12:07:51 +01:00
Chris Hennes
be9d674785 GUI: Minor translation issues 2022-12-27 21:44:11 -06:00
Chris Hennes
c13a5a3d8e Image: Minor translation issue [skip ci] 2022-12-27 21:34:20 -06:00
Chris Hennes
1de0aebc0b OpenSCAD: Minor translation fixes 2022-12-27 21:30:34 -06:00
Chris Hennes
577fb5f1ab Addon Manager: Minor translation fixes 2022-12-27 21:04:32 -06:00
wandererfan
ff1147fbae [TD]add extensions for drag and drop 2022-12-27 19:43:44 -05:00
Yorik van Havre
c23e1d1bb3 Merge pull request #8090 from jimzim111/master
DRAFT: Make "draftify" type upgrades return the new object
2022-12-27 16:05:42 +01:00
wmayer
52838aa6bd PD: fixes #7791: Linear Pattern With Single Occurrence Fails 2022-12-27 14:29:16 +01:00
jim
9e2856348e Make upgrades of type "draftify" return the new object (like the other
upgrade types do)
2022-12-26 13:32:26 -08:00
wandererfan
411bf827a7 [TD]remove debug statements 2022-12-26 12:13:34 -05:00
wandererfan
02ca0ff998 [TD]fix startup exception on empty compound 2022-12-26 12:13:34 -05:00
Markus Lampert
67c616b8fe Moved test file opening into instance methods so they don't get loaded unless used. 2022-12-25 17:43:00 -08:00
Adrián Insaurralde Avalos
4256a08f70 Adjust Startpage version info to new format
due to the changes from 0a659d9e74
2022-12-25 14:52:45 +01:00
wmayer
b1123954a9 Test: [skip ci] write results to stdout 2022-12-25 14:28:42 +01:00
Ajinkya Dahale
0c017a39f6 [Sketcher] Disallow tangent-at-knot for non-line in solver
This is already stopped in the GUI, but this is still possible by passing the
curve IDs through the console.
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
bb8a3c8885 [Sketcher] Disallow tangent at knot with non-line in GUI 2022-12-24 18:22:16 -06:00
Abdullah Tahiri
8a3b3537b3 Sketcher: Avoid trying to lock tangency for tangency at knot point constraint 2022-12-24 18:22:16 -06:00
Abdullah Tahiri
062e9f75ca Sketcher: Add convenience method to check for internal alignment type 2022-12-24 18:22:16 -06:00
Ajinkya Dahale
0ab7d50639 [Sketcher] Do not use TangentViaPoint for tangent-at-knot 2022-12-24 18:22:16 -06:00
Abdullah Tahiri
b015ae3f0d [Sketcher] Separate line-tangent-at-knot from angle-at-point
The latter is intended for a specific solver constraint.

[Sketcher] Make further changes for tangent-at-knot separation

1. Remove code for tangent-at-knot from `addAngleAtPointConstraint`.
2. Use correct order of input.
3. Separate internal C0 knot vs end knots. The latter can still be constrained
but the user must use endpoints of the spline instead of knots.
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
e3fe3902df Sketcher: Solver - add map for Internal Alignment geometry 2022-12-24 18:22:16 -06:00
Ajinkya Dahale
598e86a644 [Sketcher][planegcs] Make changes as per review on #7484
Similar to 2715a66ff02a46f94ae3fc6527fd446e666b8e58.

Added some comments and removed some TODO's.

Return grad values directly rather than doing summation.
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
322306ccf9 [Sketcher][planegcs] Use only line direction in tangent-at-knot
This discourages reducing the size of the line when it is more normal than
tangent.
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
3f91c52b3f [Sketcher][planegcs] Fix tangent at knot for C1 knots 2022-12-24 18:22:16 -06:00
Ajinkya Dahale
af5bc953c9 [Sketcher][planegcs] Handle type issues with int and size_t
... and `unsigned int`

Suggestions thanks to @abdullahtahiriyo
2022-12-24 18:22:16 -06:00