Commit Graph

28656 Commits

Author SHA1 Message Date
0penBrain
a2beab798b [Core] Persistence: improve NotImplemented exception presentation to user 2022-04-08 10:55:31 +02:00
0penBrain
1928bfed63 Fix typo 2022-04-08 10:55:31 +02:00
0penBrain
fbea5fdca5 [CrashFix] Core: fix crash when dumping content of a Surface 2022-04-08 10:55:31 +02:00
0penBrain
760237c8f7 [CrashFix] Core: fix crash when Surface is null 2022-04-08 10:55:31 +02:00
Ed Williams
c5059d4108 Replace Line with LineSegment
It doesn't run with Line
2022-04-08 10:45:19 +02:00
Wanderer Fan
15917cd60f [TD]fix artifact in PDF export 2022-04-07 08:46:11 -04:00
wmayer
82d5be5f6b Fem: remove the forced document recompute from ViewProviderFemPostSphereFunction::updateData
This is already handled in ViewProviderFemPostFunction::dragFinishCallback and can be switched on or off.

See also: https://forum.freecadweb.org/viewtopic.php?p=584481#p584481
2022-04-07 13:29:34 +02:00
wmayer
c4c0304518 Fem: move handling of PostAutoRecompute to a central class and by default set its value to true 2022-04-07 13:22:13 +02:00
0penBrain
02cb0b8234 Sketcher: restore constraint filter if Multiple dialog is canceled 2022-04-07 12:30:36 +02:00
Chris Hennes
1480c1f594 Addon Manager: Black reformat 2022-04-06 14:30:22 -05:00
Chris Hennes
1ede604cfd Addon Manager: Allow overriding install with missing deps 2022-04-06 14:28:34 -05:00
wmayer
2397883adb Gui: [skip ci] avoid that mouse is stuck after opening Help page with What's This 2022-04-06 18:32:55 +02:00
Yorik van Havre
b5a6970c53 Arch: Added object type to IFC export of 2D annotations 2022-04-06 14:19:03 +02:00
wmayer
adf23ff4ec Tools: [skip ci] allow to build plugin as a top-level project 2022-04-06 13:48:33 +02:00
0penBrain
bd832490e8 Gui: if expression is emptied, pressing Enter discards expression 2022-04-06 13:42:18 +02:00
wmayer
5c342f6e58 Tools: [skip ci] fix linking errors of designer plugin with MSVC 2022-04-06 12:47:28 +02:00
Yorik van Havre
002ba58bad Arch: Fixed IFC import/export of dimensions 2022-04-06 11:35:18 +02:00
mwganson
d41395bbd1 Part: CheckGeometry handle non-ascii characters in object names when generating advanced shape content 2022-04-06 05:08:39 +02:00
wmayer
dc3986ee10 Base: add method isEqual() to Base::Flags<> to simplify comparison 2022-04-05 19:09:14 +02:00
wmayer
c3ec0b7c49 FEM: work around a crash with vtk9 on export of a vtkUnstructuredGrid 2022-04-05 16:27:16 +02:00
sliptonic
670d0922d8 Merge pull request #6712 from mlampert/bugfix/remove-debugging-globals
[PATH] - bugfix/Removed debugging globals
2022-04-05 09:07:42 -05:00
Yorik van Havre
651f6d871f Arch: Fixed IFC import of Rebars 2022-04-05 16:06:22 +02:00
Yorik van Havre
48deb6ae3e Arch: fixed flipped import of IFC texts 2022-04-05 16:06:00 +02:00
Yorik van Havre
ed5ee5655d Arch: Fixed text justify in IFC export 2022-04-05 16:03:46 +02:00
Yorik van Havre
076376e568 Arch: workaround race condition in building part creation 2022-04-05 16:02:44 +02:00
Bernd Waibel
c521a9179b Add option to build and install the designer plugin
The patch adds a cmake option BUILD_DESIGNER_PLUGIN, targeted
mainly at package maintainers to allow an easy build and installation
of the FreeCAD designer plugin.

It has been discussed in
https://forum.freecadweb.org/viewtopic.php?f=10&t=67706

Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2022-04-05 08:08:12 +02:00
Markus Lampert
2b35d19ce4 Removed debugging globals 2022-04-04 21:12:45 -07:00
Uwe
acede8c347 [Gui] Color Gradient: handle case of min = 0
When the minimum is zero, we don't want scientific notation, for example for a range [0, 12.57]
2022-04-05 03:40:10 +02:00
Uwe
b3fb3e4005 [Gui] fix color gradient label format
- large numbers like e.g. stress outputs were not displayed in scientific notation

- also some code style improvements and a fixed typo
2022-04-05 02:42:53 +02:00
wmayer
15c069a7b7 Ext:[skip ci] drop prefix argument from Python code to make sure the absolute path to dist-packages is used.
This allows to set CMAKE_INSTALL_PREFIX to something else than /usr and freecad as Python package is still installed into the correct directory.

For more details see: https://forum.freecadweb.org/viewtopic.php?f=4&t=67750
2022-04-04 18:46:25 +02:00
wmayer
156cf62b8a Tools: [skip ci] replace QtDesigner with QtUiPlugin header to make moc happy on macOS 2022-04-04 17:06:59 +02:00
wmayer
f492a8fac4 Gui: handle number of labels and decimals in the immediate update 2022-04-04 15:27:13 +02:00
wmayer
7d843b250f Gui: more fixes of DlgSettingsColorGradientImp:
* make sure that DlgSettingsColorGradientImp::setRange() generates a valid string according to the validator settings
* change back to QLineEdit::editingFinished because for huge models an immediate update considerably slows down editing
2022-04-04 11:43:43 +02:00
Zheng, Lei
85d3abeb8b Gui: put private class to anonymous namespace 2022-04-04 04:53:52 +02:00
Zheng, Lei
03976ff333 Code change according to suggestion 2022-04-04 04:53:52 +02:00
Zheng, Lei
801ece560e Gui: fix property enumeration editor initialization 2022-04-04 04:53:52 +02:00
Zheng, Lei
1433ff166d Gui: support auto grouping editing for PropertyEnumeration
The PropertyEnumeration editor (PropertyEnumItem) will check for
separator characeter '|' in enumeration items to auto create
hierarchical groups of items using sub-menus for user to select.
2022-04-04 04:53:52 +02:00
wmayer
0b44a6c28d Tools: [skip ci] Use qmake to determine Qt plugin directory 2022-04-04 02:12:13 +02:00
Uwe
2714e682db [Path] manual merge of #6580 2022-04-04 01:42:41 +02:00
Syres916
54eb842c11 [Part] Helix Default Segment Length to 0.0
See https://github.com/FreeCAD/FreeCAD/issues/6559
2022-04-04 00:46:59 +02:00
Chris Hennes
2f703e4627 Addon Manager: Disable pip version check 2022-04-03 16:32:33 -05:00
sliptonic
9a7b411659 Merge pull request #6705 from sliptonic/bug/pocketmode
[Path] fix index error with PocketMode
2022-04-03 09:03:44 -05:00
wmayer
ab2461629c Tools: [skip ci] CMake support of plugin for Qt Designer 2022-04-03 14:32:34 +02:00
wmayer
9b3a50840f Gui: fixes DlgSettingsColorGradientImp:
* handle exception in lambda function if max <= min
* fix regression of 0938c98b6: a validator can be set to only one widget at a time
2022-04-03 10:51:10 +02:00
Adrian
7b2d219c44 [Macros][skip ci] change text of Addons... button to Download to help new people 2022-04-02 23:34:04 -05:00
Chris Hennes
2c6af06fe9 OpenSCAD: Fix difference action bug 2022-04-02 23:29:30 -05:00
wmayer
d666cc4114 App: [skip ci] fix zero-based color model Red-White-Blue 2022-04-03 00:58:51 +02:00
Chris Hennes
66d0c35dc7 Gui: Fix pref pack apply crash (Fixes #6702) 2022-04-02 13:20:01 -05:00
sliptonic
cf867ae96d [Path] fix index error with PocketMode 2022-04-02 12:30:56 -05:00
0penBrain
65822ec2f8 Base: fix quantity construction when unit as string is empty 2022-04-02 18:09:35 +02:00