Commit Graph

27472 Commits

Author SHA1 Message Date
0penBrain
e8ed31f391 Gui: add parameter switch to optionally stretch 'Description' column of Tree view 2022-04-15 18:22:02 +02:00
marioalexis
8f3f1d1e4c App: Use regex to match names in ComplexGeoData::getSubElementByName 2022-04-15 17:38:17 +02:00
marioalexis
c01dfad130 Part: Fix getElement method in Python TopoShape class 2022-04-15 17:38:17 +02:00
wmayer
aff08fd737 Fem: optimize ViewProviderFemPostObject::WritePointData 2022-04-15 12:24:23 +02:00
wmayer
f00a3f59c4 Fem: add a scale() function to FemPostPipeline 2022-04-15 12:08:47 +02:00
Chris Hennes
e9e04221c4 Addon Manager: Add logging to update process 2022-04-14 12:33:34 -05:00
Yorik van Havre
35bb6278ea merged crowdin translations 2022-04-13 13:47:06 +02:00
Yorik van Havre
d0778faa2c updated ts files 2022-04-13 13:39:31 +02:00
wmayer
2abda1e0a0 Test: [skip ci] add test code of issue #6735 as unit test 2022-04-13 12:59:16 +02:00
wmayer
17f49bab18 Part: [skip ci] fix computing of face normals in TopoShape::getPoints 2022-04-13 12:51:08 +02:00
wmayer
631d36e87c 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
78e1174018 Core: partially revert 4ab37fc 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
0cd6fa3329 [skip CI] [FEM] ViewProviderFemPostFunction: add a comment 2022-04-13 02:44:34 +02:00
wmayer
5ab7d17f67 PD: issue #6641: polar pattern fails 2022-04-12 16:32:54 +02:00
wmayer
1688991391 FEM: automatically detect a suitable scale factor for old project files 2022-04-12 15:24:21 +02:00
wmayer
d1f5bb02fc Gui: [skip ci] reduce duplicated code 2022-04-12 13:55:18 +02:00
wmayer
f630844ad6 Gui: add convenience function View3DInventorViewer::getBoundingBox() 2022-04-12 13:43:58 +02:00
wmayer
3d40a6f0e1 Gui: fix const correctness of Document::getViewOfViewProvider 2022-04-12 13:26:16 +02:00
wmayer
a70d6fd7ec FEM: [skip ci] fix some typos 2022-04-12 11:03:03 +02:00
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