Commit Graph

28706 Commits

Author SHA1 Message Date
0penBrain
b33478f8d0 Sheet: update commands status when selection is changed
Notice it doesn't cover the case of the context menu actions
 Partially fixes #6744
2022-04-15 12:14:55 -05:00
Chris Hennes
e4cd0d650d GUI: Re-add button to object selection
The button was inadvertently lost in a recent PR. This commit adds it back.
2022-04-15 12:03:42 -05:00
Roy
f0fd363617 Draft: Update draft_test_objects.FCStd file 2022-04-15 18:38:20 +02:00
0penBrain
d7c3692cdb Gui: add parameter switch to optionally stretch 'Description' column of Tree view 2022-04-15 18:22:02 +02:00
marioalexis
97e0d63750 App: Use regex to match names in ComplexGeoData::getSubElementByName 2022-04-15 17:38:17 +02:00
marioalexis
3d434ec4b7 Part: Fix getElement method in Python TopoShape class 2022-04-15 17:38:17 +02:00
wmayer
61234c2678 Fem: optimize ViewProviderFemPostObject::WritePointData 2022-04-15 12:24:23 +02:00
wmayer
e6a462689d Fem: add a scale() function to FemPostPipeline 2022-04-15 12:08:47 +02:00
Chris Hennes
4da89f340d Addon Manager: Add logging to update process 2022-04-14 12:33:34 -05:00
Yorik van Havre
914069ded4 merged crowdin translations 2022-04-13 13:47:06 +02:00
Yorik van Havre
5902ce753e updated ts files 2022-04-13 13:39:31 +02:00
wmayer
0cfb853549 Test: [skip ci] add test code of issue #6735 as unit test 2022-04-13 12:59:16 +02:00
wmayer
59eabaf9bb Part: [skip ci] fix computing of face normals in TopoShape::getPoints 2022-04-13 12:51:08 +02:00
wmayer
2040b66f17 App: [skip ci] fix bug in ComplexGeoDataPy::getPoints
The normals were added to the wrong list
2022-04-13 11:23:15 +02:00
0penBrain
6182059a0f Core: partially revert 83233a7 that introduced composed units
Parser shall only deal with atomic units or it breaks other composed units
 Fixes #6735
2022-04-13 03:45:39 +02:00
Uwe
6f449fbc12 [skip CI] [FEM] ViewProviderFemPostFunction: add a comment 2022-04-13 02:44:34 +02:00
wmayer
d4aed4c6bd PD: issue #6641: polar pattern fails 2022-04-12 16:32:54 +02:00
wmayer
7261798eae FEM: automatically detect a suitable scale factor for old project files 2022-04-12 15:24:21 +02:00
wmayer
f9ae829b3c Gui: [skip ci] reduce duplicated code 2022-04-12 13:55:18 +02:00
wmayer
0082a80148 Gui: add convenience function View3DInventorViewer::getBoundingBox() 2022-04-12 13:43:58 +02:00
wmayer
54efa2afcd Gui: fix const correctness of Document::getViewOfViewProvider 2022-04-12 13:26:16 +02:00
wmayer
8da621e220 FEM: [skip ci] fix some typos 2022-04-12 11:03:03 +02:00
wmayer
dd2d3bcbc8 FEM: [skip ci] add missing files to PreCompiled.h 2022-04-12 11:00:54 +02:00
wmayer
7c400f114d FEM: use an SoJackManip for ViewProviderFemPostPlaneFunction 2022-04-12 10:16:54 +02:00
wmayer
10afc60497 Part: issue #6727: Missing B-Spline in STEP file after Part Offset2D 2022-04-11 14:16:29 +02:00
wmayer
60442c2712 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
ef5d7fa64e Part: fixes #6282: exportStep breaking model 2022-04-11 11:58:57 +02:00
wmayer
cc2f815b4f Part: fixes #6584: Pocket becomes a pad when next object ofter a polar pattern 2022-04-10 23:55:03 +02:00
luz paz
7b9b156e1b 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
a18b00bc7e Draft: Fix WorkingPlane setup in automatic mode - fixes #6060 2022-04-10 16:17:16 +02:00
luz paz
5f9f0357d8 Part: fix typo in App/BRepOffsetAPI_MakeOffsetFix.h [skip ci] 2022-04-10 16:14:48 +02:00
Zheng, Lei
f0e46ff71c 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
236de5904d 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
f8e69b3e64 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
0d6e8eed5a Part: Enable reversed method in Python TopoShape class 2022-04-10 11:59:03 +02:00
wmayer
c84c2fb6eb 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
27196375b4 Addon Manager: Improve bad icon handling 2022-04-09 15:15:13 -05:00
wmayer
6f2167e0f2 Gui: add enum class to Selection Python API 2022-04-09 18:03:45 +02:00
Uwe
6a48e68e76 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2022-04-09 17:04:26 +02:00
Uwe
821d071d02 [Part] ExtrusionHelper: polish code after today's fixes 2022-04-09 17:03:58 +02:00
wmayer
0b2c73cf32 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
2d266a75cd 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
19144a25dd Part: [skip ci] fix warning: unused parameter 'numEdges' [-Wunused-parameter] 2022-04-09 12:25:51 +02:00
Uwe
ead05ae30e [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
2cea4dc1b8 [skip CI] [App] PropertyLinks: fix line endings 2022-04-09 06:36:43 +02:00
marioalexis84
aa2ebb9601 Draft: Make ShapeString editable by double-click - fixes #5885
* Draft: Make ShapeString editable - fixes #5885
2022-04-08 17:47:41 +02:00
mwganson
929c89f700 Part:Improve support for Links 2022-04-08 17:42:42 +02:00
wmayer
db2236fe22 Gui: [skip ci] improve readability of SoFCColorGradient::setRange 2022-04-08 15:17:41 +02:00
wmayer
33cdb8c640 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
3696d89592 Part: [skip ci] use Py::None() 2022-04-08 10:58:10 +02:00