Yorik van Havre
0680ad5558
Merged crowdin translations
2022-05-05 15:46:09 +02:00
Yorik van Havre
ab5a6d83a1
Updated ts files
2022-05-05 15:20:57 +02:00
wmayer
afebe07514
Part: optimize hasShapesInSelection() by avoiding performing a possibly expensive transformation
...
See also: https://forum.freecadweb.org/viewtopic.php?p=592445#p592445
2022-05-02 17:19:49 +02:00
wmayer
d2253c7be4
Part: in TopoShape::transformGeometry convert OCC exception into Base exception
...
The conversion is needed because TopoShape::transformGeometry reimplements ComplexGeoData::transformGeometry and is called in the core system
2022-04-29 15:37:44 +02:00
wmayer
b22424ee9b
Part: handle exception of makeGTransform in _makeTransform
2022-04-29 15:15:51 +02:00
wmayer
cb7d7d27a2
Part: adjust TopoShape::transformGShape() to reduce code duplication of TopoShape::makeGTransform
...
Revert changes of a96d356afb as otherwise there is no way to handle a failure in client code
2022-04-29 14:57:05 +02:00
wmayer
a96d356afb
Part: handle OCC exception inside TopoShape::makeGTransform
...
For more details about the problems an unhandled exception will cause see: https://forum.freecadweb.org/viewtopic.php?f=3&t=61000
2022-04-27 18:39:55 +02:00
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
marioalexis
1ba78b7e72
Part: Use regex to match names in ViewProviderPartExt::getDetail
2022-04-26 11:58:45 +02:00
marioalexis
22fe0d62fd
Part: Add functions to replace indentical code structure in TopoShapePyImp.cpp
2022-04-23 16:40:48 +02:00
marioalexis
817063290a
Part: Clean up code in TopoShapePyImp.cpp
2022-04-23 16:40:48 +02:00
Yorik van Havre
a4a0d11eca
Merged crowdin translations
2022-04-21 14:18:33 +02:00
wmayer
922ce46506
Gui: add convenience functions to SelectionFilterGate
2022-04-19 15:04:14 +02:00
wmayer
68cf734415
Part: [skip ci] unit tests for PR #6732
2022-04-19 12:25:13 +02:00
mwganson
79cc738786
Part: Cross-section, fix issue with using Links that have been scaled and/or transformed
2022-04-16 02:58:43 +02:00
mwganson
377b88ec37
Part: CheckGeometry -- address issues with using original shape when link has been transformed and/or scaled
2022-04-16 02:57:53 +02:00
mwganson
0ac1309dbe
Part: ruled surface, address issue with link support where link was transformed
2022-04-16 02:57:07 +02:00
mwganson
a55758f0ab
Part: reversed -- fix so it works with App::Links and App::Parts
2022-04-16 02:55:29 +02:00
marioalexis
c01dfad130
Part: Fix getElement method in Python TopoShape class
2022-04-15 17:38:17 +02:00
Yorik van Havre
35bb6278ea
merged crowdin translations
2022-04-13 13:47:06 +02:00
wmayer
17f49bab18
Part: [skip ci] fix computing of face normals in TopoShape::getPoints
2022-04-13 12:51:08 +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
91b5980495
Part: fix typo in App/BRepOffsetAPI_MakeOffsetFix.h [skip ci]
2022-04-10 16:14:48 +02:00
marioalexis
54fbe084dd
Part: Enable reversed method in Python TopoShape class
2022-04-10 11:59:03 +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
mwganson
731ed820b5
Part:Improve support for Links
2022-04-08 17:42:42 +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
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
mwganson
d41395bbd1
Part: CheckGeometry handle non-ascii characters in object names when generating advanced shape content
2022-04-06 05:08:39 +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
Yorik van Havre
cb9dda7084
Merged crowdin translations
2022-03-31 11:41:28 +02:00
Uwe
4408c66ceb
[Part] repair line endings
...
for an unknown reason MSVC complained suddenly about the line endings in this file
2022-03-30 23:48:54 +02:00
Chris Hennes
0a65575c2c
Part: PR6497 move return statement to new line
2022-03-29 12:37:00 -05:00
Chris Hennes
48619ec5cb
Part: PR4556 Step 3: sort QGridLayout by row-col
2022-03-28 10:43:22 -05:00
Uwe
66e4c37a25
fix some occurrences where size() is misused as Boolean
...
- as suggested by @wwmayer: 4d51d1d0b1 (r69648152)
2022-03-27 21:38:15 +02:00
wmayer
2ef7af2ead
Part: include header with export macros
2022-03-24 21:02:01 +01:00
wmayer
97330443a2
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
068c0e5a98
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Yorik van Havre
1dd773e7b3
Translations: Merged crowdin strings
2022-03-23 10:37:50 +01:00
Uwe
fe213a48f0
[Part] remove unused Xerces
2022-03-20 19:37:20 +01:00