Commit Graph

21089 Commits

Author SHA1 Message Date
Chris Hennes
2cbe72aea5 Addon Manager: Display download progress 2022-01-09 00:46:07 -06:00
Chris Hennes
e4bb4e7db7 Addon Manager: Correct typo 2022-01-08 22:39:42 -06:00
Chris Hennes
3c937a5f8d Addon Manager: Clean up thread termination 2022-01-08 22:30:05 -06:00
Chris Hennes
ddac2f7580 Addon Manager: Correct bad metadata update 2022-01-08 21:07:32 -06:00
Chris Hennes
efa08946f2 Addon Manager: Improve stability when cache update interrupted 2022-01-08 19:47:57 -06:00
Chris Hennes
3b76a23d7b Addon Manager: Silence error on missing cache 2022-01-08 11:32:33 -06:00
Chris Hennes
f8e08659d2 Addon Manager: Fix error on fast failed connection 2022-01-08 11:29:43 -06:00
luz paz
eef27b845f Start: header uniformity + whitespace management + misc. pep8 fixes 2022-01-08 18:28:27 +01:00
Uwe
417d18762c [Part] improve Extrude dialog
- adds missing tooltip and label
- improve tooltips
2022-01-08 18:13:06 +01:00
David Osterberg
968a9d83ae PartDesign: Silence noisy FeatureTransformed
Remove several report view messages that are not necessary for everyday use.
By request from the forum (https://forum.freecadweb.org/viewtopic.php?f=3&t=64900&start=20#p558962)
2022-01-08 15:30:39 +01:00
wmayer
118b7aa0cc Sketcher: improve exception handling
* if determining the normal raises an exception then fall back to a default value
* when handling a Base::Exception then call its ReportException() function to get as much information as possible
2022-01-08 13:48:01 +01:00
Uwe
38cc6f29e0 [PD] Pad /Pocket: remove unused code 2022-01-08 03:24:09 +01:00
Uwe
5aadc54d18 [PD] Pad/Pocket: fix reverse behavior
- bring back intended behavior as in FC 0.19:
 - if 2 lengths, then midplane is invisible
 - if reversed checked, then no symmetric and if symmetric then no reverse
- unify the code for Pad and Pocket (reversed is always visible)
- fix a typo in a bool name
2022-01-08 01:15:23 +01:00
Uwe
e2f883fcc4 [PD] Pad/Pocket: sort out common code
- sort out a constraint used by Pad and Pocket
- also unify Length2 parameter naming
2022-01-08 00:45:19 +01:00
Roy-043
cc447a061c Draft: Fix issues with translate and _tr (#5351) 2022-01-08 00:04:53 +01:00
marioalexis
68439aa831 Draft: Use super() to call base class methods 2022-01-07 22:24:21 +01:00
Uwe
faa9658b9d [PD] remove double include 2022-01-07 21:58:16 +01:00
Uwe
4199ff2c66 [Mesh] use predefined M_PI 2022-01-07 21:54:47 +01:00
Uwe
629c1467ce [Drawing] use predefined M_PI 2022-01-07 21:52:24 +01:00
Uwe
9057093f02 [FEM] use predefined M_PI 2022-01-07 21:50:47 +01:00
Uwe
2f0c4d055a [TD] coding style fixes for new extensions
all done by MSVC

I do this since on one hand the readability is in this case really improved and because whenever I made a change, MSVC tries to fix the style and then the diffs are unnecessarily large. Also the MSVC style is almost what we use as the "standard" coding style.
2022-01-07 21:35:46 +01:00
Uwe
6cab015fdd [TD] fix another compiler warning about double to float truncation 2022-01-07 21:28:27 +01:00
Uwe
cde8650da8 [TD] fix compiler warning and use predefined M_PI
- fixes:
CommandExtensionPack.cpp(1702,38): warning C4305: 'initializing': truncation from 'double' to 'float'

- uses our predefined M_PI constant
2022-01-07 21:21:51 +01:00
Uwe
9a8e055cc6 [PD] Hole: fix angle constraints
- all 3 angles cannot be >= 180°
- also add missing minimum in UI for taper angle
2022-01-07 20:38:05 +01:00
Uwe
7c158a3751 [PD] rename a UI file
Pad and Pocket share the same UI file therefore change the name to make this clear that changes in that file must be handled for Pad and Pocket
2022-01-07 20:36:29 +01:00
wmayer
e7c2f8b703 Spreadsheet: proper implementation of mp_subscript of Mapping protocol of PropertySheetPy 2022-01-07 19:55:21 +01:00
Wanderer Fan
e58d30d55e [TD]use smart pointers in Extensions 2022-01-07 13:34:20 -05:00
Wanderer Fan
e91cc8e329 [TD] avoid memory leaks by using shared_ptr
TD geometry objects are sometimes double deleted.  This
change uses shared_ptr instead of raw pointers to manage
deletions.
2022-01-07 13:34:20 -05:00
Chris Hennes
4c9191d489 Addon manager dependency resolver (#5339)
Squashed:
* Addon Manager: Refactor metadata.txt download
* Addon Manager: Basic dependency walker
* Addon Manager: Add basic support for dependencies
* Addon Manager: Improve network detection messaging
* Addon Manager: Black reformat
* Addon Manager: Display dependency info in dialog
* Addon Manager: Dependency dialog added
* Addon Manager: Improve display of update all results
* Addon Manager: Improve display of package list
* Addon Manager: Fix codespell
* Addon Manager: Clean up unused signal
2022-01-07 10:16:44 -06:00
sliptonic
039d52f01b Merge pull request #5350 from jimzim111/Path_Post_MachineCommands
Path: PathArray: use python library 're' instead of 'regex'
2022-01-07 09:06:13 -06:00
wmayer
4e1f2d5015 PD: [skip ci] remove unused variable 2022-01-07 15:50:09 +01:00
wandererfan
058f88ec8b [TD]fix typo in command name 2022-01-07 08:58:10 -05:00
wandererfan
f2d624cede [TD]combine @wmayer and edi271 changes re command extensions 2022-01-07 08:58:10 -05:00
edi271
de1ab433e5 using getCircleCenter from Part WB 2022-01-07 08:58:10 -05:00
edi271
bfe2184251 using enums to define line attributes 2022-01-07 08:58:10 -05:00
edi271
5e44722a18 Changes caused by PR5231 2022-01-07 08:58:10 -05:00
edi271
74c3f2b0cf Cascade spacing added 2022-01-07 08:58:10 -05:00
edi271
f2d89f471e Menu seperators added 2022-01-07 08:58:10 -05:00
edi271
93ea3ba19f Inserted undo/redo commands 2022-01-07 08:58:10 -05:00
edi271
9aac5253dc Desired changes in TaskSelectLineAttributes.h 2022-01-07 08:58:10 -05:00
edi271
ed643f3fe9 Desired changes in Workbench.cpp 2022-01-07 08:58:10 -05:00
edi271
380386851e Next31TechDrawTools 2022-01-07 08:58:10 -05:00
Abdullah Tahiri
d76f3b3c0c Sketcher: ViewProvider parameter color subscription
===================================================

Bug:

Subscription/Unsubscription of outside of edit mode parameters was missing.

So changing the edge color from settings required to restart FreeCAD.

Fix:

Subscribe/Unsubscribe from the relevant parameter group
2022-01-07 10:19:22 +01:00
jim
34415c6946 use python library 're' instead of 'regex' for portability 2022-01-06 21:06:15 -08:00
Ajinkya Dahale
c558fc7195 [FEM] Use modal add/remove for more constraints (8/??)
Use the previously added superclass `TaskConstraintOnBoundary` for more
constraints where it's usable.

Currently done:
TaskFemConstraintDisplacement
TaskFemConstraintForce
TaskFemConstraintSpring
TaskFemConstraintFluidBoundary
TaskFemConstraintHeatflux
TaskFemConstraintFixed
TaskFemConstraintTemperature
TaskFemConstraintPressure

Too different:
TaskFemConstraintTransform (single selection)
TaskFemConstraintContact (single selection, two fields)
TaskFemConstraintPlaneRotation (single selection)
(Other constraint tasks, which do not use `addToSelection`)
2022-01-07 05:33:42 +01:00
Ajinkya Dahale
0aeed0e53b [FEM] Add modal add/remove for dispacement constraint
With this, add/remove buttons for displacement constraint will put the user in a
selection mode if pressed when nothing is selected.

Superclass `TaskFemConstraintOnBoundary` Allows code reuse for other
constraints. We do not need this in `TaskFemConstraints` because it is only used
in a subset of constraints, particularly that applies on only some of the
boundary entities.

TODO: Confirm Undo/Redo works appropriately.
TODO: Optimize `onSelectionChanged()`.
2022-01-07 05:33:42 +01:00
Chris Hennes
ecc6dee175 Addon Manager: Clean up copied macros on uninstall 2022-01-06 20:34:48 -06:00
Chris Hennes
7ea0394e97 Addon Manager: Handle symlinking failure 2022-01-06 19:22:00 -06:00
sliptonic
13817448b2 Merge pull request #5097 from Russ4262/fix/waterline
[Path] Fix Waterline error due to invalid arguments in `getOffsetArea()` calls
2022-01-06 18:30:06 -06:00
Ajinkya Dahale
8a59607517 [FEM] Use OpenMP for FemMesh::{getNodesByEdge, getNodesByVertex} 2022-01-07 01:23:01 +01:00