Commit Graph

21672 Commits

Author SHA1 Message Date
Chris Hennes
2b637a36f7 Addon Manager: Auto-create toolbar button
When installing a macro, prompt user to install a toolbar button
automatically. Fills in the details of the button using the macro's
metadata, including an icon if the __icon__ metadata variable points to
a file.

Also:
* Support XPM data for macro icon
* Support online icons
* Fix bug in macro uninstall
* Cleaned up macro code
2022-02-26 21:06:37 -06:00
Syres916
c787a44f49 [FEM] Bugfix Gmsh Version check to be...
...Python 3.6 compatible
2022-02-26 17:15:28 +01:00
wmayer
59886896dc PD: [skip ci] refactor Hole feature 2022-02-26 17:06:38 +01:00
wmayer
aeba940cf0 PD: [skip ci] refactor Hole feature 2022-02-26 16:48:37 +01:00
wmayer
52b936539f PD: [skip ci] fix const correctness in Hole feature 2022-02-26 16:34:44 +01:00
wmayer
2e16f6a7e1 PD: [skip ci] refactor Hole feature 2022-02-26 16:18:20 +01:00
wmayer
08a3b60031 PD: fix error 'gp_Dir::Crossed() - result vector has zero norm'
As reported here: https://forum.freecadweb.org/viewtopic.php?f=3&t=65826
2022-02-26 16:07:35 +01:00
Chris Hennes
386f68aa81 Addon Manager: Add unit test framework
Adds the framework for unit testing, and a few tests of the utilities functions.
2022-02-25 23:17:59 -06:00
Chris Hennes
27a7c60802 Addon Manager: Minor improvements to utilities 2022-02-25 20:41:03 -06:00
Ajinkya Dahale
35373434bc [Sketcher] Create internal geometry after converting to NURBS
The control points are needed to edit the converted B-Spline
2022-02-25 18:45:12 +01:00
Ajinkya Dahale
a4955a27bf [Sketcher] Correct NURB to NURBS
The S in NURBS stands for Spline
2022-02-25 18:22:01 +01:00
Uwe
a8c912d6f8 [App] Expression and Extension: remove unused includes 2022-02-25 18:06:57 +01:00
Yorik van Havre
af0c34db9c Merge pull request #6444 from Roy-043/Draft-Fix-Draft_Line-Length-is-zero-bug
Draft: Fix Draft_Line Length is zero bug
2022-02-25 14:32:15 +01:00
luz paz
f8f3c448ef [TD] tweak verbiage for weld symbol directory tooltip [skip ci] 2022-02-24 18:10:57 -05:00
luz paz
03ffb0844f [TD] Fix some more grammatical issues 2022-02-24 18:10:57 -05:00
Benjamin Bræstrup Sayoc
15759a57fb [TD] Improve weld task tool tips, partially fixes #0004838 2022-02-24 18:10:57 -05:00
Chris Hennes
038d9cfb2f Addon Manager: Improve darkmode check 2022-02-24 12:05:08 -06:00
Chris Hennes
e0c45fe763 Addon Manager: Remove restart need for pref packs
The actual need to restart was removed by aaf4fad0c, this commit
updates the Addon Manager user interface to stop telling the user
they need to restart. Now restarting is only required for addons
that contain workbenches. Macros and pref packs to not need a
restart.
2022-02-24 09:49:15 -06:00
Chris Hennes
416ef8bf82 Addon Manager: Switch cache strategy to PreferNetwork 2022-02-24 09:25:02 -06:00
Chris Hennes
1d13bf8b44 Addon Manager: Fix compact view tag label 2022-02-24 09:16:07 -06:00
Chris Hennes
3503cb2abc OpenSCAD: Warning message tweaks 2022-02-24 09:08:43 -06:00
Yorik van Havre
d6041f491f Merge pull request #6420 from marioalexis84/draft-drawing_techdraw
Arch: Replace Drawing functions with TechDraw functions
2022-02-24 13:34:59 +01:00
wmayer
8302883843 Sketcher: fix crash in function 'Convert to B-Spline'
See also the forum thread: https://forum.freecadweb.org/viewtopic.php?f=19&t=66470
2022-02-24 12:54:11 +01:00
Roy-043
6a1d81f62b Draft: Fix Draft_Line Length is zero bug
When changing the Length of a Draft_Line to f.e. 0.5 the input of the zero resulted in a zero length line.
2022-02-24 12:26:42 +01:00
Uwe
c533286d00 [Part] fix a comment on SectionCut 2022-02-24 04:49:29 +01:00
Chris Hennes
03414b9fd7 OpenSCAD: Fix for empty groups 2022-02-23 21:21:57 -06:00
Chris Hennes
5eb081363b Addon Manager: Fix corrupted ZIP downloads
The code that followed redirects was resulting in a double-download
of the data. This corrects the problem by manually re-queueing a
new network request for each redirect, instead of trying to tell the
QNetworkAccessManager to follow them automatically.
2022-02-23 20:37:27 -06:00
Chris Hennes
e7ca40623c Addon Manager: Minor fixes and error tweaks
* Correct display of tags in list view
* Add error checking for branch name and url match
* Convert some messages to logs
2022-02-23 18:32:05 -06:00
Chris Hennes
18c7ef6370 Addon Manager: Show correct buttons when no git
If git and/or GitPython are not installed, the Addon Manager cannot
check to see if there are any available updates. In that case, show
the "Uninstall" and "Update" buttons. If no update is available,
clicking the update button will simply download a new copy of the
addon.
2022-02-23 17:02:23 -06:00
Dirk Olbrich
99bf963f54 [Mod] reorder module imports alphabetically 2022-02-23 19:02:55 +01:00
sliptonic
efbba14254 Merge pull request #5512 from luzpaz/Path-PathSelection-bug
Path: Fix class 'KeyError' in PathSelection.py
2022-02-23 08:40:45 -06:00
Uwe
d0183415a4 [Robot] fix typo reported by spellchecker CI
- Accelaration -> Acceleration

- plus some style fixes done by MSVC
2022-02-23 12:13:15 +01:00
luz paz
958a1c67d5 [Path] mark deprecated selections
...and fix typos
2022-02-22 19:07:54 -05:00
Uwe
34df90a4a1 [Show] delete empty and unused file 2022-02-23 00:42:53 +01:00
sliptonic
ce70ee11f9 Update PathSelection.py
The Opname changed as part of the translation cleanup.  Adding both names to the dictionary will support both existing operations and newly created ones.
2022-02-22 14:56:00 -06:00
sliptonic
dc94ff8b6f Merge pull request #5424 from Russ4262/fix/3D_pocket_overcut
Path: Fixes 3D Pocket overcut on underside of selected faces
2022-02-22 08:52:12 -06:00
sliptonic
c6e043b3c4 Merge pull request #6394 from sliptonic/bug/engravingsketch
Bug/engravingsketch
2022-02-22 08:44:03 -06:00
Yorik van Havre
5d8db3cfbe Arch: Fixed wrong constant in IFC export 2022-02-22 14:36:54 +01:00
FEA-eng
e873aafca1 Add new diagonal hatch (flipped) 2022-02-22 08:32:28 -05:00
Uwe
da9c18374b [PD] final work to remove unused includes 2022-02-22 02:18:49 +01:00
Uwe
16467d9067 Revert "App: fix property ordering problem when undo/redo (#3255)"
This reverts commit 24d30636e4fb990fdbd67538360846ff09456dfc.
2022-02-22 01:21:49 +01:00
Uwe
17e6ebf120 [PD] remove more unused includes 2022-02-22 01:19:32 +01:00
wmayer
0bd37c0254 Robot: [skip ci] drop word from tooltip 2022-02-21 22:48:49 +01:00
wmayer
eb92031774 Test: automatically close modal dialogs when running Workbench tests 2022-02-21 21:29:26 +01:00
marioalexis
251a9bd276 Arch: Replace Drawing functions with TechDraw functions 2022-02-21 13:17:09 -03:00
Uwe
39c03863b5 [Part] compile fix for precompiled header
For an unknown reason BRepFill_Generator.hxx must be load explicitly for precompiled headers.
2022-02-21 16:52:41 +01:00
Uwe
7b7a0aa4bf [PD] remove some more unused includes 2022-02-21 15:13:54 +01:00
Uwe
d981efa198 [Robot] fix a typo reported by spellchecker CI 2022-02-21 14:16:01 +01:00
Uwe
e074b63650 [Arch] fix typo reported by spellchecker CI 2022-02-21 13:47:46 +01:00
Uwe
933484e387 fix more typos to silence the spellchecker CI 2022-02-21 13:20:06 +01:00