wmayer
fd7c7f35cf
Gui: Use shiboken6 & PySide6 API
2023-01-01 19:06:06 +01:00
wmayer
f565fa2f7a
Gui: refactor PythonWrapper
2023-01-01 17:42:25 +01:00
Yorik van Havre
780d8416e2
Adding info to hand over the copyright to the FPA
2023-01-01 11:01:06 -05:00
wmayer
6358ad1717
Gui: refactor PythonWrapper
2023-01-01 16:35:12 +01:00
wmayer
102e89988a
Gui: switch to new-style connect in order to find build failures with Qt6
2023-01-01 12:40:07 +01:00
wmayer
f53d635f20
Addon-Manager: [skip ci] get rid of some explicit PySide2 imports
2023-01-01 11:42:39 +01:00
wmayer
ad1663245b
PySide: [skip ci] fix typo
2023-01-01 11:01:13 +01:00
wmayer
f26bf54876
PySide: in PySide6 QWebEnginePage has been moved to QtWebEngineCore
2023-01-01 10:31:13 +01:00
wmayer
3e58513c24
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
fec35dfdc5
Gui: QVariant::Type is deprecated, use QMetaType::Type
2022-12-31 21:54:45 +01:00
wmayer
315ddaf75d
Image: fix deprecation warnings
2022-12-31 21:54:45 +01:00
wmayer
4bd0d20812
Raytracing: QString::indexOf is now marked as [[nodiscard]]
2022-12-31 21:54:45 +01:00
wmayer
81d2361d9f
Gui: Qt6 port
...
* QString::indexOf() is now marked as [[nodiscard]]
* Replace deprecated methods of QMessageBox
* QMouseEvent::globalPos() is deprecated, use globalPosition().toPoint()
* QWidget::enterEvent() requires a QEnterEvent as argument
* QLibraryInfo::location() is deprecated, use path()
* QVariant::Type is deprecated, use QMetaType::Type
* QVariant::canConvert(int) is deprecated, use QVariant::canConvert(QMetaType) or QVariant::canConvert<T>()
* QMessageBox::standardIcon is deprecated, use QStyle::standardIcon()
* Replace deprecated method QMessageBox::question(), ...
* QApplication::fontMetrics() is deprecated
* QDropEvent::mouseButtons() is deprecated, use buttons()
* QDropEvent::keyboardModifiers() is deprecated, use modifiers()
* Constructor of QFontDatabase is deprecated, use static methods instead
* Qt::AA_DisableHighDpiScaling is deprecated
* Qt::AA_EnableHighDpiScaling is deprecated
* Qt::AA_UseHighDpiPixmaps is deprecated
2022-12-31 21:54:45 +01:00
sliptonic
588620fd9f
Merge pull request #7962 from luvtofish/master
...
path: dynapath delta 40-60 post processor add
2022-12-31 10:26:44 -06:00
sliptonic
529ac7bb33
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
wmayer
5e408445be
Gui: expose Document::save()/saveAs() to Python
2022-12-31 13:01:20 +01:00
wmayer
178eb1dd84
Base: fix and refactor Tools::getUniqueName
2022-12-31 00:18:59 +01:00
wmayer
2e022d8e0b
Test: [skip ci] simplify and add more tests
2022-12-31 00:17:37 +01:00
wmayer
9ab8685508
Base: [skip ci] if array of reserved names is empty then return the suggested name in Base::Tools::getUniqueName
2022-12-30 16:35:52 +01:00
wmayer
a89d7b7355
Test: [skip ci] add tests for Base::Tools::getUniqueName
2022-12-30 16:07:26 +01:00
Roy-043
fe02d63c8c
Draft: update inspect.getargspec to inspect.getfullargspec ( #8101 )
2022-12-29 23:20:38 +01:00
Chris Hennes
092be23d89
OpenSCAD: Minor translation issue [skip ci]
2022-12-28 23:33:54 -06:00
Chris Hennes
f7783ea409
Addon Manager: Minor translation issue [skip ci]
2022-12-28 23:33:27 -06:00
wmayer
e69e7ef08a
TD: [skip ci] fix possible crash in ViewProviderViewPart::onChanged
2022-12-28 21:17:23 +01:00
wandererfan
af3c057f99
[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
8b0df1dc93
FEM: femmesh: fix AttributeError: module 'numpy' has no attribute 'int'
2022-12-28 12:07:51 +01:00
Chris Hennes
8997802ce9
GUI: Minor translation issues
2022-12-27 21:44:11 -06:00
Chris Hennes
dfb5cf006d
Image: Minor translation issue [skip ci]
2022-12-27 21:34:20 -06:00
Chris Hennes
cc086782b5
OpenSCAD: Minor translation fixes
2022-12-27 21:30:34 -06:00
Chris Hennes
6bad9eda59
Addon Manager: Minor translation fixes
2022-12-27 21:04:32 -06:00
wandererfan
da06fc45a2
[TD]add extensions for drag and drop
2022-12-27 19:43:44 -05:00
Yorik van Havre
7ce5c2dcf4
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
c26a4c7978
PD: fixes #7791 : Linear Pattern With Single Occurrence Fails
2022-12-27 14:29:16 +01:00
jim
e88b2cbead
Make upgrades of type "draftify" return the new object (like the other
...
upgrade types do)
2022-12-26 13:32:26 -08:00
wandererfan
14994bd9f7
[TD]remove debug statements
2022-12-26 12:13:34 -05:00
wandererfan
d7a9f44f20
[TD]fix startup exception on empty compound
2022-12-26 12:13:34 -05:00
Markus Lampert
6074bbdf86
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
8b85903dff
Adjust Startpage version info to new format
...
due to the changes from 9869a2c3d7
2022-12-25 14:52:45 +01:00
wmayer
c9b5cc20ec
Test: [skip ci] write results to stdout
2022-12-25 14:28:42 +01:00
Ajinkya Dahale
63a2855751
[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
e8838b8ef5
[Sketcher] Disallow tangent at knot with non-line in GUI
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
8d33584eee
Sketcher: Avoid trying to lock tangency for tangency at knot point constraint
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
442851f308
Sketcher: Add convenience method to check for internal alignment type
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
3bccd6686a
[Sketcher] Do not use TangentViaPoint for tangent-at-knot
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
389aaeb138
[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
a199afad5f
Sketcher: Solver - add map for Internal Alignment geometry
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
dd64ab8ea0
[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
58b26788be
[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
83a9ea78a7
[Sketcher][planegcs] Fix tangent at knot for C1 knots
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
dd02c7a6f3
[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