Commit Graph

27644 Commits

Author SHA1 Message Date
Uwe
82132e39bb [Gui] CommandView and Tree: remove unused headers 2022-02-19 01:24:24 +01:00
Uwe
9b7572e9a9 [PD] FeatureHelix: simplify code
- also rename some variables for better readability
- remove unused includes
2022-02-19 00:48:11 +01:00
Chris Hennes
57e2d8b31d Gui: Clean up mod init error messages 2022-02-18 17:40:05 -06:00
Chris Hennes
781f0bd626 Addon Manager: Improve macro metadata extraction 2022-02-18 17:10:52 -06:00
sliptonic
7b7b76f1ec Merge pull request #6373 from Russ4262/fix/3d_surface_property_enumerations
Path: Correct restoration of 3D Surface property enumerations
2022-02-18 10:57:11 -06:00
sliptonic
d6a12b7a0e Merge pull request #6391 from Russ4262/revert/extensions_waterline
Path: Remove waterline, outline, and avoid extensions
2022-02-18 10:54:33 -06:00
Ajinkya Dahale
3960325821 [Sketcher] Use knot insertion pointer when using that tool
Icon courtesy @bitacovir, adapted from https://forum.freecadweb.org/viewtopic.php?f=34&t=66262&p=572480#p572471.
2022-02-18 16:05:54 +01:00
Ajinkya Dahale
c912d5002f [Sketcher] Use point-and-click for knot insertion
Here, point and click means we can move the cursor around and select a point on
the curve, instead of having to enter a value in a dialog (just like we do for
geometry creation and constraints). Continuous mode is also supported, but these
only apply to one B-Spline which should selected before pressing the tool button.

A `DrawSketchHandlerBSplineInsertKnot` is created to handle all the graphical aspects.

Finer control may be desirable but that awaits tool settings task box or similar
changes where keyboard input can be used.

Made some changes as per comments by @abdullahtahiriyo. Also change `activated`
to follow recent NVI changes.
2022-02-18 16:05:54 +01:00
Chris Hennes
03fa2f398f Addon Manager: Fix bug in error messaging 2022-02-18 08:47:39 -06:00
Chris Hennes
d357d59c02 Addon Manager: Black reformat 2022-02-18 08:38:57 -06:00
Chris Hennes
f28278dca5 Addon Manager: Add error checking for proxy setup
Also make a minor tweak to the enabled status of the check all for updates button.
2022-02-18 08:37:20 -06:00
Chris Hennes
13fb62fc3f Gui: Fix unused variable warning 2022-02-18 07:06:26 -06:00
andrea reale
a4628adb49 Remove unused 3rdparty library 2022-02-18 13:05:06 +01:00
wmayer
785d9067cd Tools: [skip ci] in thumbnail provider replace CxImage library with Win32 API 2022-02-18 12:58:51 +01:00
wmayer
fe2719014b Gui: move reloadActive() to WorkbenchPy base class 2022-02-18 07:51:47 +01:00
Russell Johnson
56f95bb4e8 Path: Remove waterline, outline, and avoid extensions 2022-02-17 23:39:44 -06:00
Russell Johnson
44a0b5308f Path: Convert enable extensions button to checkbox 2022-02-17 23:10:15 -06:00
Uwe
fdc4196384 [TD] ViewProviders: remove more unused includes
- also sort the includes
2022-02-18 05:11:52 +01:00
Uwe
7daff0960f [TD] ViewProviders: remove unused includes
- also sort the includes
2022-02-18 04:43:32 +01:00
Uwe
9f8d54d804 [PD] ViewProviderBody: add missing include 2022-02-18 04:25:20 +01:00
Uwe
74e473d162 [Part] ViewProvider2DObject: remove unused includes
- also sort them
2022-02-18 04:03:10 +01:00
Uwe
5f760bd4de [PD] ViewProviderDatum: sorting 2022-02-18 04:02:18 +01:00
Uwe
f306199091 [PD] ViewProviderBody: remove unused includes
- also sot the includes
2022-02-18 04:01:02 +01:00
Uwe
07740a881d [PD] ViewProviderDatum: add missing includes 2022-02-18 03:54:02 +01:00
Uwe
4deff60abc [Sketch] ViewProviderDatum/Primitive: remove unused includes
- also sort the includes
2022-02-18 03:38:49 +01:00
Uwe
5a3b1c4ebe [Sketch] ViewProviderSketch: add missing include 2022-02-18 03:27:53 +01:00
Uwe
87d293f404 [Sketch] ViewProviderSketch: remove unused includes
- also sort the includes
2022-02-18 03:15:27 +01:00
Chris Hennes
7a566ea4d8 Gui: Add interface for managing preference packs 2022-02-17 19:51:24 -06:00
Chris Hennes
38327fa71c Addon Manager: Force recache on custom repo change 2022-02-17 19:17:09 -06:00
Chris Hennes
a3e310ab55 Addon Manager: Improve manual update display 2022-02-17 19:00:57 -06:00
Chris Hennes
cbb93da3ff Addon Manager: Correct displayed modification time 2022-02-17 18:31:36 -06:00
Chris Hennes
3a5f824755 Addon Manager: Add -ff-only option to pull 2022-02-17 18:26:47 -06:00
Chris Hennes
ef8be833fd Addon Manager: Fix missing update button connection 2022-02-17 18:26:24 -06:00
Chris Hennes
494396c768 Addon Manager: Fix custom repos ending in .git 2022-02-17 18:03:14 -06:00
Chris Hennes
524992b8db Addon Manager: Correct macro display
If the "download macros" preference is off, the macro will not yet have
a URL to load the data from. Make sure to load the macro before
attempting to display it. Also resolves the issue with macros being
unable to be installed under similar circumstances.
2022-02-17 17:28:52 -06:00
wmayer
c5dfa7fa01 Sketcher: fix warnings:
* fix -Winconsistent-missing-override
* fix -Woverloaded-virtual that is also a bug because the DrawSketchHandlerArcOfParabola didn't set the suitable mouse cursor
2022-02-17 21:14:37 +01:00
Abdullah Tahiri
d8c052c666 DrawSketchHandler: activation and deactivation via NVI pattern
==============================================================

With the introduction of overridable default behaviour for commands, it makes sense to keep control of the execution path of the activation and deactivation.

Non-virtual interface pattern enforces execution control of the virtual functions, while allowing the behaviour to be overriden in a case by case basis.
2022-02-17 19:37:48 +01:00
sliptonic
74371fd1f1 Merge pull request #5343 from Russ4262/fix/open_edge_zero_start
[Path] Fix open edge zero value start point
2022-02-17 12:36:38 -06:00
wmayer
54cf7713f4 PD: make sure that Attachment editor shows up the context-menu of datum objects 2022-02-17 19:28:01 +01:00
wmayer
c3511ba2f0 Sketch: make sure that Attachment editor shows up in the context-menu 2022-02-17 19:27:11 +01:00
wmayer
59ffad387c Part: in ViewProviderAttachExtension check if feature has the AttachExtension 2022-02-17 19:26:11 +01:00
Chris Hennes
cfabcbe9d5 TD: Fix MSVC compilation failure
Also shifts to snprintf to eliminate overrun risk.
2022-02-17 11:33:52 -06:00
Chris Hennes
621c0b31e1 Gui: Correct generation of macro pref name 2022-02-17 10:23:32 -06:00
sliptonic
c4d5b68a5b Merge pull request #6387 from SamuelMayer/kinetic_nc_pp
Path: Added KineticNC Postprocessor 2nd try
2022-02-17 10:01:32 -06:00
0penBrain
3b1d8fd918 [Sketcher] Fix typo 2022-02-17 16:17:04 +01:00
0penBrain
a360829e9b [Sketcher] Disable constraint selectability on Shift press 2022-02-17 16:17:04 +01:00
0penBrain
34106f49e7 [Sketcher] Disable constraints selection when geometry/constraint handler is active 2022-02-17 16:17:04 +01:00
edi271
3ffae251bf Update CommandExtensionDims.cpp 2022-02-17 10:05:56 -05:00
edi271
adc8574d52 Update CommandExtensionDims.cpp 2022-02-17 10:05:56 -05:00
edi271
2c1c322d68 Update TaskCustomizeFormat.ui 2022-02-17 10:05:56 -05:00