Commit Graph

21784 Commits

Author SHA1 Message Date
Chris Hennes
56a04dbbc0 Addon Manager: Begin Macro unit tests 2022-03-09 12:14:57 -06:00
Ajinkya Dahale
c596c2fe3d [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
0f093f4221 [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
1d9dd035e7 [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
8723f0b96d Part: Check geometry in Part_ExplodeCompound command 2022-03-09 15:41:30 +01:00
Uwe
d1fc159f4c [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
907ef395f4 [Part] Section Cut: fix cut object naming issue 2022-03-09 03:04:13 +01:00
Chris Hennes
b14638c439 Addon Manager: Add unit tests for dependencies 2022-03-08 19:15:01 -06:00
Chris Hennes
75aed7f375 Addon Manager: Improve dependency handling 2022-03-08 19:15:01 -06:00
Uwe
e3e455cd5c [Part] Section Cut: fix for tooltip handling 2022-03-09 01:52:16 +01:00
wmayer
9e91a8991e Gui: Optimize includes to reduce compile time 2022-03-09 01:25:29 +01:00
Uwe
9654786c67 [Gui] Quarter: remove unused includes 2022-03-09 01:12:15 +01:00
wmayer
6193fc9cdb 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
Wanderer Fan
84f2340170 [TD]Change grid default to OFF 2022-03-08 08:21:28 -05:00
Yorik van Havre
2c55cda567 Merge pull request #6510 from alafr/fix-basemirror
Arch: fix BaseMirror property
2022-03-08 13:57:49 +01:00
Uwe
068f02c4b7 [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
Uwe
bda12907de [Gui] rename the Qt header list 2022-03-07 20:35:38 +01:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
wmayer
4977e55e51 App: Optimize includes to reduce compile time 2022-03-07 15:53:58 +01:00
Wanderer Fan
5926060281 [TD]fix ScaleType change behaviour 2022-03-07 09:30:39 -05:00
Yorik van Havre
7653a9473d Merged crowdin translations 2022-03-07 14:55:22 +01:00
Yorik van Havre
5aec63d704 Updated master translation files 2022-03-07 14:49:13 +01:00
Ajinkya Dahale
c7546287d2 [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
f602fc872b [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
e4435cdcba 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
8b3902bcfd [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
271abecb53 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
6eedd0f9c5 [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
47a040537b [Sketcher] Allow deleting last knot during B-Spline creation 2022-03-06 16:14:07 +01:00
Ajinkya Dahale
00ef0e0504 [Sketcher] Reduce duplicate code in DrawSketchHandlerBSpline 2022-03-06 16:14:07 +01:00
Wanderer Fan
273d7f8bd6 [TD]fix integer grid step variable to double 2022-03-06 08:54:24 -05:00
wmayer
58a719e207 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
c023c61562 [TD]update menu text and tip to std 2022-03-05 14:30:14 -05:00
Chris Hennes
2a2c6e5319 Addon Manager: Fix number of updates available 2022-03-05 10:55:25 -06:00
Chris Hennes
f4dbd6b2b2 Addon Manager: Add unit tests for Addon class 2022-03-05 10:17:50 -06:00
wmayer
95c70e7f4c App: use forward declarations 2022-03-04 21:09:46 +01:00
alafr
e6f0a0238a 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
693315755f Merge pull request #6485 from mlampert/feature/external-thread-milling
Path: Feature/external thread milling
2022-03-04 12:52:31 -06:00
sliptonic
0d98056384 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
c0bb11384c Split out thread milling generator into its own file 2022-03-04 10:42:34 -08:00
sliptonic
228fce273b black format 2022-03-04 10:42:34 -08:00
Markus Lampert
79779ac96f Fixed unit tests 2022-03-04 10:42:34 -08:00
Markus Lampert
d80c4ce399 Removed debugging gates 2022-03-04 10:42:34 -08:00
Markus Lampert
f082f40473 Fixed UI update upond changing the thread type 2022-03-04 10:42:34 -08:00
Markus Lampert
238bb7c2bb Fixed multi pass for external threads with proper lead in/out 2022-03-04 10:42:34 -08:00
Markus Lampert
46827df206 Changed passes for constant tool engagement 2022-03-04 10:42:34 -08:00
Markus Lampert
e00e1b3591 Disabled debugging comments 2022-03-04 10:42:34 -08:00
Markus Lampert
e4fb163cc1 Fixed lead in/out with elevator location. 2022-03-04 10:42:34 -08:00
Markus Lampert
de6ab3fc79 Added thread generation unit tests and fixed finishing the thread 2022-03-04 10:42:34 -08:00
Markus Lampert
60772c4c90 Fixed threads data file list 2022-03-04 10:42:34 -08:00