Commit Graph

26133 Commits

Author SHA1 Message Date
Uwe
67bea18b15 [Part] fix a comment 2022-02-01 02:34:51 +01:00
Chris Hennes
7959ebced5 Addon Manager: Correct display of Maintainers 2022-01-31 19:28:06 -06:00
Uwe
e86fed750a [Plugin] update build setup to latest LibPack
(the particular paths can easily be adapted)
2022-02-01 01:57:21 +01:00
Chris Hennes
2ac7052236 Addon Manager: Add search and display of tags 2022-01-31 15:24:40 -06:00
wmayer
62734ca415 PD: PrefQuantitySpinBox now requires an explicit entry name for the parameter group 2022-01-31 16:47:08 +01:00
wmayer
6509c9ddec Gui: fix a couple of problems of class PrefQuantitySpinBox
* derive it from PrefWidget as any other preferences widget
* save history values to a separate group as otherwise two PrefQuantitySpinBox may override the values each other
2022-01-31 11:37:13 +01:00
Chris Hennes
f4a53c7eac OpenSCAD: Fixes in several actions from Keith Sloan 2022-01-30 20:19:20 -06:00
Uwe
fd542ecfce [Part] Extrusion: stop if intermediate shape is Null
besides the error message, we need to raise an error

- also fine-tune the wording
2022-01-31 01:07:33 +01:00
Uwe
341a92f08d [Part] Extrusion: fix logic issue
has actually no influence on the output but is important to understand the logic of the code
2022-01-31 00:23:33 +01:00
Uwe
89e623e1b7 [Part] Extrusion: fix CI compiler warning
fixes "warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int'"
2022-01-30 22:46:07 +01:00
Uwe
729cd4a7c0 [Part] Extrusion: code simplification and documentation
- in order for the pending PR to add tapered padding/pocketing
2022-01-30 19:37:41 +01:00
Uwe
2cad24e303 [Part] Extrusion: handle also complex nested structures
- there can be strange cases with structures all intersecting each other. Their extrusion has no practical use case but we must avoid that such structures results either in an infinite loop or in an invalid geometric result.
2022-01-30 18:43:11 +01:00
Uwe
65bf134d43 [Part] Extrude: fix a thinko introduced by previous commit
- the handling of all inner wires must be done within the recursion
2022-01-30 17:41:40 +01:00
Uwe
aa48c2ea44 [Part] Extrusion: simplify code by using full recursion
- the recursion can be done completely by one void
- also add a brief description of this void
2022-01-30 16:53:44 +01:00
luz paz
23c166399d TD: cleanup after #5457 [skip ci]
Fix header uniformity  
Fix grammar  
Fix trailing whitespace
2022-01-30 10:38:55 -05:00
Uwe
a3944b8553 [Part] Extrusion: code optimizations
kudos to @marioalexis84
2022-01-30 06:02:37 +01:00
Uwe
b339cd4624 [Part] Extrusion: taper nested wires properly
addendum to commit 2d6bcba90

Now also wires nested by more than one level are supported.
The possible nesting is infinite.
2022-01-30 05:52:43 +01:00
marioalexis
7cc5cc8d74 Gui: Fix some docstrings in Selection module 2022-01-29 23:53:33 +01:00
mwganson
d6350d4f33 Part.show() python return the new document object instead of None 2022-01-29 23:50:43 +01:00
Uwe
23c1fb78bf [Part] Extrude: remove unused variable 2022-01-29 23:18:11 +01:00
Uwe
f061a2cd82 [Part] handle inner wires for Extrude (#5367)
* [Part] handle inner wires for Extrude

this is a PR to make Extrude handle inner wires of sketches.
2022-01-29 21:50:55 +01:00
edi271
8003ea80e5 [TD] Include Intersection method into DrawUtil class 2022-01-29 14:49:44 -05:00
edi271
f2f858190c [TD] Insert new tool Area Annotation 2022-01-29 14:49:44 -05:00
Wanderer Fan
aa6f8c4b14 [TD]migrate DrawingWB projection functions to TechDrawWB 2022-01-29 14:49:15 -05:00
Uwe
81fa1d6a27 [App] fix compiler warning
warning C4305: 'argument': truncation from 'double' to 'float'
2022-01-29 19:07:03 +01:00
wmayer
4f814afa57 App: add a function to document observer to be notified if the active document changes 2022-01-29 18:33:39 +01:00
wmayer
ecac0b4d0c App: rework ColorGradient and allow to easily extend it with further color models 2022-01-29 15:29:07 +01:00
wmayer
90d9f58de0 App: code cleanup of Color models 2022-01-29 11:58:05 +01:00
marioalexis
9f1a62da29 Gui: Change signature in some Python Selection module functions 2022-01-29 11:09:33 +01:00
marioalexis
4b0067e3f0 Gui: Improve docstrings of Python Selection module functions 2022-01-29 11:09:33 +01:00
marioalexis
21d7fd92c5 Gui: Add option to enable/disable text cursor blinking 2022-01-29 11:05:31 +01:00
wmayer
1f393de121 Gui: supprt PrefQuantitySpinBox by PreferenceUiForm 2022-01-29 07:48:41 +01:00
Roy-043
2a043d4be9 Update gui_orthoarray.py 2022-01-28 14:01:42 -06:00
Roy-043
049ebfd2fc Update gui_beziers.py
Oops copy-paste error... Fixed.
2022-01-28 14:01:42 -06:00
Roy-043
34b18484aa Update gui_beziers.py 2022-01-28 14:01:42 -06:00
Roy
359f9d7886 Draft: Fix several translation issues 2022-01-28 14:01:42 -06:00
Wanderer Fan
4c524d44ec [TD]restore missing import statement
missing import in initGui preventing start of workbench
2022-01-28 09:50:59 -05:00
wmayer
6d52673021 Fem: for view provider of post-object enable two-side rendering because the coloured object could look broken depending on the range of the color bar 2022-01-28 11:24:36 +01:00
wmayer
3ef2cd2027 App: include header with export macro 2022-01-28 11:21:26 +01:00
Chris Hennes
e702d0aef2 Addon Manager: Run uninstall.py when uninstalling AddOn 2022-01-27 23:34:18 -06:00
Chris Hennes
c62dc32739 Addon Manager: Translation cleanup
pylupdate does not extract translations when f-strings are used for the
translated text, so all f-strings are migrated to calls to format().
Several other minor translation issues are also addressed.

NOTE: This code has been run through the Black reformatter, which adds
trailing commas in many places that the stock Qt 5.x pylupdate does not
recognize. This code must be processed with the corrected pylupdate to
generate the correct translations.
2022-01-27 23:11:31 -06:00
Mateusz Skowroński
d1f30a9d9b Qt::TextColorRole is obsolete. Use ForegroundRole instead. 2022-01-27 14:37:50 -06:00
0penBrain
9f43830c10 [TD] Prevent crash when snapping leader line 2022-01-27 15:13:03 -05:00
sliptonic
ce2f7254f0 Merge pull request #5442 from sliptonic/bug/translationAreaOp
[PATH] Bug/translation cleanup (surface, waterline, propertybag, area ops)
2022-01-27 11:39:44 -06:00
Chris Hennes
e71c9a91af AddonManager: Correct bug with older Qt data 2022-01-27 10:48:25 -06:00
Chris Hennes
77be240b68 Addon Manager: Eliminate use of QDeadlineTimer
This class is apparently missing in some installs of Qt 5.11.3, so
remove the use of it.
2022-01-26 23:14:00 -06:00
benj5378
256acd4aa9 Black 2022-01-27 09:44:44 -05:00
benj5378
e8d7973982 Remove unused modules and variables 2022-01-27 09:44:44 -05:00
benj5378
e7378a9179 Refactor counting for moved views 2022-01-27 09:44:17 -05:00
benj5378
d2fff3465f Black 2022-01-27 09:44:17 -05:00