luz paz
b70c7b6323
Fix superfluous whitespace in various files
2022-01-09 21:01:42 -06:00
luz paz
b0fcf45513
Fix various superfluous whitespace in *.dox files
2022-01-09 21:01:42 -06:00
mdkus
aa9b853bfb
Update _TEMPLATEPY_Workbench.svg
...
Replacing inkscape svg by plain svg
2022-01-09 22:14:39 +01:00
David Österberg
2ba95b3423
PartDesign: Improve orientation behaviour for conical helices ( #5363 )
...
* PartDesign: Improve orientation behavior for conical helices
As identified in the forum
https://forum.freecadweb.org/viewtopic.php?f=3&t=65136
The Freenet orientation mode does not give expected results for helices with cone angle.
By using an auxiliary helix that is axially offset it is guaranteed that the orientation frame
is always consistent with a cylindrical coordinate system.
Results will be the same as before when cone angle is 0.
2022-01-09 22:13:15 +01:00
Uwe
cf0764c1b5
[Part] sort includes
2022-01-09 21:59:02 +01:00
Uwe
f84d32d1b6
[PD] sort includes
...
- to keep the overview
- removed double entries
- will make diff of pending PRs smaller
2022-01-09 21:36:07 +01:00
Abdullah Tahiri
8923f50dce
Sketcher: Remove unnecesary geometry touch
2022-01-09 11:40:49 +01:00
Abdullah Tahiri
247a9f0876
Sketcher: EditCoinManager - Check constraint types on updating constraint color
...
===============================================================================
Problem:
- While SketchObject inhibits intermediate updates during internal command execution, sometimes
a change in the selection (clear selection) in an intermediary step triggers an spurious update colour.
- There will be a final draw and this update colours at the end of the internal command.
- If the types of the constraints changed during the intermediary steps, it may happen that the constraint
coin nodes at a given position no longer correspond to the constraint type in the SketchObject property. This
may cause a attempt to access to a non-existing node or static casting a existing node to the wrong type.
Solution:
- Check the type of the constraint against the cached type. If not matching, cancel the color update.
2022-01-09 11:40:49 +01:00
Ajinkya Dahale
d920d73af4
[Sketcher] Add knot insertion command in Sketcher workbench
2022-01-09 11:33:53 +01:00
Ajinkya Dahale
d8c5801b95
[Sketcher] Add insertBSplineKnot to SketcherObject
...
[Sketcher] Workaround for segfault on knot insertion
2022-01-09 11:33:53 +01:00
Ajinkya Dahale
978f579870
[Part] Support insertion of knots in b-splines
2022-01-09 11:33:53 +01:00
wmayer
f1a265479d
PD: declare signedLengthConstraint in FeatureExtrude as static class member
2022-01-09 10:53:04 +01:00
wmayer
26f9e7869f
App: replace three boolean of CellAddress::toString() with a bitmask of enums
2022-01-09 10:39:54 +01:00
Chris Hennes
2cbe72aea5
Addon Manager: Display download progress
2022-01-09 00:46:07 -06:00
Chris Hennes
e4bb4e7db7
Addon Manager: Correct typo
2022-01-08 22:39:42 -06:00
Chris Hennes
3c937a5f8d
Addon Manager: Clean up thread termination
2022-01-08 22:30:05 -06:00
Chris Hennes
ddac2f7580
Addon Manager: Correct bad metadata update
2022-01-08 21:07:32 -06:00
Chris Hennes
efa08946f2
Addon Manager: Improve stability when cache update interrupted
2022-01-08 19:47:57 -06:00
wmayer
9a933a6015
Base: [skip ci] add class Flags
2022-01-08 19:18:04 +01:00
Chris Hennes
3b76a23d7b
Addon Manager: Silence error on missing cache
2022-01-08 11:32:33 -06:00
Chris Hennes
f8e08659d2
Addon Manager: Fix error on fast failed connection
2022-01-08 11:29:43 -06:00
luz paz
eef27b845f
Start: header uniformity + whitespace management + misc. pep8 fixes
2022-01-08 18:28:27 +01:00
Uwe
417d18762c
[Part] improve Extrude dialog
...
- adds missing tooltip and label
- improve tooltips
2022-01-08 18:13:06 +01:00
wmayer
56bfb9804c
Base: [skip ci] support bitmask operations for enums
2022-01-08 15:48:40 +01:00
David Osterberg
968a9d83ae
PartDesign: Silence noisy FeatureTransformed
...
Remove several report view messages that are not necessary for everyday use.
By request from the forum (https://forum.freecadweb.org/viewtopic.php?f=3&t=64900&start=20#p558962 )
2022-01-08 15:30:39 +01:00
wmayer
118b7aa0cc
Sketcher: improve exception handling
...
* if determining the normal raises an exception then fall back to a default value
* when handling a Base::Exception then call its ReportException() function to get as much information as possible
2022-01-08 13:48:01 +01:00
Uwe
38cc6f29e0
[PD] Pad /Pocket: remove unused code
2022-01-08 03:24:09 +01:00
Uwe
5aadc54d18
[PD] Pad/Pocket: fix reverse behavior
...
- bring back intended behavior as in FC 0.19:
- if 2 lengths, then midplane is invisible
- if reversed checked, then no symmetric and if symmetric then no reverse
- unify the code for Pad and Pocket (reversed is always visible)
- fix a typo in a bool name
2022-01-08 01:15:23 +01:00
Uwe
e2f883fcc4
[PD] Pad/Pocket: sort out common code
...
- sort out a constraint used by Pad and Pocket
- also unify Length2 parameter naming
2022-01-08 00:45:19 +01:00
Floriansimmer
f31fe30c57
Codespell: skip *.svg + add more ignored words ( #5338 )
...
* Codespell: skip *.svg + add more ignored words
* possible words to remove from the ignorelist
2022-01-07 17:19:49 -06:00
Roy-043
cc447a061c
Draft: Fix issues with translate and _tr ( #5351 )
2022-01-08 00:04:53 +01:00
marioalexis
68439aa831
Draft: Use super() to call base class methods
2022-01-07 22:24:21 +01:00
Uwe
faa9658b9d
[PD] remove double include
2022-01-07 21:58:16 +01:00
Uwe
9eb3012ecc
[Gui] use predefined M_PI
2022-01-07 21:55:48 +01:00
Uwe
4199ff2c66
[Mesh] use predefined M_PI
2022-01-07 21:54:47 +01:00
Uwe
629c1467ce
[Drawing] use predefined M_PI
2022-01-07 21:52:24 +01:00
Uwe
9057093f02
[FEM] use predefined M_PI
2022-01-07 21:50:47 +01:00
Uwe
2f0c4d055a
[TD] coding style fixes for new extensions
...
all done by MSVC
I do this since on one hand the readability is in this case really improved and because whenever I made a change, MSVC tries to fix the style and then the diffs are unnecessarily large. Also the MSVC style is almost what we use as the "standard" coding style.
2022-01-07 21:35:46 +01:00
Uwe
6cab015fdd
[TD] fix another compiler warning about double to float truncation
2022-01-07 21:28:27 +01:00
Uwe
cde8650da8
[TD] fix compiler warning and use predefined M_PI
...
- fixes:
CommandExtensionPack.cpp(1702,38): warning C4305: 'initializing': truncation from 'double' to 'float'
- uses our predefined M_PI constant
2022-01-07 21:21:51 +01:00
Uwe
9a8e055cc6
[PD] Hole: fix angle constraints
...
- all 3 angles cannot be >= 180°
- also add missing minimum in UI for taper angle
2022-01-07 20:38:05 +01:00
Uwe
7c158a3751
[PD] rename a UI file
...
Pad and Pocket share the same UI file therefore change the name to make this clear that changes in that file must be handled for Pad and Pocket
2022-01-07 20:36:29 +01:00
wmayer
e7c2f8b703
Spreadsheet: proper implementation of mp_subscript of Mapping protocol of PropertySheetPy
2022-01-07 19:55:21 +01:00
Wanderer Fan
e58d30d55e
[TD]use smart pointers in Extensions
2022-01-07 13:34:20 -05:00
Wanderer Fan
e91cc8e329
[TD] avoid memory leaks by using shared_ptr
...
TD geometry objects are sometimes double deleted. This
change uses shared_ptr instead of raw pointers to manage
deletions.
2022-01-07 13:34:20 -05:00
Chris Hennes
4c9191d489
Addon manager dependency resolver ( #5339 )
...
Squashed:
* Addon Manager: Refactor metadata.txt download
* Addon Manager: Basic dependency walker
* Addon Manager: Add basic support for dependencies
* Addon Manager: Improve network detection messaging
* Addon Manager: Black reformat
* Addon Manager: Display dependency info in dialog
* Addon Manager: Dependency dialog added
* Addon Manager: Improve display of update all results
* Addon Manager: Improve display of package list
* Addon Manager: Fix codespell
* Addon Manager: Clean up unused signal
2022-01-07 10:16:44 -06:00
wmayer
d3cdd29f5e
App: [skip ci] fix Property::isSame() and subclasses by first comparing the pointers directly
2022-01-07 17:09:08 +01:00
sliptonic
039d52f01b
Merge pull request #5350 from jimzim111/Path_Post_MachineCommands
...
Path: PathArray: use python library 're' instead of 'regex'
2022-01-07 09:06:13 -06:00
wmayer
4e1f2d5015
PD: [skip ci] remove unused variable
2022-01-07 15:50:09 +01:00
wandererfan
058f88ec8b
[TD]fix typo in command name
2022-01-07 08:58:10 -05:00