Commit Graph

27664 Commits

Author SHA1 Message Date
luz paz
e81eea9bb4 TD: Substitute string 'Dxf' for 'DXF' [skip ci]
This fix was suggested by translators on crowdin.
2022-02-20 09:33:56 -05:00
wmayer
5007c8358c Tools: [skip ci] Adjust comment about the creation of a bitmap handle 2022-02-20 11:11:34 +01:00
Uwe
c1fbf28e22 [PD] Datums: remove unused includes 2022-02-19 19:32:00 +01:00
Uwe
b7e7c52ecb [PD] remove unused and empty files 2022-02-19 19:04:07 +01:00
Uwe
7c8031d356 [PD] Hole, Pipe and Revolution: remove unused includes 2022-02-19 18:47:26 +01:00
Uwe
61d54b6078 [PD] Pad and Pocket: remove unused includes 2022-02-19 17:57:11 +01:00
Uwe
c6b719a45c [PD] Helix: remove unused includes 2022-02-19 17:18:45 +01:00
Ajinkya Dahale
3e7830c21b [Sketcher] Allow multiplicity change of B-Spline end knots
The first and last knots (which are often also poles) of a B-Spline are not
represented in sketcher as knots, but as end points of the curve. This creates a
problem when we want to change the multiplicities of those knots. As a
workaround, these points are treated differently.

NOTE: While it is technically possible to have end knots in a non-periodic
spline with degree <= degree of the curve, `Geom_BSplineCurve::RemoveKnot()`
fails for the first and last knots, so we are stuck with this. So, this commit
effectively only makes knot multiplicity change possible for periodic splines.
For non-periodic splines this commit just changes the confusing "no knot is
selected" message to an unhelpful "multiplicity modification failed".
2022-02-19 16:10:43 +01:00
Ajinkya Dahale
e8f7a58fc9 [Sketcher] Fix some strings in CommandConstraints.cpp 2022-02-19 16:10:43 +01:00
Uwe
1e314b0165 [Gui] improvements for PCH builds 2022-02-19 06:38:45 +01:00
Uwe
7518dad67b [Gui] compilation fixes for non-PCH
the recent commits were done with PCH, this is the final commit of today's header work for PCH
2022-02-19 06:22:08 +01:00
Uwe
4eeac6dde3 [Gui] Qt4All: add some includes 2022-02-19 06:19:20 +01:00
Uwe
8a376e5ade [Gui] Application and Document: remove unused headers 2022-02-19 05:37:40 +01:00
Uwe
862047010b [Gui] Selection and MainWindow: remove unused headers 2022-02-19 04:55:50 +01:00
Uwe
281b70db58 [Gui] remove some more unused headers 2022-02-19 04:31:27 +01:00
Uwe
3f4e7e7df7 [Gui] remove more unused headers 2022-02-19 04:04:14 +01:00
Uwe
dd5a681fd8 [Gui] remove unused headers 2022-02-19 03:41:28 +01:00
Uwe
3b1280c587 [Gui] View3DPy and View3DInventorViewer: remove unused headers 2022-02-19 02:35:54 +01:00
Uwe
d4f72d7562 [Gui] Tree: fix another typo 2022-02-19 01:55:06 +01:00
Uwe
ee295d0376 [Gui] Tree: fix typo 2022-02-19 01:48:07 +01:00
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