wmayer
1ff4ad085c
App: issue #6672 : PartDesign SubShapeBinder: crash and other issues when manually editing Support
...
This change only fixes the crash as described in procedure A at https://github.com/FreeCAD/FreeCAD/issues/6672
2022-04-10 12:18:41 +02:00
marioalexis
54fbe084dd
Part: Enable reversed method in Python TopoShape class
2022-04-10 11:59:03 +02:00
wmayer
aea110ba15
Gui: clean-up Selection API
...
Replace the int of the SubType of SelectionChanges with an enum class.
The meaning of it is nowhere documented and some magic numbers like 0,1,2 are used in several places in the code.
2022-04-09 23:07:02 +02:00
Chris Hennes
0e40b9956e
Addon Manager: Improve bad icon handling
2022-04-09 15:15:13 -05:00
wmayer
d0485c6bef
Gui: add enum class to Selection Python API
2022-04-09 18:03:45 +02:00
Uwe
551df5e614
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2022-04-09 17:04:26 +02:00
Uwe
152a552585
[Part] ExtrusionHelper: polish code after today's fixes
2022-04-09 17:03:58 +02:00
wmayer
9eac35cf5d
Gui: clean-up Selection API
...
Replace the int of the 'resolve' argument of several functions with a proper enum class.
* This avoids the inconsistencies in client code where often true/false is passed when an int is expected
* This avoids the use of magic numbers like 0, 1, 2 or the undocumented 3
2022-04-09 17:03:43 +02:00
wmayer
0571a7f2b2
Part: make sure that new wire has same orientation as old wire as otherwise the offset will be negative
2022-04-09 12:46:27 +02:00
wmayer
731cda3e1a
Part: [skip ci] fix warning: unused parameter 'numEdges' [-Wunused-parameter]
2022-04-09 12:25:51 +02:00
Uwe
539a6bf58d
[Part] extend BRepOffsetAPI_MakeOffsetFix and use it for padding
...
BRepOffsetAPI_MakeOffsetFix provides already a workaround for an OCC bug. To use it for Pad/pocket, only the Init feature has to be added
we take the same implementation like it if for BRepOffsetAPI_MakeOffset
2022-04-09 06:43:46 +02:00
Uwe
7ddf10df45
[skip CI] [App] PropertyLinks: fix line endings
2022-04-09 06:36:43 +02:00
marioalexis84
44a989f3b9
Draft: Make ShapeString editable by double-click - fixes #5885
...
* Draft: Make ShapeString editable - fixes #5885
2022-04-08 17:47:41 +02:00
mwganson
731ed820b5
Part:Improve support for Links
2022-04-08 17:42:42 +02:00
wmayer
6467ecab33
Gui: [skip ci] improve readability of SoFCColorGradient::setRange
2022-04-08 15:17:41 +02:00
wmayer
049d8ae06c
Part: implement persistence methods of all geometry classes and raise exception if needed (but no assert(0))
2022-04-08 11:48:10 +02:00
wmayer
fb1f4433c6
Part: [skip ci] use Py::None()
2022-04-08 10:58:10 +02:00
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