Commit Graph

25853 Commits

Author SHA1 Message Date
Uwe
5ee5a6ed36 [TD] fix a double to float truncation compiler warning
fixes warning C4305: 'argument': truncation from 'double' to 'float'
2022-01-11 02:10:44 +01:00
marioalexis
07c51f1b2c Gui: Prevent crash when calling stderr.write and stdout.write without arguments 2022-01-11 01:03:44 +01:00
Chris Hennes
1bfbcb5c95 Addon Manager: Remove progress object from git pull 2022-01-10 10:45:23 -06:00
sliptonic
619947fcc2 Merge pull request #5270 from iromero91/dressup_translate_fixes
[PATH] Translation fixes for dressup operations
2022-01-10 10:42:04 -06:00
sliptonic
b0d7bd5961 Merge pull request #5329 from belov-oleg/path_simulator
Path Simulator: A workaround of the bug while milling curves with small radius
2022-01-10 10:30:32 -06:00
Roy
adf084bb45 TechDraw: Rename TechDraw_ExtensionArc command to TechDraw_ExtensionDrawCosmArc 2022-01-10 11:22:18 -05:00
sliptonic
2e6437a961 Merge pull request #5352 from sliptonic/bug/simulator
[Path]  bug fixes for dxf_post and simulator
2022-01-10 09:28:05 -06:00
Uwe
626425526b [PD] sort out more Pad/Pocket code
as suggested in #5349
2022-01-10 14:33:02 +01:00
Yorik van Havre
00695f7378 Merge pull request #5307 from marioalexis84/draft-projectPoint
Draft: Fix projectPoint method
2022-01-10 12:53:36 +01:00
Yorik van Havre
e33ef084ff Merged crowdin translations 2022-01-10 11:23:59 +01:00
Yorik van Havre
de374cbdfa Updated ts files (after @chennes ludate fix) 2022-01-10 11:15:28 +01:00
Yorik van Havre
d36b455e95 Merge pull request #5318 from chennes/lupdateCPPWorkaround
Tools: Add workaround for lupdate missing source
2022-01-10 11:13:43 +01:00
Roy-043
bb6e0a026e Draft: fix Draft_SelectGroup
The behavior of the Draft_SelectGroup command was a bit cryptic. Layers were also regarded as groups. And the selection result was not the same if a nested object, instead of the group that object was in, was selected. The new version selects all objects in the `Group` property of the selected groups (or group-like objects). Nested groups are selected, but their contents is not.
2022-01-09 21:09:42 -06:00
Chris Hennes
19db2f5ca0 Addon Manager: Add version-based Addon deprecation 2022-01-09 21:02:57 -06:00
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
marioalexis
1cd01248e0 Draft: Fix projectPoint method 2022-01-08 23:16:15 -03: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
Oleg Belov
a81dedc791 Merge branch 'master' into path_simulator 2022-01-08 10:58:30 +03: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
Roy-043
cc447a061c Draft: Fix issues with translate and _tr (#5351) 2022-01-08 00:04:53 +01:00
Oleg Belov
d556a38752 Merge branch 'master' into path_simulator 2022-01-08 00:24:23 +03: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