Commit Graph

22142 Commits

Author SHA1 Message Date
Chris Hennes
c1d86b2f0b Addon Manager: Refactor to improve testability 2022-03-09 23:14:59 -06:00
Russell Johnson
c1529aba40 Path: Fix enumeration dictionary error
This commit corrects an incorrect dictionary key in the enumeration dictionary updated with recent translation fixes.
2022-03-09 21:03:34 -06:00
marioalexis
7124476d7a Part: Some updates in CompoundFilter.py 2022-03-10 03:07:07 +01:00
wmayer
042d9d248e App: correctly handle int as argument for ocumentPy::getObject
Add a unit test to confirm correct behaviour
2022-03-09 23:02:22 +01:00
wmayer
08b77bff08 Core/Mod: modernize C++11
* use nullptr
2022-03-09 21:55:31 +01:00
Chris Hennes
f4a51f3788 Addon Manager: Begin Macro unit tests 2022-03-09 12:14:57 -06:00
Ajinkya Dahale
201ef90a89 [Sketcher] Constrain first pole when created
By doing this, duplicate radius constraints are not made when deleting and
redefining second pole.
2022-03-09 16:43:47 +01:00
Ajinkya Dahale
f10ccfc0fb [Sketcher] Safeguard against spurious pre-selection
Preselection is sometimes not updated under some circumstances
1. when deleting an object through python;
2. before autoconstraint when deleting previous pole in bspline creation mode.

When the preselected curve is the deleted object, segfault/crash can happen.
2022-03-09 16:43:47 +01:00
Ajinkya Dahale
3fa1735088 [Sketcher] Redraw correctly on pole delete in "create b-spline"
This ensures that the last preview line drawn is always at the cursor and that
the coordinates are always w.r.t. the last defined pole.
2022-03-09 16:43:47 +01:00
marioalexis
3c2fc9374f Part: Check geometry in Part_ExplodeCompound command 2022-03-09 15:41:30 +01:00
J-Dunn
ce4637092e Add files via upload
Current V-bit totally hangs FC when cutting edge height is zero. Tip diameter of zero also causes errors. 
These two tool shapes add 1um offsets to various dimensions to prevent user entered parameters from inducing zero dimensions which make the solver barf.  
The rotational geometry has also been simplified. 
Some are non critical but tip diam increment is a work around. To be rigorous, the fixed value such ideally be relative to some dimension of the job, not the arbitrary constant. Hopefully 1um will be suitable for most FC applications unless someone is doing uv lithography masks ;) 
https://forum.freecadweb.org/viewtopic.php?f=15&t=54880&p=479739#p479739
This replaces earlier PR where these files were not uploaded. 
https://github.com/FreeCAD/FreeCAD/pull/4491
2022-03-09 12:13:40 +01:00
Uwe
b62cf543c7 [Part] change sGroup for Section Cut
as discussed here: https://forum.freecadweb.org/viewtopic.php?p=577536#p577536
2022-03-09 11:43:23 +01:00
Uwe
7de25e8c37 [Part] Section Cut: fix cut object naming issue 2022-03-09 03:04:13 +01:00
Chris Hennes
bbfc77f167 Addon Manager: Add unit tests for dependencies 2022-03-08 19:15:01 -06:00
Chris Hennes
936a1f01d4 Addon Manager: Improve dependency handling 2022-03-08 19:15:01 -06:00
Uwe
d1fae66f55 [Part] Section Cut: fix for tooltip handling 2022-03-09 01:52:16 +01:00
wmayer
b626b7d719 Gui: Optimize includes to reduce compile time 2022-03-09 01:25:29 +01:00
Uwe
4f5c29edd6 [Gui] Quarter: remove unused includes 2022-03-09 01:12:15 +01:00
wmayer
b02cb69baa Sketch: [skip ci] fix linking error with MSVC
For more details see: https://forum.freecadweb.org/viewtopic.php?f=10&t=66939
2022-03-09 01:11:15 +01:00
sliptonic
e0c0590631 fixes #5954
Make headers less confusing and ambiguous
2022-03-08 08:40:05 -06:00
Wanderer Fan
11ff0c69e2 [TD]Change grid default to OFF 2022-03-08 08:21:28 -05:00
Yorik van Havre
aac3629dff Merge pull request #6510 from alafr/fix-basemirror
Arch: fix BaseMirror property
2022-03-08 13:57:49 +01:00
Uwe
9f73e0b3eb [Part] Section Cut: also handle normal Link objects
Link objects within App::Part containers were already handled but not Link objects outside
2022-03-08 06:25:35 +01:00
sliptonic
714cab8f6f fixes 6114
replaces DlgJobChooser with QInputDialog.
2022-03-07 17:51:00 -06:00
Uwe
554635cc7d [Gui] rename the Qt header list 2022-03-07 20:35:38 +01:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
wmayer
f1f68db55b App: Optimize includes to reduce compile time 2022-03-07 15:53:58 +01:00
Wanderer Fan
437a89e42a [TD]fix ScaleType change behaviour 2022-03-07 09:30:39 -05:00
Yorik van Havre
2cff977548 Merged crowdin translations 2022-03-07 14:55:22 +01:00
Yorik van Havre
6b71ce3a3e Updated master translation files 2022-03-07 14:49:13 +01:00
Ajinkya Dahale
5bfe90b2aa [Sketcher] Check for b-spline before starting knot insertion "mode"
The DrawSketchHandler will otherwise give confusing error messages.
2022-03-07 14:27:28 +01:00
Uwe
a8bae676ce [Part] Section cutting: fix read of cut state of existing cuts
- it is now also possible to determine the Flip state correctly
2022-03-07 02:45:36 +01:00
wmayer
4a343ab31e Base/App: fix warnings from code analysers:
* convert old-style-casts to explicit C++ casts where possible
* make some implicit conversions explicit
2022-03-06 23:49:30 +01:00
Syres916
e053db75b3 [Raytracing] Bugfix for compiling with OCC 7.6.x
See discussion https://forum.freecadweb.org/viewtopic.php?f=4&p=577109#p577109
2022-03-06 22:32:31 +01:00
Stefan Brüns
18371c0d3c Test: Provide more useful information when unit translation fails
Add the input quantity and the target scheme to the exception output.
Also make the output formatting more canonical and remove the unused
"s" temporary.
2022-03-06 11:20:09 -05:00
Ajinkya Dahale
ec132dc2e4 [Sketcher] Remove "incomplete" from insert knot command
I had kept the qualifier there when developing the tool and forgot to remove it. At this time the tool is fairly well-developed.
2022-03-06 16:25:08 +01:00
Ajinkya Dahale
ec2522130b [Sketcher] Allow deleting last knot during B-Spline creation 2022-03-06 16:14:07 +01:00
Ajinkya Dahale
c6f19758d1 [Sketcher] Reduce duplicate code in DrawSketchHandlerBSpline 2022-03-06 16:14:07 +01:00
Wanderer Fan
4cf1c31f7f [TD]fix integer grid step variable to double 2022-03-06 08:54:24 -05:00
wmayer
91e4e468dd Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code 2022-03-06 10:13:47 +01:00
Wanderer Fan
ae79d2155f [TD]update menu text and tip to std 2022-03-05 14:30:14 -05:00
Chris Hennes
a0c5b6b812 Addon Manager: Fix number of updates available 2022-03-05 10:55:25 -06:00
Chris Hennes
47a6f444bc Addon Manager: Add unit tests for Addon class 2022-03-05 10:17:50 -06:00
wmayer
5e0cfc64ee App: use forward declarations 2022-03-04 21:09:46 +01:00
alafr
d5ed23a62c Arch: fix BaseMirror property
The code checked for the existance of the property and not if it's value was true. As a result, the structure base was always mirrored, even if the property was set to false. This commit fixes the issue.
2022-03-04 19:53:58 +01:00
sliptonic
ee8193322c Merge pull request #6485 from mlampert/feature/external-thread-milling
Path: Feature/external thread milling
2022-03-04 12:52:31 -06:00
sliptonic
9028976d16 Merge pull request #4911 from sliptonic/feature/nopathjob
[Path] Make Job and Operation visibility more natural
2022-03-04 12:51:25 -06:00
Markus Lampert
c02dedbb3c Split out thread milling generator into its own file 2022-03-04 10:42:34 -08:00
sliptonic
69a17578d3 black format 2022-03-04 10:42:34 -08:00
Markus Lampert
fc668181c3 Fixed unit tests 2022-03-04 10:42:34 -08:00