Commit Graph

28684 Commits

Author SHA1 Message Date
wmayer
c5ea25c949 FEM: [skip ci] add missing files to PreCompiled.h 2022-04-12 11:00:54 +02:00
wmayer
8ca3513441 FEM: use an SoJackManip for ViewProviderFemPostPlaneFunction 2022-04-12 10:16:54 +02:00
wmayer
a13e251ad4 Part: issue #6727: Missing B-Spline in STEP file after Part Offset2D 2022-04-11 14:16:29 +02:00
wmayer
3d249e0e67 Part: Add function BRepOffsetAPI_MakeOffsetFix::Replace() to replace unwanted curve type with a B-Spline curve 2022-04-11 14:13:36 +02:00
wmayer
c8c4686543 Part: fixes #6282: exportStep breaking model 2022-04-11 11:58:57 +02:00
wmayer
35913fc695 Part: fixes #6584: Pocket becomes a pad when next object ofter a polar pattern 2022-04-10 23:55:03 +02:00
luz paz
69ac799f58 AddonManager: Add gmsh-dev to ALLOWED_PYTHON_PACKAGES
Fixes https://github.com/KeithSloan/GDML/issues/92
2022-04-10 16:36:39 +02:00
marioalexis
04fe4ef695 Draft: Fix WorkingPlane setup in automatic mode - fixes #6060 2022-04-10 16:17:16 +02:00
luz paz
91b5980495 Part: fix typo in App/BRepOffsetAPI_MakeOffsetFix.h [skip ci] 2022-04-10 16:14:48 +02:00
Zheng, Lei
15c59d6007 App/Gui: Fix auto checking 'Sync sub object' if property link editor
Related FreeCAD/FreeCAD#6672 case C
2022-04-10 14:31:25 +02:00
Zheng, Lei
9242355c8c App: fix PropertyXLinkSubList::getLinks()
Originally getLinks() missed entries without subname/sub-element

Related FreeCAD/FreeCAD#6672 case B
2022-04-10 14:31:25 +02:00
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